Skip to content

Commit 850f895

Browse files
chore: include package removing in clean (#372)
1 parent f40faa5 commit 850f895

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,8 @@
8585
"scripts": {
8686
"build": "tsc --build --clean && webpack",
8787
"build-dev": "webpack --env development",
88-
"clean": "rm -rf dist && rm -rf __fixtures__/dist && pnpm clean:ts",
88+
"clean": "rm -rf dist && rm -rf __fixtures__/dist && pnpm clean:ts && pnpm clean:packages",
89+
"clean:packages": "find . -name 'node_modules' -type d -prune -exec rm -rf '{}' +",
8990
"clean:ts": "tsc --build --clean",
9091
"install-puppeteer-browser": "puppeteer browsers install chrome",
9192
"lint": "eslint . --max-warnings 0 && prettier --check . && tsc --build",

0 commit comments

Comments
 (0)