Skip to content

Commit 0aa4563

Browse files
Merge pull request #41 from EddyVerbruggen/master
A few fixes for folks getting started contributing to this plugin
2 parents 4cf23f3 + da6d35a commit 0aa4563

File tree

3 files changed

+4
-5
lines changed

3 files changed

+4
-5
lines changed

.gitignore

-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@ demo-ng/app/*.js
1414
demo-ng/*.d.ts
1515
demo-ng/platforms
1616
demo-ng/node_modules
17-
demo/.vscode
1817
demo-ng/.vscode
1918
node_modules
2019
.vscode/

README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -126,8 +126,8 @@ Add the following to `app/App_Resources/Android/drawable/checkbox_grey.xml`
126126

127127

128128
## Demo Setup
129-
* npm install tns-platform-declarations
130-
* npm preparedemo
129+
* npm i
130+
* npm run preparedemo
131131
* npm run demo.ios
132132

133133

package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@
1212
},
1313
"scripts": {
1414
"build": "tsc",
15-
"copy.ios": "cp -R checkbox.*.js demo/node_modules/nativescript-checkbox && cd demo && tns livesync ios --watch",
16-
"copy.android": "cp -R checkbox.*.js demo/node_modules/nativescript-checkbox && cd demo && tns livesync android --watch",
15+
"copy.ios": "cp -R checkbox.*.js demo/node_modules/nativescript-checkbox && cd demo && tns run ios --syncAllFiles",
16+
"copy.android": "cp -R checkbox.*.js demo/node_modules/nativescript-checkbox && cd demo && tns run android --syncAllFiles",
1717
"buildrun": "npm run build && cp -R checkbox.*.js demo/node_modules/nativescript-checkbox",
1818
"demo.ios": "npm run preparedemo && cd demo && tns run ios --emulator",
1919
"demo.ng.ios": "npm run preparedemong && cd demo-ng && tns run ios --emulator",

0 commit comments

Comments
 (0)