fix: add test and format to build script

This commit is contained in:
StevanFreeborn committed 2023-02-01 23:58:27 -06:00
1 parent 0580ce5cca
commit 88bf080847
1 file changed
+3 -2
+3 -2
View File
@@ -5,8 +5,9 @@
"main": "dist/index.js",
"types": "dist/index.d.ts",
"scripts": {
"format": "pretty-quick --staged",
"build": "npm run tests && tsc",
"format-staged": "pretty-quick --staged",
"format": "pretty-quick",
"build": "npm run tests && npm run format && tsc",
"tests": "mocha -R progress -r ts-node/register ./tests/**/*.spec.ts",
"test": "mocha -r ts-node/register",
"test-coverage": "nyc npm run tests",