fix: add test and format to build script

This commit is contained in:
StevanFreeborn
2023-02-01 23:58:27 -06:00
parent 0580ce5cca
commit 88bf080847
+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",