mirror of
https://gitee.com/vant-contrib/vant.git
synced 2025-04-05 19:41:42 +08:00
fix(build): use rimraf (#9851)
This commit is contained in:
parent
b163d87064
commit
d5be481eab
@ -23,6 +23,7 @@
|
|||||||
"husky": "^7.0.4",
|
"husky": "^7.0.4",
|
||||||
"lint-staged": "^11.2.6",
|
"lint-staged": "^11.2.6",
|
||||||
"prettier": "^2.4.1",
|
"prettier": "^2.4.1",
|
||||||
|
"rimraf": "^3.0.2",
|
||||||
"stylelint": "^13.13.1"
|
"stylelint": "^13.13.1"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -14,7 +14,7 @@
|
|||||||
"registry": "https://registry.npmjs.org/"
|
"registry": "https://registry.npmjs.org/"
|
||||||
},
|
},
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"clean": "rm -rf ./dist",
|
"clean": "rimraf ./dist",
|
||||||
"dev": "rollup --config rollup.config.js --watch",
|
"dev": "rollup --config rollup.config.js --watch",
|
||||||
"build:types": "tsc -p ./tsconfig.json --emitDeclarationOnly",
|
"build:types": "tsc -p ./tsconfig.json --emitDeclarationOnly",
|
||||||
"build:bundle": "rollup --config rollup.config.js",
|
"build:bundle": "rollup --config rollup.config.js",
|
||||||
|
@ -10,7 +10,7 @@
|
|||||||
"dist"
|
"dist"
|
||||||
],
|
],
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"clean": "rm -rf ./dist",
|
"clean": "rimraf ./dist",
|
||||||
"dev": "rollup --config rollup.config.js --watch",
|
"dev": "rollup --config rollup.config.js --watch",
|
||||||
"build:types": "tsc -p ./tsconfig.json --emitDeclarationOnly",
|
"build:types": "tsc -p ./tsconfig.json --emitDeclarationOnly",
|
||||||
"build:bundle": "rollup --config rollup.config.js",
|
"build:bundle": "rollup --config rollup.config.js",
|
||||||
|
4
pnpm-lock.yaml
generated
4
pnpm-lock.yaml
generated
@ -11,6 +11,7 @@ importers:
|
|||||||
husky: ^7.0.4
|
husky: ^7.0.4
|
||||||
lint-staged: ^11.2.6
|
lint-staged: ^11.2.6
|
||||||
prettier: ^2.4.1
|
prettier: ^2.4.1
|
||||||
|
rimraf: ^3.0.2
|
||||||
stylelint: ^13.13.1
|
stylelint: ^13.13.1
|
||||||
devDependencies:
|
devDependencies:
|
||||||
'@vant/cli': link:packages/vant-cli
|
'@vant/cli': link:packages/vant-cli
|
||||||
@ -20,6 +21,7 @@ importers:
|
|||||||
husky: 7.0.4
|
husky: 7.0.4
|
||||||
lint-staged: 11.2.6
|
lint-staged: 11.2.6
|
||||||
prettier: 2.4.1
|
prettier: 2.4.1
|
||||||
|
rimraf: 3.0.2
|
||||||
stylelint: 13.13.1
|
stylelint: 13.13.1
|
||||||
|
|
||||||
packages/create-vant-cli-app:
|
packages/create-vant-cli-app:
|
||||||
@ -7302,7 +7304,7 @@ packages:
|
|||||||
engines: {iojs: '>=1.0.0', node: '>=0.10.0'}
|
engines: {iojs: '>=1.0.0', node: '>=0.10.0'}
|
||||||
|
|
||||||
/rimraf/3.0.2:
|
/rimraf/3.0.2:
|
||||||
resolution: {integrity: sha1-8aVAK6YiCtUswSgrrBrjqkn9Bho=, tarball: rimraf/download/rimraf-3.0.2.tgz?cache=0&sync_timestamp=1632822764504&other_urls=https%3A%2F%2Fregistry.npmmirror.com%2Frimraf%2Fdownload%2Frimraf-3.0.2.tgz}
|
resolution: {integrity: sha1-8aVAK6YiCtUswSgrrBrjqkn9Bho=, tarball: rimraf/download/rimraf-3.0.2.tgz}
|
||||||
hasBin: true
|
hasBin: true
|
||||||
dependencies:
|
dependencies:
|
||||||
glob: 7.2.0
|
glob: 7.2.0
|
||||||
|
Loading…
x
Reference in New Issue
Block a user