forked from EddyVerbruggen/nativescript-plugin-firebase
-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathpackage.json
More file actions
154 lines (154 loc) · 8.92 KB
/
package.json
File metadata and controls
154 lines (154 loc) · 8.92 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
{
"name": "@nativescript/firebase",
"version": "11.1.1-rc.0",
"description": "Fire. Base. Firebase!",
"main": "firebase",
"typings": "index.d.ts",
"nativescript": {
"platforms": {
"android": "5.2.0",
"ios": "5.2.0"
},
"plugin": {
"nan": "true",
"pan": "true",
"core3": "true",
"category": "Processing"
},
"hooks": [
{
"type": "before-prepare",
"script": "scripts/entitlements-before-prepare.js",
"inject": true
},
{
"type": "after-prepare",
"script": "scripts/entitlements-after-prepare.js",
"inject": true
}
]
},
"config": {
"typingsproject": "demo-ng"
},
"scripts": {
"clean": "npx rimraf node_modules package-lock.json && npm i --ignore-scripts && ts-patch install",
"postinstall": "node postinstall-hooks.js && node scripts/postinstall.js",
"preuninstall": "node preuninstall-hooks.js",
"setup": "node scripts/postinstall.js setup",
"config": "node scripts/postinstall.js config",
"tsc": "ts-patch install && tsc -skipLibCheck",
"plugin.tscwatch": "npm run tsc -- -w",
"package": "cd ../publish && ./pack.sh",
"demo.ios": "npm run preparedemo && cd ../demo && tns run ios",
"demo.ios.eddy.iPad": "npm run preparedemo && cd ../demo && tns run ios --device fee4cf319a242eab4701543e4c16db89c722731f",
"demo-ng.ios": "npm run preparedemo-ng && cd ../demo-ng && tns run ios",
"demo-ng.ios.bundled": "npm run preparedemo-ng && cd ../demo-ng && tns run ios --bundle",
"demo-push.ios": "npm run preparedemo-push && cd ../demo-push && tns run ios",
"demo-push.ios.release": "npm run preparedemo-push && cd ../demo-push && tns build ios --release --for-device",
"demo-push.ios.eddy.iphoneX": "npm run preparedemo-push && cd ../demo-push && tns run ios --device a4cbb499e279054b55c206528f8510ff7fbf20c8",
"demo.android": "npm run preparedemo && cd ../demo && rimraf platforms/android && tns run android",
"demo-ng.android": "npm run preparedemo-ng && cd ../demo-ng && tns run android",
"demo-ng.android.build": "npm run preparedemo-ng && cd ../demo-ng && tns build android",
"demo-ng.android.bundled": "npm run preparedemo-ng && cd ../demo-ng && tns run android --bundle",
"demo-push.android": "npm run preparedemo-push && cd ../demo-push && tns run android",
"demo-vue.ios": "npm run preparedemo-vue && cd ../demo-vue && tns run ios --bundle",
"demo-vue.android": "npm run preparedemo-vue && cd ../demo-vue && tns run android --bundle",
"test": "npm run tslint && npm run tslint.demo && cd ../demo && tns build ios && tns build android",
"test.ios": "cd ../demo && tns test ios --emulator",
"test.ios.device": "cd ../demo && tns platform remove ios && tns test ios",
"test.android": "cd ../demo && tns test android --justlaunch",
"preparedemo": "npm run tsc && npm run package && cd ../demo && tns plugin add ../publish/package/*.tgz && tns install",
"preparedemo-ng": "npm run tsc && npm run package && cd ../demo-ng && tns plugin remove nativescript-plugin-firebase && tns plugin add ../publish/package/*.tgz",
"preparedemo-push": "npm run tsc && npm run package && cd ../demo-push && tns plugin remove nativescript-plugin-firebase && tns plugin add ../publish/package/*.tgz && tns install",
"preparedemo-vue": "npm run tsc && npm run package && cd ../demo-vue && tns plugin remove nativescript-plugin-firebase && tns plugin add ../publish/package/*.tgz && tns install",
"setupandinstall": "npm i && npm run tsc && npm run package && cd ../demo && npm i && cd ../demo-ng && npm i && cd ../demo-push && npm i && cd ../src && npm run tsc && cd ../demo && tns plugin add ../src && cd ../demo-ng && tns plugin add ../src && cd ../demo-push && tns plugin add ../src && cd ../src",
"tslint": "tslint --config '../tslint.json' '*.ts' --exclude '**/node_modules/**'",
"tslint.demo": "tslint --config '../tslint.json' '../demo/app/*.ts' --exclude '**/node_modules/**'",
"tslint.demo-ng": "tslint --config '../tslint.json' '../demo-ng/app/*.ts' --exclude '**/node_modules/**'",
"tslint.demo-push": "tslint --config '../tslint.json' '../demo-push/app/*.ts' --exclude '**/node_modules/**'",
"ci.tslint": "npm run tslint && npm run tslint.demo",
"development.setup": "npm run setup && npm link && cd ../demo && npm link nativescript-plugin-firebase && cd ../src",
"android.list-devices": "tns device android --available-devices",
"ios.list-devices": "tns device ios --available-devices",
"generate.typings.ios": "echo '##### Make sure to first run demo-ng.ios.. if a build error occurs after metadata is generate but not typings, paste the typings command in the cmd line in the demo-ng folder. #####' && cd ../demo-ng && 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-ng/typings!'",
"generate.typings.android": "echo '##### Download the latest relevant .aar file from https://mvnrepository.com/artifact/com.google.firebase, rename .aar to .zip and extract it. Then move classes.jar to the plugin /src folder' && java -jar ../../android-dts-generator/dts-generator/build/libs/dts-generator.jar -input ./classes.jar -output platforms/android/typings/$npm_package_config_typings && rimraf classes.jar && echo '##### Done! Deleted src/classes.jar, and generated typings in src/platforms/android/typings/'",
"generate.typings.android.analytics": "npm run generate.typings.android --nativescript-plugin-firebase:typings=analytics-impl",
"generate.typings.android.auth": "npm run generate.typings.android --nativescript-plugin-firebase:typings=auth",
"generate.typings.android.database": "npm run generate.typings.android --nativescript-plugin-firebase:typings=database --nativescript-plugin-firebase:typingsproject=demo",
"generate.typings.android.dynamiclinks": "npm run generate.typings.android --nativescript-plugin-firebase:typings=dynamiclinks --nativescript-plugin-firebase:typingsproject=demo",
"generate.typings.android.firestore": "npm run generate.typings.android --nativescript-plugin-firebase:typings=firestore",
"generate.typings.android.messaging": "npm run generate.typings.android --nativescript-plugin-firebase:typings=messaging",
"generate.typings.android.playservices.gms": "npm run generate.typings.android --nativescript-plugin-firebase:typings=playservices/gms",
"generate.typings.android.remoteconfig": "npm run generate.typings.android --nativescript-plugin-firebase:typings=remoteconfig",
"generate.typings.android.storage": "npm run generate.typings.android --nativescript-plugin-firebase:typings=storage",
"generate.typings.android.functions": "npm run generate.typings.android --nativescript-plugin-firebase:typings=functions",
"generate.typings.android.mlkit": "npm run generate.typings.android --nativescript-plugin-firebase:typings=mlkit",
"generate.typings.android.crashlytics": "npm run generate.typings.android --nativescript-plugin-firebase:typings=crashlytics",
"generate.typings.android.inappmessaging": "npm run generate.typings.android --nativescript-plugin-firebase:typings=inappmessaging",
"generate.typings.android.performance": "npm run generate.typings.android --nativescript-plugin-firebase:typings=performance",
"generate.typings.android.nativescript-android-lib": "npm run generate.typings.android --nativescript-plugin-firebase:typings=nativescript-android-lib"
},
"repository": {
"type": "git",
"url": "https://github.com/eddyverbruggen/nativescript-plugin-firebase.git"
},
"keywords": [
"ecosystem:nativescript",
"NativeScript",
"Firebase",
"Firestore",
"Database",
"Authentication",
"Push Notifications",
"Notifications",
"Messaging",
"Remote Configuration",
"Storage",
"Crashlytics",
"Analytics",
"Facebook",
"Google",
"AdMob",
"In-App Messaging",
"Performance Monitoring",
"Dynamic Links",
"ML Kit",
"Machine Learning",
"Barcode Scanning",
"Face Detection",
"Image Labeling",
"Landmark Recognition",
"Smart Reply",
"Natural Language",
"Custom Model",
"Text Recognition"
],
"author": {
"name": "Eddy Verbruggen",
"email": "eddyverbruggen@gmail.com"
},
"license": "MIT",
"bugs": {
"url": "https://github.com/eddyverbruggen/nativescript-plugin-firebase/issues"
},
"homepage": "https://github.com/eddyverbruggen/nativescript-plugin-firebase",
"readmeFilename": "README.md",
"dependencies": {
"fs-extra": "~9.0.1",
"@nativescript/hook": "~2.0.0",
"@nativescript/shared-notification-delegate": "~1.0.0",
"prompt-lite": "~0.1.1",
"xcode": "~0.9.3",
"semver": "~7.3.2"
},
"devDependencies": {
"rimraf": "~3.0.2",
"@nativescript/core": "~7.0.0",
"@nativescript/types": "~7.0.0",
"@nativescript/webpack": "~3.0.0",
"tslint": "~6.1.3",
"typescript": "~4.0.0",
"ts-patch": "^1.3.0"
}
}