Add test script
parent
03cd1494d3
commit
e62c23b253
|
@ -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"
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in New Issue