🌽 remove eslint and commitlint
This commit is contained in:
50
package.json
50
package.json
@@ -17,11 +17,7 @@
|
||||
"dev": "vite",
|
||||
"build": "vite build --emptyOutDir && npm run build:types",
|
||||
"build:types": "rimraf types && tsc -d",
|
||||
"build:docs": "vite build docs",
|
||||
"test": "jest",
|
||||
"lint": "eslint . --fix --ext .ts,.vue,.js --ignore-pattern \"/lib/\" --ignore-pattern \"/types/\"",
|
||||
"prettier": "prettier --check --write --ignore-unknown \"{example,src,docs,test}/**\"",
|
||||
"prepare": "husky install"
|
||||
"build:docs": "vite build docs"
|
||||
},
|
||||
"repository": {
|
||||
"type": "git",
|
||||
@@ -32,72 +28,40 @@
|
||||
"layui",
|
||||
"vue"
|
||||
],
|
||||
"author": "就眠儀式",
|
||||
"author": "layui-vue",
|
||||
"license": "MIT",
|
||||
"bugs": {
|
||||
"url": "https://gitee.com/layui-vue/layui-vue/issues"
|
||||
},
|
||||
"homepage": "https://gitee.com/layui-vue/layui-vue/blob/master/README.md",
|
||||
"peerDependencies": {
|
||||
"vue": "^3.2.21",
|
||||
"vue": "^3.2.22",
|
||||
"vue-router": "^4.0.12"
|
||||
},
|
||||
"dependencies": {
|
||||
"vue": "^3.2.21",
|
||||
"vue": "^3.2.22",
|
||||
"vue-router": "^4.0.12"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@babel/core": "^7.15.8",
|
||||
"@babel/preset-env": "^7.15.8",
|
||||
"@babel/preset-typescript": "^7.15.0",
|
||||
"@commitlint/cli": "^13.2.1",
|
||||
"@commitlint/config-conventional": "^13.2.0",
|
||||
"@rollup/plugin-babel": "^5.3.0",
|
||||
"@types/jest": "^26.0.24",
|
||||
"@types/markdown-it": "^12.2.3",
|
||||
"@types/markdown-it-container": "^2.0.4",
|
||||
"@typescript-eslint/eslint-plugin": "^4.33.0",
|
||||
"@typescript-eslint/parser": "^4.33.0",
|
||||
"@vitejs/plugin-vue": "^1.9.3",
|
||||
"@vue/compiler-sfc": "^3.2.21",
|
||||
"@vue/eslint-config-prettier": "^6.0.0",
|
||||
"@vue/eslint-config-typescript": "^7.0.0",
|
||||
"@vue/compiler-sfc": "^3.2.22",
|
||||
"@vue/server-renderer": "^3.2.20",
|
||||
"@vue/test-utils": "^2.0.0-rc.15",
|
||||
"babel-jest": "^26.6.3",
|
||||
"escape-html": "^1.0.3",
|
||||
"eslint": "^7.32.0",
|
||||
"eslint-plugin-prettier": "^3.4.1",
|
||||
"eslint-plugin-vue": "^7.19.1",
|
||||
"husky": "^7.0.2",
|
||||
"jest": "^26.6.3",
|
||||
"lint-staged": "^11.2.3",
|
||||
"markdown-it-container": "^3.0.0",
|
||||
"postcss": "^8.3.9",
|
||||
"postcss-preset-env": "^6.7.0",
|
||||
"prettier": "^2.4.1",
|
||||
"pretty-quick": "^3.1.1",
|
||||
"prismjs": "^1.25.0",
|
||||
"rimraf": "^3.0.2",
|
||||
"ts-jest": "^26.5.6",
|
||||
"typescript": "^4.4.3",
|
||||
"vite": "2.5.10",
|
||||
"vite-plugin-md": "^0.6.7",
|
||||
"vue-jest": "^5.0.0-alpha.10"
|
||||
"vite-plugin-md": "^0.6.7"
|
||||
},
|
||||
"files": [
|
||||
"lib",
|
||||
"types"
|
||||
],
|
||||
"lint-staged": {
|
||||
"*.{ts,vue,tsx}": "eslint --fix",
|
||||
"*": "prettier -w -u"
|
||||
},
|
||||
"husky": {
|
||||
"hooks": {
|
||||
"pre-commit": "lintstage",
|
||||
"commit-msg": "commitlint -E $HUSKY_GIT_PARAMS",
|
||||
"prepare-commit-msg": "exec < /dev/tty && git cz --hook || true"
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user