Add pretest and prepublish script

This commit is contained in:
Brian M. Carlson 2019-12-27 03:39:56 +00:00
parent 3278dced6e
commit 01e0644b99

View File

@ -15,7 +15,9 @@
"ts-node": "^8.5.4" "ts-node": "^8.5.4"
}, },
"scripts": { "scripts": {
"test": "mocha -r ts-node/register src/**/*.test.ts" "test": "mocha dist/**/*.test.js",
"prepublish": "tsc",
"pretest": "tsc"
}, },
"dependencies": {} "dependencies": {}
} }