mirror of
https://gitee.com/vant-contrib/vant.git
synced 2025-05-20 13:29:16 +08:00
chore(cli): split eslintrc
This commit is contained in:
parent
267b54c206
commit
74b7fbdf55
8
packages/vant-cli/.eslintrc
Normal file
8
packages/vant-cli/.eslintrc
Normal file
@ -0,0 +1,8 @@
|
|||||||
|
{
|
||||||
|
"root": true,
|
||||||
|
"extends": ["@vant"],
|
||||||
|
"rules": {
|
||||||
|
"global-require": 0,
|
||||||
|
"import/no-dynamic-require": 0
|
||||||
|
}
|
||||||
|
}
|
@ -1,7 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@vant/cli",
|
"name": "@vant/cli",
|
||||||
"version": "3.8.0",
|
"version": "3.8.0",
|
||||||
"description": "",
|
|
||||||
"main": "lib/index.js",
|
"main": "lib/index.js",
|
||||||
"typings": "lib/index.d.ts",
|
"typings": "lib/index.d.ts",
|
||||||
"bin": {
|
"bin": {
|
||||||
@ -69,7 +68,7 @@
|
|||||||
"fork-ts-checker-webpack-plugin": "^6.1.0",
|
"fork-ts-checker-webpack-plugin": "^6.1.0",
|
||||||
"gh-pages": "^3.1.0",
|
"gh-pages": "^3.1.0",
|
||||||
"hash-sum": "^2.0.0",
|
"hash-sum": "^2.0.0",
|
||||||
"html-webpack-plugin": "^5.2.0",
|
"html-webpack-plugin": "^5.3.1",
|
||||||
"husky": "^6.0.0",
|
"husky": "^6.0.0",
|
||||||
"jest": "^26.6.3",
|
"jest": "^26.6.3",
|
||||||
"jest-canvas-mock": "^2.3.0",
|
"jest-canvas-mock": "^2.3.0",
|
||||||
@ -104,15 +103,5 @@
|
|||||||
"tag": false,
|
"tag": false,
|
||||||
"commitMessage": "chore: release @vant/cli@${version}"
|
"commitMessage": "chore: release @vant/cli@${version}"
|
||||||
}
|
}
|
||||||
},
|
|
||||||
"eslintConfig": {
|
|
||||||
"root": true,
|
|
||||||
"extends": [
|
|
||||||
"@vant"
|
|
||||||
],
|
|
||||||
"rules": {
|
|
||||||
"global-require": 0,
|
|
||||||
"import/no-dynamic-require": 0
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -5190,14 +5190,13 @@ html-tags@^3.1.0:
|
|||||||
resolved "https://registry.yarnpkg.com/html-tags/-/html-tags-3.1.0.tgz#7b5e6f7e665e9fb41f30007ed9e0d41e97fb2140"
|
resolved "https://registry.yarnpkg.com/html-tags/-/html-tags-3.1.0.tgz#7b5e6f7e665e9fb41f30007ed9e0d41e97fb2140"
|
||||||
integrity sha512-1qYz89hW3lFDEazhjW0yVAV87lw8lVkrJocr72XmBkMKsoSVJCQx3W8BXsC7hO2qAt8BoVjYjtAcZ9perqGnNg==
|
integrity sha512-1qYz89hW3lFDEazhjW0yVAV87lw8lVkrJocr72XmBkMKsoSVJCQx3W8BXsC7hO2qAt8BoVjYjtAcZ9perqGnNg==
|
||||||
|
|
||||||
html-webpack-plugin@^5.2.0:
|
html-webpack-plugin@^5.3.1:
|
||||||
version "5.2.0"
|
version "5.3.1"
|
||||||
resolved "https://registry.npm.taobao.org/html-webpack-plugin/download/html-webpack-plugin-5.2.0.tgz?cache=0&sync_timestamp=1613744691795&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fhtml-webpack-plugin%2Fdownload%2Fhtml-webpack-plugin-5.2.0.tgz#d675ad0027a89de6b3d9950e0b57656dcfd97fbf"
|
resolved "https://registry.npm.taobao.org/html-webpack-plugin/download/html-webpack-plugin-5.3.1.tgz#8797327548e3de438e3494e0c6d06f181a7f20d1"
|
||||||
integrity sha1-1nWtACeoneaz2ZUOC1dlbc/Zf78=
|
integrity sha1-h5cydUjj3kOONJTgxtBvGBp/INE=
|
||||||
dependencies:
|
dependencies:
|
||||||
"@types/html-minifier-terser" "^5.0.0"
|
"@types/html-minifier-terser" "^5.0.0"
|
||||||
html-minifier-terser "^5.0.1"
|
html-minifier-terser "^5.0.1"
|
||||||
loader-utils "^2.0.0"
|
|
||||||
lodash "^4.17.20"
|
lodash "^4.17.20"
|
||||||
pretty-error "^2.1.1"
|
pretty-error "^2.1.1"
|
||||||
tapable "^2.0.0"
|
tapable "^2.0.0"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user