|
1 | 1 | { |
2 | 2 | "name": "nativescript-webview-utils", |
3 | | - "version": "1.2.0", |
| 3 | + "version": "1.2.1", |
4 | 4 | "description": "Add custom headers to a NativeScript WebView. Perhaps more utils later.", |
5 | 5 | "main": "webview-utils", |
6 | 6 | "typings": "index.d.ts", |
|
11 | 11 | } |
12 | 12 | }, |
13 | 13 | "scripts": { |
14 | | - "tsc": "tsc -skipLibCheck", |
15 | 14 | "build": "npm i && tsc", |
16 | | - "postclone": "npm i && node scripts/postclone.js && cd ../demo && npm i && cd ../src && npm run plugin.link", |
17 | | - "test.android": "npm i && npm run tsc && npm run tslint && cd ../demo && tns build android && tns test android --justlaunch", |
18 | | - "test.ios": "npm i && npm run tsc && npm run tslint && cd ../demo && tns build ios && tns test ios --justlaunch", |
19 | | - "tslint": "cd .. && tslint \"**/*.ts\" --config tslint.json --exclude \"**/node_modules/**\"", |
20 | | - "plugin.link": "npm link && cd ../demo && npm link nativescript-webview-utils && cd ../src", |
21 | | - "plugin.tscwatch": "npm run tsc -- -w", |
22 | | - "demo.ios": "npm i && npm run tsc && cd ../demo && tns run ios --syncAllFiles", |
23 | | - "demo.android": "npm i && npm run tsc && cd ../demo && tns run android --syncAllFiles", |
24 | | - "demo.reset": "cd ../demo && rimraf platforms", |
25 | | - "plugin.prepare": "npm run tsc && cd ../demo && tns plugin remove nativescript-webview-utils && tns plugin add ../src", |
26 | | - "clean": "cd ../demo && rimraf hooks node_modules platforms && cd ../src && rimraf node_modules && npm run plugin.link", |
27 | | - "ci.tslint": "npm i && tslint '**/*.ts' --config '../tslint.json' --exclude '**/node_modules/**'" |
| 15 | + "demo.ios": "npm run preparedemo && cd ../demo && tns run ios --emulator", |
| 16 | + "demo.ios.device": "npm run preparedemo && cd ../demo && tns platform remove ios && tns run ios", |
| 17 | + "demo.android": "npm run preparedemo && cd ../demo && tns platform remove android && tns run android --justlaunch", |
| 18 | + "test": "npm run tslint && npm run tslint.demo && cd ../demo && tns build ios && tns build android", |
| 19 | + "test.ios": "cd ../demo && tns platform remove ios && tns test ios --emulator", |
| 20 | + "test.ios.device": "cd ../demo && tns platform remove ios && tns test ios", |
| 21 | + "test.android": "cd ../demo && tns platform remove android && tns test android --justlaunch", |
| 22 | + "preparedemo": "npm run build && cd ../demo && tns plugin remove nativescript-webview-utils && tns plugin add ../src && tns install", |
| 23 | + "setup": "npm run build && cd ../demo && npm i", |
| 24 | + "setupandinstall": "npm i && cd ../demo && npm i && cd ../src && npm run build && cd ../demo && tns plugin add ../src && cd ../src", |
| 25 | + "tslint": "tslint --config '../tslint.json' '*.ts' --exclude '**/node_modules/**'", |
| 26 | + "tslint.demo": "tslint --config '../tslint.json' '../demo/app/*.ts' --exclude '**/node_modules/**'", |
| 27 | + "ci.tslint": "npm run tslint && npm run tslint.demo", |
| 28 | + "prepublishOnly": "npm run build", |
| 29 | + "development.setup": "npm run setup && npm link && cd ../demo && npm link nativescript-webview-utils && cd ../src" |
28 | 30 | }, |
29 | 31 | "keywords": [ |
30 | 32 | "ecosystem:NativeScript", |
|
50 | 52 | "tns-core-modules": "~3.4.0", |
51 | 53 | "tns-platform-declarations": "~3.4.0", |
52 | 54 | "typescript": "~2.6.0", |
53 | | - "prompt": "^1.0.0", |
54 | | - "rimraf": "^2.5.0", |
55 | 55 | "tslint": "^5.0.0" |
56 | 56 | }, |
57 | 57 | "dependencies": {}, |
|
0 commit comments