Skip to content

Commit 5b99257

Browse files
committed
updating scripts
I had to make some changes to get these to work more reliable on my system. may need more improvement.s
1 parent b353d1a commit 5b99257

File tree

1 file changed

+6
-15
lines changed

1 file changed

+6
-15
lines changed

package.json

Lines changed: 6 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -2,21 +2,12 @@
22
"name": "nativescript-slides",
33
"version": "2.2.9",
44
"description": "NativeScript Slides plugin.",
5-
"main": "nativescript-slides.js",
6-
"nativescript": {
7-
"platforms": {
8-
"android": "2.3.0",
9-
"ios": "2.3.0"
10-
},
11-
"tns-ios": {
12-
"version": "2.3.0"
13-
}
14-
},
5+
"main": "nativescript-slides",
156
"scripts": {
167
"build": "tsc",
17-
"demo.ios": "npm run preparedemo && cd demo && tns emulate ios",
8+
"demo.ios": "npm run preparedemo && cd demo && tns run ios",
189
"demo.android": "npm run preparedemo && cd demo && tns run android",
19-
"preparedemo": "npm run build && cd demo && tns plugin remove nativescript-slides && tns plugin add .. && tns install",
10+
"preparedemo": "npm run build && cd demo && npm install .. --save",
2011
"setup": "npm install && cd demo && npm install && cd .. && npm run build && cd demo && tns plugin add .. && cd ..",
2112
"ios": "xcproj --project platforms/ios/YourApp.xcodeproj touch; xcproj --project platforms/ios/Pods/Pods.xcodeproj touch; tns livesync ios --emulator --watch"
2213
},
@@ -70,9 +61,9 @@
7061
"homepage": "https://github.com/TheOriginalJosh/nativescript-slides",
7162
"readmeFilename": "README.md",
7263
"devDependencies": {
73-
"typescript": "^1.8.7",
74-
"tns-platform-declarations": "^2.0.0",
75-
"tns-core-modules": "^2.3.0"
64+
"typescript": "^2.2.2",
65+
"tns-platform-declarations": "^3.0.1",
66+
"tns-core-modules": "^3.0.1"
7667
},
7768
"dependencies": {
7869
"nativescript-dom": "^1.0.6"

0 commit comments

Comments
 (0)