Browse Source

修改打包命令

limengbo 5 years ago
parent
commit
c60ca7cb10
1 changed files with 2 additions and 2 deletions
  1. 2 2
      package.json

+ 2 - 2
package.json

@@ -6,8 +6,8 @@
   "license": "MIT",
   "scripts": {
     "dev": "vue-cli-service serve",
-    "build:prod": "vue-cli-service build",
-    "build:stage": "vue-cli-service build --mode staging",
+    "build-prod": "vue-cli-service build",
+    "build": "vue-cli-service build --mode staging",
     "preview": "node build/index.js --preview",
     "lint": "eslint --ext .js,.vue src",
     "test:unit": "jest --clearCache && vue-cli-service test:unit",