Skip to content

Commit 5372a36

Browse files
committed
chore: remove unused scripts
1 parent 057875f commit 5372a36

File tree

1 file changed

+4
-6
lines changed

1 file changed

+4
-6
lines changed

src/package.json

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -10,12 +10,9 @@
1010
}
1111
},
1212
"scripts": {
13-
"tsc": "tsc",
14-
"build": "npm run tsc && npm run build.native",
13+
"tsc": "npm i && tsc",
14+
"build": "npm run tsc",
1515
"build.native": "node scripts/build-native.js",
16-
"postclone": "npm i && node scripts/postclone.js && cd ../demo && npm i && npx rimraf -- package-lock.json && cd ../src",
17-
"test.android": "npm run tsc && npm run tslint && cd ../demo && tns build android && tns test android --justlaunch",
18-
"test.ios": "npm run tsc && npm run tslint && cd ../demo && tns build ios && tns test ios --justlaunch",
1916
"tslint": "cd .. && tslint \"**/*.ts\" --config tslint.json --exclude \"**/node_modules/**\" --exclude \"**/platforms/**\"",
2017
"plugin.tscwatch": "npm run tsc -- -w",
2118
"demo.ios": "npm i && npm run tsc && cd ../demo && tns run ios --syncAllFiles --emulator",
@@ -31,7 +28,8 @@
3128
"clean": "npm run demo.reset && npx rimraf -- node_modules package-lock.json && npm i",
3229
"ci.tslint": "npm i && tslint '**/*.ts' --config '../tslint.json' --exclude '**/node_modules/**' --exclude '**/platforms/**'",
3330
"ngc": "ngc -p tsconfig.json",
34-
"prepack": "npm run ngc && npm run build.native"
31+
"prepack": "npm i && npm run ngc && npm run build.native",
32+
"pack": "bash ../publish/pack.sh"
3533
},
3634
"keywords": [
3735
"NativeScript",

0 commit comments

Comments
 (0)