fix: added clean step to build process

This commit is contained in:
StevanFreeborn
2023-02-04 00:02:39 -06:00
parent fba62f8578
commit 3af7368e44
+2 -1
View File
@@ -5,11 +5,12 @@
"main": "dist/index.js",
"types": "dist/index.d.ts",
"scripts": {
"clean": "rimraf dist",
"lint": "eslint --ignore-path .eslintignore --ext .js,.ts .",
"lint-fix": "eslint --fix --ignore-path .eslintignore --ext .js,.ts . --max-warnings=0",
"format-staged": "pretty-quick --staged",
"format": "pretty-quick",
"build": "npm run tests && npm run format && tsc",
"build": "npm run lint-fix && npm run tests && npm run format && npm run clean && tsc",
"tests": "mocha -R progress -r ts-node/register ./tests/**/*.spec.ts",
"test": "mocha -r ts-node/register",
"test-coverage": "nyc npm run tests",