Merge branch 'feature/tenant' into 'master'
Feature/tenant See merge request !59
Showing
commitlint.config.js
0 → 100644
This source diff could not be displayed because it is too large. You can view the blob instead.
| ... | ... | @@ -4,13 +4,15 @@ |
| "description": "低代码平台", | ||
| "scripts": { | ||
| "start": "cross-env NODE_ENV=production APOLLO_CLUSTER=3C egg-scripts start --port 9050", | ||
| "start:pre": "cross-env NODE_ENV=production APOLLO_CLUSTER=3PRE egg-scripts start --port 9050", | ||
| "test": "cross-env NODE_ENV=production EGG_SERVER_ENV=sit DEBUG=apollo APOLLO_CLUSTER=k8s NAMESPACE=qa2 egg-scripts start --port 80 --workers 1", | ||
| "stop": "egg-scripts stop", | ||
| "backend": "nohup egg-scripts start --port 7001 --workers 4", | ||
| "dev": "egg-bin dev -r egg-ts-helper/register", | ||
| "debug": "egg-bin debug -r egg-ts-helper/register", | ||
| "apollo": "node bin/apollo.js", | ||
| "build": "npm run apollo && cross-env COS_ENV=production easy build --devtool", | ||
| "build": "cross-env NODE_ENV=production APOLLO_CLUSTER=3C 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:test": "cross-env COS_ENV=test easy build --devtool", | ||
| "tsc": "ets && tsc -p tsconfig.json", | ||
| "clean": "ets clean", | ||
| ... | ... | @@ -24,7 +26,7 @@ |
| "@better-scroll/core": "^2.0.5", | ||
| "@qg/apollo-nodejs": "^2.1.2", | ||
| "@qg/cherry-ui": "2.23.10", | ||
| "@qg/citrus-ui": "0.3.16-bata2", | ||
| "@qg/citrus-ui": "0.3.22", | ||
| "@qg/js-bridge": "^1.1.12", | ||
| "babel-plugin-transform-vue-jsx": "^4.0.1", | ||
| "cos-nodejs-sdk-v5": "^2.9.12", | ||
| ... | ... | @@ -65,7 +67,11 @@ |
| "tslint-eslint-rules": "^5.4.0", | ||
| "tslint-loader": "^3.5.3", | ||
| "typescript": "^3.9.2", | ||
| "webpack-sentry-plugin": "^2.0.3" | ||
| "webpack-sentry-plugin": "^2.0.3", | ||
| "husky": "^4.2.5", | ||
| "lint-staged": "^10.2.11", | ||
| "@commitlint/cli": "^13.2.1", | ||
| "@commitlint/config-angular": "^13.2.0" | ||
| }, | ||
| "egg": { | ||
| "typescript": true | ||
| ... | ... | @@ -87,5 +93,17 @@ |
| "commitizen": { | ||
| "path": "./node_modules/cz-conventional-changelog" | ||
| } | ||
| }, | ||
| "lint-staged": { | ||
| "src/**/*.{js,vue}": [ | ||
| "tslint --fix --project . -c tslint.json 'app/web/**/*{.ts}'", | ||
| "git add" | ||
| ] | ||
| }, | ||
| "husky": { | ||
| "hooks": { | ||
| "pre-commit": "lint-staged", | ||
| "commit-msg": "commitlint -e $HUSKY_GIT_PARAMS" | ||
| } | ||
| } | ||
| } |
start-pre.sh
0 → 100755
start.sh
0 → 100755
stop.sh
0 → 100755
Please register or sign in to comment