From 5c8384fd824e145dfe3edaa7fc11b13fe6f858b0 Mon Sep 17 00:00:00 2001 From: Robbie Antenesse Date: Sun, 9 Jun 2019 13:05:08 -0600 Subject: [PATCH] Correctly clear dist and cache with npm scripts --- package.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index f9cfe8d..b87275f 100644 --- a/package.json +++ b/package.json @@ -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",