From 6264fe71f70c99b524dcd0e4fc7e057cc3597936 Mon Sep 17 00:00:00 2001 From: Thijs Louisse Date: Tue, 9 May 2023 15:56:07 +0200 Subject: [PATCH] chore: add rm-all-node_modules script --- package.json | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index a7020f899..4dd668be2 100644 --- a/package.json +++ b/package.json @@ -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:update": "cross-env UPDATE_SCREENSHOTS=true npm run test:screenshots", "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": [ "packages/*", @@ -135,5 +136,8 @@ "singleQuote": true, "arrowParens": "avoid", "trailingComma": "all" + }, + "overrides": { + "sharp": "^0.29.x" } }