Commit 3363d736 authored by 郭志伟's avatar 郭志伟

build(ui): 升级组件库

parent 012e6455
module.exports = {
extends: ['@commitlint/config-angular'],
};
This source diff could not be displayed because it is too large. You can view the blob instead.
......@@ -26,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.18-beta0",
"@qg/citrus-ui": "0.3.18-beta1",
"@qg/js-bridge": "^1.1.12",
"babel-plugin-transform-vue-jsx": "^4.0.1",
"cos-nodejs-sdk-v5": "^2.9.12",
......@@ -67,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
......@@ -89,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"
}
}
}
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