mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-08-26 11:17:04 +08:00
chore: cleanup scripts
This commit is contained in:
@ -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"
|
||||||
|
@ -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",
|
||||||
|
@ -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",
|
||||||
|
@ -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",
|
||||||
|
Reference in New Issue
Block a user