diff --git a/package.json b/package.json index a8b0b03fa..f4a23235a 100644 --- a/package.json +++ b/package.json @@ -76,7 +76,10 @@ "autorelease": "node scripts/autorelease.js", "prerelease:excalidraw": "node scripts/prerelease.js", "build:preview": "yarn build && vite preview --port 5000", - "release:excalidraw": "node scripts/release.js" + "release:excalidraw": "node scripts/release.js", + "rm:build": "rm -rf excalidraw-app/{build,dist,dev-dist} && rm -rf packages/*/{dist,build} && rm -rf examples/*/*/{build,dist}", + "rm:node_modules": "rm -rf node_modules && rm -rf excalidraw-app/node_modules && rm -rf packages/*/node_modules", + "clean-install": "yarn rm:node_modules && yarn install" }, "resolutions": { "@types/react": "18.2.0"