feat(appllo): 接入apollo
Showing
| ... | @@ -3,11 +3,11 @@ | ... | @@ -3,11 +3,11 @@ |
| "version": "0.0.1", | "version": "0.0.1", | ||
| "description": "低代码平台", | "description": "低代码平台", | ||
| "scripts": { | "scripts": { | ||
| "start": "egg-scripts start --port 9050 --workers 1", | "start": "cross-env APOLLO_CLUSTER=3C egg-scripts start --port 9050 --workers 1", | ||
| "test": "egg-scripts start --port 80 --workers 1", | "test": "cross-env DEBUG=apollo NODE_ENV=qa APOLLO_CLUSTER=k8s NAMESPACE=qa2 egg-scripts start --port 80 --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": "egg-bin dev -r egg-ts-helper/register", | "dev": "cross-env DEBUG=apollo NODE_ENV=local APOLLO_CLUSTER=k8s NAMESPACE=qa2 egg-bin dev -r egg-ts-helper/register", | ||
| "debug": "egg-bin debug -r egg-ts-helper/register", | "debug": "egg-bin debug -r egg-ts-helper/register", | ||
| "build": "easy build --devtool", | "build": "easy build --devtool", | ||
| "tsc": "ets && tsc -p tsconfig.json", | "tsc": "ets && tsc -p tsconfig.json", | ||
| ... | @@ -32,6 +32,7 @@ | ... | @@ -32,6 +32,7 @@ |
| "@types/validator": "^4.5.26", | "@types/validator": "^4.5.26", | ||
| "axios": "^0.21.1", | "axios": "^0.21.1", | ||
| "babel-plugin-transform-vue-jsx": "^4.0.1", | "babel-plugin-transform-vue-jsx": "^4.0.1", | ||
| "cross-env": "^7.0.3", | |||
| "cz-conventional-changelog": "^2.1.0", | "cz-conventional-changelog": "^2.1.0", | ||
| "egg": "^2.3.0", | "egg": "^2.3.0", | ||
| "egg-bin": "^4.9.0", | "egg-bin": "^4.9.0", | ||
| ... | ... |
Please register or sign in to comment