chore: add rm-all-node_modules script

This commit is contained in:
Thijs Louisse 2023-05-09 15:56:07 +02:00
parent c745761ce7
commit 6264fe71f7

View file

@ -33,7 +33,8 @@
"test:screenshots": "rimraf screenshots/.diff/ && rimraf screenshots/.current/ && mocha --require scripts/screenshots/bootstrap.js --exit --timeout 10000 \"packages/**/test/*.screenshots-test.js\"", "test:screenshots": "rimraf screenshots/.diff/ && rimraf screenshots/.current/ && mocha --require scripts/screenshots/bootstrap.js --exit --timeout 10000 \"packages/**/test/*.screenshots-test.js\"",
"test:screenshots:update": "cross-env UPDATE_SCREENSHOTS=true npm run test:screenshots", "test:screenshots:update": "cross-env UPDATE_SCREENSHOTS=true npm run test:screenshots",
"types": "npm run types --workspaces --if-present", "types": "npm run types --workspaces --if-present",
"types-check-only": "npm run types-check-only --workspaces --if-present" "types-check-only": "npm run types-check-only --workspaces --if-present",
"rm-all-node_modules": "npm exec --workspaces -- npx rimraf node_modules && npx rimraf node_modules"
}, },
"workspaces": [ "workspaces": [
"packages/*", "packages/*",
@ -135,5 +136,8 @@
"singleQuote": true, "singleQuote": true,
"arrowParens": "avoid", "arrowParens": "avoid",
"trailingComma": "all" "trailingComma": "all"
},
"overrides": {
"sharp": "^0.29.x"
} }
} }