diff --git a/apps/automated/package.json b/apps/automated/package.json index d9ce1ebff..b02713cb5 100644 --- a/apps/automated/package.json +++ b/apps/automated/package.json @@ -6,9 +6,6 @@ "type": "git", "url": "https://github.com/NativeScript/NativeScript.git" }, - "scripts": { - "clean": "npx rimraf hooks node_modules platforms package-lock.json && npm i --legacy-peer-deps" - }, "dependencies": { "@nativescript/core": "file:../../packages/core", "nativescript-theme-core": "file:../../node_modules/nativescript-theme-core" diff --git a/apps/ui/package.json b/apps/ui/package.json index d99ce1e84..cb445c716 100644 --- a/apps/ui/package.json +++ b/apps/ui/package.json @@ -19,7 +19,6 @@ "gitHead": "8ab7726d1ee9991706069c1359c552e67ee0d1a4", "readme": "NativeScript Application", "scripts": { - "clean": "npx rimraf hooks node_modules platforms package-lock.json", "e2e": "tsc -p e2e && mocha --opts ../config/mocha.opts --recursive e2e --appiumCapsLocation ../config/appium.capabilities.json", "e2e-debug": "./node_modules/.bin/ns-dev-appium --startSession", "e2e-watch": "tsc -p e2e --watch", diff --git a/package.json b/package.json index 7938f5956..74514ea44 100644 --- a/package.json +++ b/package.json @@ -4,6 +4,7 @@ "license": "MIT", "scripts": { "clean": "git clean -f -X -d --exclude=!.idea/ --exclude=!.vscode/* --exclude=!.npmrc", + "clean.all": "npm run setup && nx run-many --target=clean --all", "setup": "npm run clean && npm install --legacy-peer-deps", "setup:yarn": "yarn clean && yarn", "setup:pnpm": "pnpm run clean && pnpm install", diff --git a/packages/webpack/package.json b/packages/webpack/package.json index 029df9045..95bcd0dd5 100644 --- a/packages/webpack/package.json +++ b/packages/webpack/package.json @@ -29,7 +29,6 @@ "url": "https://github.com/NativeScript/nativescript-dev-webpack.git" }, "scripts": { - "clean": "npx rimraf -- node_modules package-lock.json && npm i --ignore-scripts --legacy-peer-deps", "tsc": "tsc", "postinstall": "node postinstall.js", "preuninstall": "node preuninstall.js",