瀏覽代碼

提交修改

olym 7 年之前
父節點
當前提交
2e0510b05a
共有 2 個文件被更改,包括 5 次插入2 次删除
  1. 1 1
      .gitignore
  2. 4 1
      package.json

+ 1 - 1
.gitignore

@@ -6,4 +6,4 @@ coverage/
 run/
 .DS_Store
 *.swp
-
+package-lock.json

+ 4 - 1
package.json

@@ -36,10 +36,13 @@
     "dev": "egg-bin dev --port 7002",
     "test": "npm run lint -- --fix && npm run test-local",
     "test-local": "egg-bin test",
+    "test-qa": "set EGG_SERVER_ENV=qa&egg-bin test",
     "cov": "egg-bin cov",
     "lint": "eslint .",
     "ci": "npm run lint && npm run cov",
-    "autod": "autod"
+    "autod": "autod",
+    "qa": "set EGG_SERVER_ENV=qa&npm run dev",
+    "local": "set EGG_SERVER_ENV=local&npm run dev"
   },
   "ci": {
     "version": "6, 8"