chore: cleanup scripts

This commit is contained in:
Nathan Walker
2022-06-09 22:17:26 -05:00
parent bc8f15580b
commit 18f4bdde4c
4 changed files with 1 additions and 5 deletions

View File

@ -6,9 +6,6 @@
"type": "git", "type": "git",
"url": "https://github.com/NativeScript/NativeScript.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": { "dependencies": {
"@nativescript/core": "file:../../packages/core", "@nativescript/core": "file:../../packages/core",
"nativescript-theme-core": "file:../../node_modules/nativescript-theme-core" "nativescript-theme-core": "file:../../node_modules/nativescript-theme-core"

View File

@ -19,7 +19,6 @@
"gitHead": "8ab7726d1ee9991706069c1359c552e67ee0d1a4", "gitHead": "8ab7726d1ee9991706069c1359c552e67ee0d1a4",
"readme": "NativeScript Application", "readme": "NativeScript Application",
"scripts": { "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": "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-debug": "./node_modules/.bin/ns-dev-appium --startSession",
"e2e-watch": "tsc -p e2e --watch", "e2e-watch": "tsc -p e2e --watch",

View File

@ -4,6 +4,7 @@
"license": "MIT", "license": "MIT",
"scripts": { "scripts": {
"clean": "git clean -f -X -d --exclude=!.idea/ --exclude=!.vscode/* --exclude=!.npmrc", "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": "npm run clean && npm install --legacy-peer-deps",
"setup:yarn": "yarn clean && yarn", "setup:yarn": "yarn clean && yarn",
"setup:pnpm": "pnpm run clean && pnpm install", "setup:pnpm": "pnpm run clean && pnpm install",

View File

@ -29,7 +29,6 @@
"url": "https://github.com/NativeScript/nativescript-dev-webpack.git" "url": "https://github.com/NativeScript/nativescript-dev-webpack.git"
}, },
"scripts": { "scripts": {
"clean": "npx rimraf -- node_modules package-lock.json && npm i --ignore-scripts --legacy-peer-deps",
"tsc": "tsc", "tsc": "tsc",
"postinstall": "node postinstall.js", "postinstall": "node postinstall.js",
"preuninstall": "node preuninstall.js", "preuninstall": "node preuninstall.js",