chore: add rm-all-node_modules script
This commit is contained in:
parent
c745761ce7
commit
6264fe71f7
1 changed files with 5 additions and 1 deletions
|
|
@ -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"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue