Commit 4344246b authored by 郭志伟's avatar 郭志伟

build: 调整启动命令

parent faa8a4db
......@@ -3,7 +3,7 @@
"version": "1.0.0",
"description": "低代码平台",
"scripts": {
"start": "cross-env NODE_ENV=productionegg-scripts start --port 9050 --workers 1",
"start": "cross-env NODE_ENV=production egg-scripts start --port 9050 --workers 1",
"start:pre": "cross-env NODE_ENV=production egg-scripts start --port 9050 --workers 1",
"test": "cross-env NODE_ENV=production EGG_SERVER_ENV=sit egg-scripts start --port 80 --workers 1",
"stop": "egg-scripts stop",
......@@ -13,7 +13,7 @@
"apollo": "node bin/apollo.js",
"build": "cross-env NODE_ENV=production APOLLO_CLUSTER=3C npm run apollo && cross-env COS_ENV=production easy build --devtool",
"build:test": "cross-env NODE_ENV=production APOLLO_CLUSTER=k8s npm run apollo && cross-env COS_ENV=production easy build --devtool",
"build:pre": "cross-env NODE_ENV=production APOLLO_CLUSTER=3PRE npm run apollo && cross-env COS_ENV=production easy build --devtool",
"build:pre": "cross-env NODE_ENV=production APOLLO_CLUSTER=3PRE npm run apollo && cross-env COS_ENV=test easy build --devtool",
"tsc": "ets && tsc -p tsconfig.json",
"clean": "ets clean",
"kill": "easy kill",
......
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