Correctly clear dist and cache with npm scripts

This commit is contained in:
Robbie Antenesse 2019-06-09 13:05:08 -06:00 committed by Robbie Antenesse
parent a3b9a0a934
commit 3f690383f8
1 changed files with 2 additions and 2 deletions

View File

@ -16,8 +16,8 @@
"copy-php": "cpx \"src/php/**/{*,.*}\" dist", "copy-php": "cpx \"src/php/**/{*,.*}\" dist",
"serve-frontend-only": "parcel template-index.html", "serve-frontend-only": "parcel template-index.html",
"clear": "npm run clear-dist && npm run clear-cache", "clear": "npm run clear-dist && npm run clear-cache",
"clear-dist": "rimraf dist/*", "clear-dist": "rimraf dist/{*,.*}",
"clear-cache": "rimraf .cache/*" "clear-cache": "rimraf .cache/{*,.*}"
}, },
"devDependencies": { "devDependencies": {
"autoprefixer": "^9.5.1", "autoprefixer": "^9.5.1",