fix: add test and format to build script
This commit is contained in:
+3
-2
@@ -5,8 +5,9 @@
|
|||||||
"main": "dist/index.js",
|
"main": "dist/index.js",
|
||||||
"types": "dist/index.d.ts",
|
"types": "dist/index.d.ts",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"format": "pretty-quick --staged",
|
"format-staged": "pretty-quick --staged",
|
||||||
"build": "npm run tests && tsc",
|
"format": "pretty-quick",
|
||||||
|
"build": "npm run tests && npm run format && tsc",
|
||||||
"tests": "mocha -R progress -r ts-node/register ./tests/**/*.spec.ts",
|
"tests": "mocha -R progress -r ts-node/register ./tests/**/*.spec.ts",
|
||||||
"test": "mocha -r ts-node/register",
|
"test": "mocha -r ts-node/register",
|
||||||
"test-coverage": "nyc npm run tests",
|
"test-coverage": "nyc npm run tests",
|
||||||
|
|||||||
Reference in New Issue
Block a user