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 feb6c3e88a
commit c3bfe1531a
1 changed files with 2 additions and 2 deletions

View File

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