fix: change rm -rf to rimraf (#7168)
Currently, `npm clean-lib` fails on windows with `cmd` because it does not now about `rm`. This change uses the already installed `rimraf` to do the job instead.
This commit is contained in:
parent
49a54cfc93
commit
ad6b736039
@ -28,7 +28,7 @@
|
||||
"markdownlint-fix": "prettier --write **/README.md docs/api.md docs/troubleshooting.md",
|
||||
"lint": "npm run eslint && npm run build && npm run doc && npm run commitlint && npm run markdownlint",
|
||||
"doc": "node utils/doclint/cli.js",
|
||||
"clean-lib": "rm -rf lib",
|
||||
"clean-lib": "rimraf lib",
|
||||
"build": "npm run tsc && npm run generate-d-ts",
|
||||
"tsc": "npm run clean-lib && tsc --version && npm run tsc-cjs && npm run tsc-esm",
|
||||
"tsc-cjs": "tsc -b src/tsconfig.cjs.json",
|
||||
|
Loading…
Reference in New Issue
Block a user