Merge branch 'yll-0109' into 'master'
代码格式化校验 See merge request !84
Showing
.cz-config.js
0 → 100644
.husky/commit-msg
0 → 100644
.husky/pre-commit
0 → 100644
.prettierrc
0 → 100644
... | @@ -5,7 +5,8 @@ | ... | @@ -5,7 +5,8 @@ |
"scripts": { | "scripts": { | ||
"serve": "vue-cli-service serve --mode development", | "serve": "vue-cli-service serve --mode development", | ||
"build": "vue-cli-service build --mode production --report", | "build": "vue-cli-service build --mode production --report", | ||
"lint": "vue-cli-service lint" | "lint": "vue-cli-service lint", | ||
"prepare": "husky install" | |||
}, | }, | ||
"dependencies": { | "dependencies": { | ||
"ant-design-vue": "^1.7.8", | "ant-design-vue": "^1.7.8", | ||
... | @@ -15,6 +16,7 @@ | ... | @@ -15,6 +16,7 @@ |
"big.js": "^6.2.1", | "big.js": "^6.2.1", | ||
"core-js": "^3.6.5", | "core-js": "^3.6.5", | ||
"gm-crypt": "^0.0.2", | "gm-crypt": "^0.0.2", | ||
"husky": "^7.0.1", | |||
"lodash": "^4.17.21", | "lodash": "^4.17.21", | ||
"lodash-webpack-plugin": "^0.11.6", | "lodash-webpack-plugin": "^0.11.6", | ||
"moment": "^2.29.1", | "moment": "^2.29.1", | ||
... | @@ -23,9 +25,12 @@ | ... | @@ -23,9 +25,12 @@ |
"vue": "^2.6.11", | "vue": "^2.6.11", | ||
"vue-router": "^3.2.0", | "vue-router": "^3.2.0", | ||
"vuex": "^3.4.0", | "vuex": "^3.4.0", | ||
"vuex-persistedstate": "^4.1.0" | "vuex-persistedstate": "^4.1.0", | ||
"yorkie": "^2.0.0" | |||
}, | }, | ||
"devDependencies": { | "devDependencies": { | ||
"@commitlint/cli": "^12.1.4", | |||
"@commitlint/config-conventional": "^12.1.4", | |||
"@vue/cli-plugin-babel": "~4.5.0", | "@vue/cli-plugin-babel": "~4.5.0", | ||
"@vue/cli-plugin-eslint": "~4.5.0", | "@vue/cli-plugin-eslint": "~4.5.0", | ||
"@vue/cli-plugin-router": "~4.5.0", | "@vue/cli-plugin-router": "~4.5.0", | ||
... | @@ -34,14 +39,39 @@ | ... | @@ -34,14 +39,39 @@ |
"@vue/eslint-config-prettier": "^6.0.0", | "@vue/eslint-config-prettier": "^6.0.0", | ||
"babel-eslint": "^10.1.0", | "babel-eslint": "^10.1.0", | ||
"compression-webpack-plugin": "^6.1.1", | "compression-webpack-plugin": "^6.1.1", | ||
"cz-customizable": "^6.3.0", | |||
"eslint": "^6.7.2", | "eslint": "^6.7.2", | ||
"eslint-plugin-prettier": "^3.3.1", | "eslint-plugin-prettier": "^3.3.1", | ||
"eslint-plugin-vue": "^6.2.2", | "eslint-plugin-vue": "^6.2.2", | ||
"husky": "^7.0.1", | |||
"lint-staged": "^9.5.0", | |||
"less": "^3.0.4", | "less": "^3.0.4", | ||
"less-loader": "^5.0.0", | "less-loader": "^5.0.0", | ||
"prettier": "^2.2.1", | "prettier": "^2.2.1", | ||
"style-resources-loader": "^1.5.0", | "style-resources-loader": "^1.5.0", | ||
"vue-cli-plugin-style-resources-loader": "^0.1.5", | "vue-cli-plugin-style-resources-loader": "^0.1.5", | ||
"vue-template-compiler": "^2.6.11" | "vue-template-compiler": "^2.6.11" | ||
}, | |||
"gitHooks": { | |||
"pre-commit": "lint-staged" | |||
}, | |||
"lint-staged": { | |||
"src/**/*.{js,vue}": [ | |||
"eslint --fix", | |||
"git add" | |||
] | |||
}, | |||
"config": { | |||
"commitizen": { | |||
"path": "node_modules/cz-customizable" | |||
} | |||
}, | |||
"husky": { | |||
"hooks": { | |||
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS" | |||
} | |||
}, | |||
"engines": { | |||
"node": "16.14.0" | |||
} | } | ||
} | } |
yarn.lock
deleted
100644 → 0
This source diff could not be displayed because it is too large. You can view the blob instead.
Please register or sign in to comment