Add test script

pull/77/head
MillenniumEarl 2021-03-08 11:51:50 +01:00
parent 03cd1494d3
commit e62c23b253
1 changed files with 1 additions and 0 deletions

View File

@ -27,6 +27,7 @@
"prettier-format": "prettier --config .prettierrc '**/*.ts' --write", "prettier-format": "prettier --config .prettierrc '**/*.ts' --write",
"ts:compile": "tsc", "ts:compile": "tsc",
"ts:definitions": "tsc --declaration --outDir . --emitDeclarationOnly", "ts:definitions": "tsc --declaration --outDir . --emitDeclarationOnly",
"tests": "mocha --require ts-node/register test/**/*.ts",
"publish": "npm publish", "publish": "npm publish",
"run-example": "npm run ts:compile && node ./dist/example.js" "run-example": "npm run ts:compile && node ./dist/example.js"
}, },