Remove old src/node_modules on clean if it exists (#1693)

This commit is contained in:
Devin Binnie
2021-08-11 12:02:30 -04:00
committed by GitHub
parent 10feb84c31
commit 51f80f5fef

View File

@@ -31,7 +31,7 @@
"start": "electron dist/ --disable-dev-mode",
"restart": "npm run build && npm run start",
"storybook": "start-storybook -p 9001 -c src/.storybook",
"clean": "rm -rf release/ node_modules/ dist/ && find src -name '*_bundle.js' | xargs rm",
"clean": "rm -rf release/ node_modules/ src/node_modules/ dist/ && find src -name '*_bundle.js' | xargs rm",
"clean-install": "npm run clean && npm install",
"clean-dist": "rm -rf dist/",
"watch": "run-p watch:*",