|
1 | 1 | {
|
2 | 2 | "name": "nativescript-floatingactionbutton",
|
3 | 3 | "version": "4.1.0",
|
4 |
| - "description": "A NativeScript plugin for Material Design Floating Action Button.", |
| 4 | + "description": |
| 5 | + "A NativeScript plugin for Material Design Floating Action Button.", |
5 | 6 | "main": "fab",
|
6 | 7 | "typings": "index.d.ts",
|
7 | 8 | "nativescript": {
|
|
23 | 24 | "scripts": {
|
24 | 25 | "tsc": "tsc -skipLibCheck",
|
25 | 26 | "build": "npm i && tsc",
|
26 |
| - "postclone": "npm i && node scripts/postclone.js && cd ../demo && npm i && cd ../src && npm run plugin.link", |
27 |
| - "test.android": "npm i && npm run tsc && npm run tslint && cd ../demo && tns build android && tns test android --justlaunch", |
28 |
| - "test.ios": "npm i && npm run tsc && npm run tslint && cd ../demo && tns build ios && tns test ios --justlaunch", |
29 |
| - "tslint": "cd .. && tslint \"**/*.ts\" --config tslint.json --exclude \"**/node_modules/**\"", |
30 |
| - "plugin.link": "npm link && cd ../demo && npm link nativescript-floatingactionbutton && cd ../src", |
31 |
| - "plugin.tscwatch": "npm run tsc -- -w", |
32 |
| - "demo.ios": "npm i && npm run tsc && cd ../demo && tns run ios --syncAllFiles", |
33 |
| - "demo.android": "npm i && npm run tsc && cd ../demo && tns run android --syncAllFiles", |
34 |
| - "demo.reset": "cd ../demo && rimraf platforms", |
35 |
| - "plugin.prepare": "npm run tsc && cd ../demo && tns plugin remove nativescript-floatingactionbutton && tns plugin add ../src", |
36 |
| - "clean": "cd ../demo && rimraf hooks node_modules platforms && cd ../src && rimraf node_modules && npm run plugin.link", |
37 |
| - "ci.tslint": "npm i && tslint '**/*.ts' --config '../tslint.json' --exclude '**/node_modules/**'" |
| 27 | + "demo.ios": "npm run preparedemo && cd ../demo && tns run ios --emulator", |
| 28 | + "demo.ios.device": |
| 29 | + "npm run preparedemo && cd ../demo && tns platform remove ios && tns run ios", |
| 30 | + "demo.android": |
| 31 | + "npm run preparedemo && cd ../demo && tns platform remove android && tns run android --justlaunch", |
| 32 | + "test": |
| 33 | + "npm run tslint && npm run tslint.demo && cd ../demo && tns build ios && tns build android", |
| 34 | + "test.ios": |
| 35 | + "cd ../demo && tns platform remove ios && tns test ios --emulator", |
| 36 | + "test.ios.device": "cd ../demo && tns platform remove ios && tns test ios", |
| 37 | + "test.android": |
| 38 | + "cd ../demo && tns platform remove android && tns test android --justlaunch", |
| 39 | + "preparedemo": |
| 40 | + "npm run build && cd ../demo && tns plugin remove nativescript-floatingactionbutton && tns plugin add ../src && tns install", |
| 41 | + "setup": "npm run build && cd ../demo && npm i", |
| 42 | + "setupandinstall": |
| 43 | + "npm i && cd ../demo && npm i && cd ../src && npm run build && cd ../demo && tns plugin add ../src && cd ../src", |
| 44 | + "tslint": |
| 45 | + "tslint --config '../tslint.json' '*.ts' --exclude '**/node_modules/**'", |
| 46 | + "tslint.demo": |
| 47 | + "tslint --config '../tslint.json' '../demo/app/*.ts' --exclude '**/node_modules/**'", |
| 48 | + "ci.tslint": "npm run tslint && npm run tslint.demo", |
| 49 | + "prepublishOnly": "npm run build", |
| 50 | + "development.setup": |
| 51 | + "npm run setup && npm link && cd ../demo && npm link nativescript-floatingactionbutton && cd ../src", |
| 52 | + "generate.typings.ios": |
| 53 | + "cd ../demo && TNS_DEBUG_METADATA_PATH=\"$(pwd)/metadata\" tns build ios && TNS_TYPESCRIPT_DECLARATIONS_PATH=\"$(pwd)/typings\" tns build ios && echo 'Now look for your library typings in demo/typings!'" |
38 | 54 | },
|
39 | 55 | "lint-staged": {
|
40 |
| - "*.ts": [ |
41 |
| - "prettier --write", |
42 |
| - "git add" |
43 |
| - ] |
| 56 | + "*.ts": ["prettier --write", "git add"] |
44 | 57 | },
|
45 | 58 | "keywords": [
|
46 | 59 | "ecosystem:nativescript",
|
|
91 | 104 | }
|
92 | 105 | ],
|
93 | 106 | "license": "MIT",
|
94 |
| - "bugs": "https://github.com/bradmartin/nativescript-floatingactionbutton/issues", |
| 107 | + "bugs": |
| 108 | + "https://github.com/bradmartin/nativescript-floatingactionbutton/issues", |
95 | 109 | "homepage": "https://github.com/bradmartin/nativescript-floatingactionbutton",
|
96 | 110 | "devDependencies": {
|
97 | 111 | "husky": "^0.13.4",
|
|
0 commit comments