chore(package): add clean script
This commit is contained in:
parent
e054eec555
commit
6ddfd909f0
@ -158,12 +158,15 @@
|
|||||||
"benchmarks": "./tools/run-benchmarks.js 'src/**/*.bench.js'",
|
"benchmarks": "./tools/run-benchmarks.js 'src/**/*.bench.js'",
|
||||||
"build": "npm run build-indexes && NODE_ENV=production gulp build",
|
"build": "npm run build-indexes && NODE_ENV=production gulp build",
|
||||||
"build-indexes": "index-modules --auto src",
|
"build-indexes": "index-modules --auto src",
|
||||||
|
"clean": "gulp clean",
|
||||||
"dev": "npm run build-indexes && NODE_ENV=development gulp build",
|
"dev": "npm run build-indexes && NODE_ENV=development gulp build",
|
||||||
"dev-test": "jest --watch",
|
"dev-test": "jest --watch",
|
||||||
"lint-staged-stash": "touch .lint-staged && git stash save --include-untracked --keep-index && true",
|
"lint-staged-stash": "touch .lint-staged && git stash save --include-untracked --keep-index && true",
|
||||||
"lint-staged-unstash": "git stash pop && rm -f .lint-staged && true",
|
"lint-staged-unstash": "git stash pop && rm -f .lint-staged && true",
|
||||||
"posttest": "eslint --ignore-path .gitignore src/",
|
"posttest": "eslint --ignore-path .gitignore src/",
|
||||||
|
"prebuild": "npm run clean",
|
||||||
"precommit": "lint-staged",
|
"precommit": "lint-staged",
|
||||||
|
"predev": "npm run clean",
|
||||||
"prepublishOnly": "npm run build",
|
"prepublishOnly": "npm run build",
|
||||||
"test": "jest"
|
"test": "jest"
|
||||||
},
|
},
|
||||||
|
Loading…
Reference in New Issue
Block a user