Skip to content

Commit c0f6550

Browse files
committed
use rimraf path
1 parent e3908de commit c0f6550

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

package.json

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,19 +6,20 @@
66
"private": true,
77
"license": "Apache-2.0",
88
"scripts": {
9+
"rimraf": "./node_modules/rimraf/dist/esm/bin.mjs",
910
"start": "yarn setup && yarn create-cypress-commands-docs && npm-run-all -p start:watcher start:storybook",
1011
"start:watcher": "lerna run watch:css",
1112
"start:storybook": "storybook dev -p 6006",
12-
"setup": "lerna run build:i18n && lerna run build:css && lerna run build:css-bundle && rimraf node_modules/@types/mocha",
13+
"setup": "lerna run build:i18n && lerna run build:css && lerna run build:css-bundle && yarn rimraf node_modules/@types/mocha",
1314
"build": "yarn setup && tsc --build tsconfig.build.json && lerna run build:client && lerna run build:wrapper && lerna run build:ssr",
1415
"build:storybook": "lerna run build:i18n && yarn create-cypress-commands-docs && storybook build -o .out",
1516
"build:storybook-sitemap": "node ./scripts/create-storybook-sitemap.js --directory .out",
16-
"test:prepare": "rimraf temp && lerna run build",
17+
"test:prepare": "yarn rimraf temp && lerna run build",
1718
"test:cypress": "cypress run --component --browser chrome",
1819
"test:cypress:open": "CYPRESS_COVERAGE=false cypress open --component --browser chrome",
1920
"test": "yarn test:prepare && yarn test:cypress",
20-
"clean": "tsc --build --clean && tsc --build tsconfig.build.json --clean && rimraf temp .out && lerna run clean",
21-
"clean:remove-modules": "yarn clean && rimraf node_modules",
21+
"clean": "tsc --build --clean && tsc --build tsconfig.build.json --clean && yarn rimraf temp .out && lerna run clean",
22+
"clean:remove-modules": "yarn clean && yarn rimraf node_modules",
2223
"prettier:all": "prettier --write --config ./prettier.config.cjs \"packages/**/*.{js,jsx,ts,tsx,mdx,json,md}\"",
2324
"lint": "eslint packages",
2425
"lerna:version-dryrun": "lerna version --conventional-graduate --no-git-tag-version --no-push",

0 commit comments

Comments
 (0)