提交代码规范
Showing
commitlint.config.js
0 → 100644
lint-staged.config.js
0 → 100644
This diff is collapsed.
{ | { | ||
"name": "jiaxu.yan", | "name": "jiaxu.yan", | ||
"version": "0.0.1", | "version": "0.0.1", | ||
"description": "中汽研安全检测平台管理系统", | "description": "中汽研安全检测平台管理系统", | ||
"author": "中汽研安全检测平台", | "author": "中汽研安全检测平台", | ||
"license": "MIT", | "scripts": { | ||
"scripts": { | "lint": "eslint src/**/* --ext .js,.vue", | ||
"dev": "vue-cli-service serve", | "build:prod": "vue-cli-service build", | ||
"build:prod": "vue-cli-service build", | "build:stage": "vue-cli-service build --mode staging", | ||
"build:stage": "vue-cli-service build --mode staging", | "cz": "npm run log && git add . && git cz", | ||
"preview": "node build/index.js --preview", | "dev": "vue-cli-service serve", | ||
"prepare": "husky install && husky install", | "log": "conventional-changelog --config ./node_modules/vue-cli-plugin-commitlint/lib/log -i CHANGELOG.md -s -r 0", | ||
"spellcheck": "cspell lint --dot --gitignore --color --cache --show-suggestions \"src/**/*.@(html|js|cjs|mjs|ts|tsx|css|scss|md|vue)\"", | "preview": "node build/index.js --preview", | ||
"lint": "eslint --ext .js,.vue src" | "spellcheck": "cspell lint --dot --gitignore --color --cache --show-suggestions \"src/**/*.@(html|js|cjs|mjs|ts|tsx|css|scss|md|vue)\"" | ||
}, | }, | ||
"husky": { | "dependencies": { | ||
"hooks": { | "@riophae/vue-treeselect": "0.4.0", | ||
"pre-commit": "lint-staged" | "axios": "0.24.0", | ||
} | "clipboard": "2.0.8", | ||
}, | "core-js": "3.25.3", | ||
"lint-staged": { | "cspell": "^8.1.3", | ||
"src/**/*.{js,vue}": [ | "echarts": "5.4.0", | ||
"eslint --fix", | "element-ui": "2.15.13", | ||
"git add" | "file-saver": "2.0.5", | ||
] | "fuse.js": "6.4.3", | ||
}, | "highlight.js": "9.18.5", | ||
"keywords": [ | "js-beautify": "1.13.0", | ||
"vue", | "js-cookie": "3.0.1", | ||
"admin", | "jsencrypt": "3.0.0-rc.1", | ||
"dashboard", | "nprogress": "0.2.0", | ||
"element-ui", | "quill": "1.3.7", | ||
"boilerplate", | "screenfull": "5.0.2", | ||
"admin-template", | "sortablejs": "1.10.2", | ||
"management-system" | "vue": "2.6.12", | ||
], | "vue-count-to": "1.0.13", | ||
"repository": { | "vue-cropper": "0.5.5", | ||
"type": "git", | "vue-meta": "2.4.0", | ||
"url": "https://gitee.com/y_project/RuoYi-Vue.git" | "vue-router": "3.4.9", | ||
}, | "vuedraggable": "2.24.3", | ||
"dependencies": { | "vuex": "3.6.0" | ||
"@riophae/vue-treeselect": "0.4.0", | }, | ||
"axios": "0.24.0", | "devDependencies": { | ||
"clipboard": "2.0.8", | "@vue/cli-plugin-babel": "4.4.6", | ||
"core-js": "3.25.3", | "@vue/cli-plugin-eslint": "4.4.6", | ||
"cspell": "^8.1.3", | "@vue/cli-service": "4.4.6", | ||
"echarts": "5.4.0", | "babel-eslint": "10.1.0", | ||
"element-ui": "2.15.13", | "babel-plugin-dynamic-import-node": "2.3.3", | ||
"file-saver": "2.0.5", | "chalk": "4.1.0", | ||
"fuse.js": "6.4.3", | "commitizen": "^4.0.3", | ||
"highlight.js": "9.18.5", | "commitlint": "^8.2.0", | ||
"husky": "^8.0.3", | "compression-webpack-plugin": "5.0.2", | ||
"js-beautify": "1.13.0", | "connect": "3.6.6", | ||
"js-cookie": "3.0.1", | "conventional-changelog-cli": "^2.0.28", | ||
"jsencrypt": "3.0.0-rc.1", | "eslint-config-prettier": "^9.1.0", | ||
"nprogress": "0.2.0", | "eslint-plugin-prettier": "^4.2.1", | ||
"quill": "1.3.7", | "eslint-plugin-vue": "7.2.0", | ||
"screenfull": "5.0.2", | "husky": "^3.0.9", | ||
"sortablejs": "1.10.2", | "lint-staged": "^10.5.3", | ||
"vue": "2.6.12", | "mockjs": "1.0.1-beta3", | ||
"vue-count-to": "1.0.13", | "prettier-eslint-cli": "^8.0.1", | ||
"vue-cropper": "0.5.5", | "runjs": "4.4.2", | ||
"vue-meta": "2.4.0", | "sass": "1.32.13", | ||
"vue-router": "3.4.9", | "sass-loader": "10.1.1", | ||
"vuedraggable": "2.24.3", | "script-ext-html-webpack-plugin": "2.1.5", | ||
"vuex": "3.6.0" | "svg-sprite-loader": "5.1.1", | ||
}, | "vue-cli-plugin-commitlint": "~1.0.12", | ||
"devDependencies": { | "vue-template-compiler": "2.6.12" | ||
"@vue/cli-plugin-babel": "4.4.6", | }, | ||
"@vue/cli-plugin-eslint": "4.4.6", | "browserslist": [ | ||
"@vue/cli-service": "4.4.6", | "> 1%", | ||
"babel-eslint": "10.1.0", | "last 2 versions" | ||
"babel-plugin-dynamic-import-node": "2.3.3", | ], | ||
"chalk": "4.1.0", | "config": { | ||
"compression-webpack-plugin": "5.0.2", | "commitizen": { | ||
"connect": "3.6.6", | "path": "./node_modules/vue-cli-plugin-commitlint/lib/cz" | ||
"eslint": "7.15.0", | } | ||
"eslint-plugin-vue": "7.2.0", | }, | ||
"lint-staged": "10.5.3", | "engines": { | ||
"mockjs": "1.0.1-beta3", | "node": ">=8.9", | ||
"runjs": "4.4.2", | "npm": ">= 3.0.0" | ||
"sass": "1.32.13", | }, | ||
"sass-loader": "10.1.1", | "husky": { | ||
"script-ext-html-webpack-plugin": "2.1.5", | "hooks": { | ||
"svg-sprite-loader": "5.1.1", | "pre-commit": "lint-staged", | ||
"vue-template-compiler": "2.6.12" | "commit-msg": "commitlint -E HUSKY_GIT_PARAMS" | ||
}, | } | ||
"engines": { | }, | ||
"node": ">=8.9", | "keywords": [ | ||
"npm": ">= 3.0.0" | "vue", | ||
}, | "admin", | ||
"browserslist": [ | "dashboard", | ||
"> 1%", | "element-ui", | ||
"last 2 versions" | "boilerplate", | ||
] | "admin-template", | ||
} | "management-system" | ||
], | |||
"license": "MIT", | |||
"lint-staged": { | |||
"src/**/*.{js,vue}": [ | |||
"eslint --fix", | |||
"git add" | |||
] | |||
}, | |||
"repository": { | |||
"type": "git", | |||
"url": "https://gitee.com/y_project/RuoYi-Vue.git" | |||
} | |||
} |
Please register or sign in to comment