Update scripts

pull/73/head
MillenniumEarl 2021-02-16 10:44:36 +01:00
parent 53ff8f3c0e
commit 82b85a01d2
2 changed files with 5 additions and 4 deletions

4
.vscode/launch.json vendored
View File

@ -9,9 +9,9 @@
},
{
"type": "node-terminal",
"name": "Compile",
"name": "Devtest",
"request": "launch",
"command": "npm run compile",
"command": "npm run run-devtest",
"cwd": "${workspaceFolder}"
}
]

View File

@ -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"