diff --git a/.vscode/launch.json b/.vscode/launch.json index 62e8985..157fccd 100644 --- a/.vscode/launch.json +++ b/.vscode/launch.json @@ -9,9 +9,9 @@ }, { "type": "node-terminal", - "name": "Compile", + "name": "Devtest", "request": "launch", - "command": "npm run compile", + "command": "npm run run-devtest", "cwd": "${workspaceFolder}" } ] diff --git a/package.json b/package.json index d341262..344c50d 100644 --- a/package.json +++ b/package.json @@ -25,9 +25,10 @@ "scripts": { "test": "nyc --reporter=text mocha './test/index-test.ts'", "report-coverage": "nyc report --reporter=text-lcov > coverage.lcov && codecov -t 38ad72bf-a29d-4c2e-9827-96cbe037afd2", - "run-example": "tsc | node ./dist/example.ts", + "run-example": "node ./dist/example.ts", "publish": "npm publish", - "compile": "tsc | node ./dist/test.js" + "compile": "tsc", + "run-devtest": "node ./dist/test.js" }, "engines": { "node": ">=10.0"