Correctly clear dist and cache with npm scripts
This commit is contained in:
parent
feb6c3e88a
commit
c3bfe1531a
|
@ -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",
|
||||||
|
|
Loading…
Reference in New Issue