Commit 7f44c5f3 authored by 薛智杰's avatar 薛智杰

feat: 增加调试命令

parent f0e6eec5
...@@ -6,6 +6,7 @@ ...@@ -6,6 +6,7 @@
"start": "cross-env NODE_ENV=production egg-scripts start --port 9052 --workers 1", "start": "cross-env NODE_ENV=production egg-scripts start --port 9052 --workers 1",
"start:pre": "cross-env NODE_ENV=production egg-scripts start --port 9052 --workers 1", "start:pre": "cross-env NODE_ENV=production egg-scripts start --port 9052 --workers 1",
"test": "cross-env NODE_ENV=production EGG_SERVER_ENV=sit egg-scripts start --port 80 --workers 1", "test": "cross-env NODE_ENV=production EGG_SERVER_ENV=sit egg-scripts start --port 80 --workers 1",
"test2": "cross-env NODE_ENV=production EGG_SERVER_ENV=sit egg-scripts start --port 9000 --workers 1",
"stop": "egg-scripts stop", "stop": "egg-scripts stop",
"backend": "nohup egg-scripts start --port 7001 --workers 4", "backend": "nohup egg-scripts start --port 7001 --workers 4",
"dev": "cross-env NODE_ENV=test APOLLO_CLUSTER=k8s NAMESPACE=test1 npm run apollo && egg-bin dev -r egg-ts-helper/register --port 7002", "dev": "cross-env NODE_ENV=test APOLLO_CLUSTER=k8s NAMESPACE=test1 npm run apollo && egg-bin dev -r egg-ts-helper/register --port 7002",
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment