Skip to content

Commit 0787e2e

Browse files
committed
chore: adjusted scripts and added new one to run angular demo
1 parent 9801771 commit 0787e2e

File tree

3 files changed

+8
-5
lines changed

3 files changed

+8
-5
lines changed

demo-ng/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
"@angular/platform-browser": "~4.1.0",
2020
"@angular/router": "~4.1.0",
2121
"nativescript-angular": "~3.0.0",
22-
"nativescript-checkbox": "file:..",
22+
"nativescript-checkbox": "file:///Users/nathan/Documents/github/bradmartin/nativescript-checkbox",
2323
"nativescript-theme-core": "~1.0.2",
2424
"reflect-metadata": "~0.1.8",
2525
"rxjs": "~5.3.0",

demo/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
}
1010
},
1111
"dependencies": {
12-
"nativescript-checkbox": "file:..",
12+
"nativescript-checkbox": "file:///Users/nathan/Documents/github/bradmartin/nativescript-checkbox",
1313
"tns-core-modules": "^3.0.0"
1414
},
1515
"devDependencies": {

package.json

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "nativescript-checkbox",
3-
"version": "2.1.3",
3+
"version": "2.1.4",
44
"description": "NativeScript plugin for checkbox widget.",
55
"main": "checkbox",
66
"typings": "index.d.ts",
@@ -15,11 +15,14 @@
1515
"copy.ios": "cp -R checkbox.*.js demo/node_modules/nativescript-checkbox && cd demo && tns livesync ios --watch",
1616
"copy.android": "cp -R checkbox.*.js demo/node_modules/nativescript-checkbox && cd demo && tns livesync android --watch",
1717
"buildrun": "npm run build && cp -R checkbox.*.js demo/node_modules/nativescript-checkbox",
18-
"demo.ios": "npm run preparedemo && cd demo && tns emulate ios",
19-
"demo.android": "npm run preparedemo && cd demo && tns run android",
18+
"demo.ios": "npm run preparedemo && cd demo && tns run ios --emulator",
19+
"demo.ng.ios": "npm run preparedemong && cd demo-ng && tns run ios --emulator",
20+
"demo.android": "npm run preparedemo && cd demo && tns run android --emulator",
21+
"demo.ng.android": "npm run preparedemong && cd demo-ng && tns run android --emulator",
2022
"debug.ios": "npm run preparedemo && cd demo && tns debug ios",
2123
"debug.android": "npm run preparedemo && cd demo && tns debug android",
2224
"preparedemo": "npm run build && cd demo && tns plugin remove nativescript-checkbox && tns plugin add .. && tns install",
25+
"preparedemong": "npm run build && cd demo-ng && tns plugin remove nativescript-checkbox && tns plugin add .. && tns install",
2326
"setup": "cd demo && npm install && cd .. && npm run build && cd demo && tns plugin add .. && cd .."
2427
},
2528
"repository": {

0 commit comments

Comments
 (0)