Auto-purge node cache

This commit is contained in:
Tony Air 2020-02-25 13:51:04 +07:00
parent c88da3d9b0
commit d0a49c0aa0

View File

@ -20,7 +20,10 @@
"lint:check": "eslint ./app/client/src --config .eslintrc && sass-lint ./app/client/src --config .sasslintrc -v -q",
"lint:fix": "eslint ./app/client/src --config .eslintrc --fix && sass-lint ./app/client/src --config .sasslintrc -v -q --fix",
"lint:js": "eslint ./app/client/src --config .eslintrc",
"lint:sass": "sass-lint ./app/client/src --config .sasslintrc -v -q"
"lint:sass": "sass-lint ./app/client/src --config .sasslintrc -v -q",
"prunecaches": "rimraf ./node_modules/.cache/",
"postinstall": "npm run prunecaches",
"postuninstall": "npm run prunecaches"
},
"browserslist": [
"defaults",