|
@@ -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"
|