olym 7 éve
szülő
commit
2e0510b05a
2 módosított fájl, 5 hozzáadás és 2 törlés
  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"