|
1 | 1 | {
|
2 | 2 | "name": "nativescript-floatingactionbutton",
|
3 |
| - "version": "4.0.3", |
4 |
| - "description": "A NativeScript plugin for Material Design Floating Action Button.", |
| 3 | + "version": "4.1.0", |
| 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": {
|
8 | 9 | "platforms": {
|
9 | 10 | "android": "3.0.0",
|
10 | 11 | "ios": "3.0.0"
|
| 12 | + }, |
| 13 | + "plugin": { |
| 14 | + "nan": true, |
| 15 | + "pan": true, |
| 16 | + "core3": "true", |
| 17 | + "category": "Interface" |
11 | 18 | }
|
12 | 19 | },
|
13 | 20 | "repository": {
|
|
17 | 24 | "scripts": {
|
18 | 25 | "tsc": "tsc -skipLibCheck",
|
19 | 26 | "build": "npm i && tsc",
|
20 |
| - "postclone": "npm i && node scripts/postclone.js && cd ../demo && npm i && cd ../src && npm run plugin.link", |
21 |
| - "test.android": "npm i && npm run tsc && npm run tslint && cd ../demo && tns build android && tns test android --justlaunch", |
22 |
| - "test.ios": "npm i && npm run tsc && npm run tslint && cd ../demo && tns build ios && tns test ios --justlaunch", |
23 |
| - "tslint": "cd .. && tslint \"**/*.ts\" --config tslint.json --exclude \"**/node_modules/**\"", |
24 |
| - "plugin.link": "npm link && cd ../demo && npm link nativescript-floatingactionbutton && cd ../src", |
| 27 | + "postclone": |
| 28 | + "npm i && node scripts/postclone.js && cd ../demo && npm i && cd ../src && npm run plugin.link", |
| 29 | + "test.android": |
| 30 | + "npm i && npm run tsc && npm run tslint && cd ../demo && tns build android && tns test android --justlaunch", |
| 31 | + "test.ios": |
| 32 | + "npm i && npm run tsc && npm run tslint && cd ../demo && tns build ios && tns test ios --justlaunch", |
| 33 | + "tslint": |
| 34 | + "cd .. && tslint \"**/*.ts\" --config tslint.json --exclude \"**/node_modules/**\"", |
| 35 | + "plugin.link": |
| 36 | + "npm link && cd ../demo && npm link nativescript-floatingactionbutton && cd ../src", |
25 | 37 | "plugin.tscwatch": "npm run tsc -- -w",
|
26 |
| - "demo.ios": "npm i && npm run tsc && cd ../demo && tns run ios --syncAllFiles", |
27 |
| - "demo.android": "npm i && npm run tsc && cd ../demo && tns run android --syncAllFiles", |
| 38 | + "demo.ios": |
| 39 | + "npm i && npm run tsc && cd ../demo && tns run ios --syncAllFiles", |
| 40 | + "demo.android": |
| 41 | + "npm i && npm run tsc && cd ../demo && tns run android --syncAllFiles", |
28 | 42 | "demo.reset": "cd ../demo && rimraf platforms",
|
29 |
| - "plugin.prepare": "npm run tsc && cd ../demo && tns plugin remove nativescript-floatingactionbutton && tns plugin add ../src", |
30 |
| - "clean": "cd ../demo && rimraf hooks node_modules platforms && cd ../src && rimraf node_modules && npm run plugin.link", |
31 |
| - "ci.tslint": "npm i && tslint '**/*.ts' --config '../tslint.json' --exclude '**/node_modules/**'" |
| 43 | + "plugin.prepare": |
| 44 | + "npm run tsc && cd ../demo && tns plugin remove nativescript-floatingactionbutton && tns plugin add ../src", |
| 45 | + "clean": |
| 46 | + "cd ../demo && rimraf hooks node_modules platforms && cd ../src && rimraf node_modules && npm run plugin.link", |
| 47 | + "ci.tslint": |
| 48 | + "npm i && tslint '**/*.ts' --config '../tslint.json' --exclude '**/node_modules/**'", |
| 49 | + "pre-commit": "npm run lint-staged" |
32 | 50 | },
|
33 | 51 | "lint-staged": {
|
34 |
| - "*.ts": [ |
35 |
| - "prettier --write", |
36 |
| - "git add" |
37 |
| - ] |
| 52 | + "*.ts": ["prettier --write", "git add"] |
38 | 53 | },
|
39 | 54 | "keywords": [
|
| 55 | + "ecosystem:nativescript", |
40 | 56 | "NativeScript",
|
41 | 57 | "native",
|
42 | 58 | "javascript",
|
|
48 | 64 | "bradmartin",
|
49 | 65 | "nStudio"
|
50 | 66 | ],
|
51 |
| - "author": "Brad Martin <[email protected]> (https://github.com/bradmartin)", |
| 67 | + "author": { |
| 68 | + "name": "Brad Martin", |
| 69 | + "url": "https://github.com/bradmartin", |
| 70 | + |
| 71 | + }, |
52 | 72 | "contributors": [
|
53 | 73 | {
|
54 | 74 | "name": "Lázaro Danillo",
|
|
80 | 100 | }
|
81 | 101 | ],
|
82 | 102 | "license": "MIT",
|
83 |
| - "bugs": "https://github.com/bradmartin/nativescript-floatingactionbutton/issues", |
| 103 | + "bugs": |
| 104 | + "https://github.com/bradmartin/nativescript-floatingactionbutton/issues", |
84 | 105 | "homepage": "https://github.com/bradmartin/nativescript-floatingactionbutton",
|
85 | 106 | "devDependencies": {
|
86 | 107 | "husky": "^0.13.4",
|
87 | 108 | "lint-staged": "^3.6.1",
|
88 | 109 | "prettier": "^1.4.4",
|
89 | 110 | "tns-core-modules": "^3.1.0",
|
90 | 111 | "tns-platform-declarations": "^3.1.0",
|
91 |
| - "typescript": "^2.2.2" |
92 |
| - }, |
93 |
| - "peerDependencies": { |
94 |
| - "tns-core-modules": "^3.0.0 || ^3.0.0-rc.1" |
| 112 | + "tslint": "^5.1.0", |
| 113 | + "typescript": "~2.3.0" |
95 | 114 | }
|
96 | 115 | }
|
0 commit comments