Commit 25cbf1bc authored by 薛智杰's avatar 薛智杰

feat: test 需要先跑 tsc

parent d63cfa7b
...@@ -5,7 +5,7 @@ ...@@ -5,7 +5,7 @@
"scripts": { "scripts": {
"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": "npm run tsc && 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", "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",
......
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