build: add `rm:build`, `rm:node_modules` & `clean-install` scripts (#8323)

pull/8322/head
David Luzar 6 months ago committed by GitHub
parent 2907fbe34b
commit b427617f66
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -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"

Loading…
Cancel
Save