瀏覽代碼

added cache clean script

tigger 1 年之前
父節點
當前提交
1cc49b6a09
共有 1 個文件被更改,包括 2 次插入1 次删除
  1. 2 1
      package.json

+ 2 - 1
package.json

@@ -8,7 +8,8 @@
     "build:next": "ng build --base-href /next/ --aot --delete-output-path",
     "build:prod": "ng build --configuration production --output-path dist/rc --aot --delete-output-path",
     "watch": "ng build --watch --configuration development",
-    "test": "ng test"
+    "test": "ng test",
+    "clean": "ng cache clean && npm cache clean --force"
   },
   "private": true,
   "dependencies": {