|
1 | 1 | {
|
2 | 2 | "name": "nativescript",
|
3 | 3 | "version": "0.6.0",
|
4 |
| - "minNativescriptCliVersion": "2.2.1", |
| 4 | + "minNativescriptCliVersion": "2.5.0", |
5 | 5 | "icon": "images/icon.png",
|
6 | 6 | "displayName": "NativeScript",
|
7 | 7 | "description": "NativeScript support for Visual Studio Code",
|
|
39 | 39 | "@types/mocha": "^2.2.32",
|
40 | 40 | "@types/node": "^6.0.46",
|
41 | 41 | "@types/source-map": "^0.1.29",
|
| 42 | + "chrome-remote-debug-protocol": "git://github.com/roblourens/chrome-remote-debug-protocol.git", |
42 | 43 | "mocha": "^2.4.5",
|
43 | 44 | "typescript": "^2.0.6",
|
44 |
| - "vsce": "^1.0.0", |
| 45 | + "vsce": "^1.18.0", |
45 | 46 | "vscode": "^1.0.3",
|
46 |
| - "vscode-debugadapter-testsupport": "^1.7.0", |
47 |
| - "chrome-remote-debug-protocol": "git://github.com/roblourens/chrome-remote-debug-protocol.git" |
| 47 | + "vscode-debugadapter-testsupport": "^1.7.0" |
48 | 48 | },
|
49 | 49 | "scripts": {
|
50 | 50 | "clean": "git clean -fdx",
|
|
115 | 115 | "program": "./out/debug-adapter/webKitDebug.js",
|
116 | 116 | "runtime": "node",
|
117 | 117 | "initialConfigurations": [
|
118 |
| - { |
119 |
| - "name": "Sync on iOS", |
120 |
| - "type": "nativescript", |
121 |
| - "request": "launch", |
122 |
| - "platform": "ios", |
123 |
| - "appRoot": "${workspaceRoot}", |
124 |
| - "sourceMaps": true |
125 |
| - }, |
126 | 118 | {
|
127 | 119 | "name": "Launch on iOS",
|
128 | 120 | "type": "nativescript",
|
129 | 121 | "request": "launch",
|
130 | 122 | "platform": "ios",
|
131 | 123 | "appRoot": "${workspaceRoot}",
|
132 | 124 | "sourceMaps": true,
|
133 |
| - "rebuild": true |
| 125 | + "watch": true |
134 | 126 | },
|
135 | 127 | {
|
136 | 128 | "name": "Attach on iOS",
|
137 | 129 | "type": "nativescript",
|
138 | 130 | "request": "attach",
|
139 | 131 | "platform": "ios",
|
140 | 132 | "appRoot": "${workspaceRoot}",
|
141 |
| - "sourceMaps": true |
142 |
| - }, |
143 |
| - { |
144 |
| - "name": "Sync on Android", |
145 |
| - "type": "nativescript", |
146 |
| - "request": "launch", |
147 |
| - "platform": "android", |
148 |
| - "appRoot": "${workspaceRoot}", |
149 |
| - "sourceMaps": true |
| 133 | + "sourceMaps": true, |
| 134 | + "watch": false |
150 | 135 | },
|
151 | 136 | {
|
152 | 137 | "name": "Launch on Android",
|
|
155 | 140 | "platform": "android",
|
156 | 141 | "appRoot": "${workspaceRoot}",
|
157 | 142 | "sourceMaps": true,
|
158 |
| - "rebuild": true |
| 143 | + "watch": true |
159 | 144 | },
|
160 | 145 | {
|
161 | 146 | "name": "Attach on Android",
|
162 | 147 | "type": "nativescript",
|
163 | 148 | "request": "attach",
|
164 | 149 | "platform": "android",
|
165 | 150 | "appRoot": "${workspaceRoot}",
|
166 |
| - "sourceMaps": true |
| 151 | + "sourceMaps": true, |
| 152 | + "watch": false |
167 | 153 | }
|
168 | 154 | ],
|
169 | 155 | "configurationAttributes": {
|
|
213 | 199 | "description": "If true the launch request will launch the program without enabling debugging",
|
214 | 200 | "default": false
|
215 | 201 | },
|
216 |
| - "rebuild": { |
| 202 | + "watch": { |
217 | 203 | "type": "boolean",
|
218 |
| - "description": "Whether the app should be rebuild before start.", |
| 204 | + "description": "Whether the watch and reconnect on file change.", |
219 | 205 | "default": true
|
220 |
| - }, |
221 |
| - "syncAllFiles": { |
222 |
| - "type": "boolean", |
223 |
| - "description": "Whether to sync files from node_modules folder.", |
224 |
| - "default": false |
225 | 206 | }
|
226 | 207 | }
|
227 | 208 | },
|
|
260 | 241 | "type": "string",
|
261 | 242 | "description": "NativeScript platform",
|
262 | 243 | "default": null
|
| 244 | + }, |
| 245 | + "watch": { |
| 246 | + "type": "boolean", |
| 247 | + "description": "Whether the watch and reconnect on file change.", |
| 248 | + "default": true |
263 | 249 | }
|
264 | 250 | }
|
265 | 251 | }
|
|
0 commit comments