UNPKG

nativescript-plugin-firebase-ssi

Version:
151 lines (150 loc) 8.82 kB
{ "name": "nativescript-plugin-firebase-ssi", "version": "10.5.4", "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": { "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": "tsc -skipLibCheck", "plugin.tscwatch": "npm run tsc -- -w", "package": "cd ../publish && ./pack.sh", "demo.ios": "npm run preparedemo && cd ../demo && tns run ios", "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/simplec-dev/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/simplec-dev/nativescript-plugin-firebase/issues" }, "homepage": "https://github.com/simplec-dev/nativescript-plugin-firebase", "readmeFilename": "README.md", "dependencies": { "fs-extra": "~2.1.0", "nativescript-hook": "~0.2.5", "nativescript-shared-notification-delegate": "~1.0.0", "prompt-lite": "~0.1.1", "xcode": "~0.9.3", "semver": "~5.7.1" }, "devDependencies": { "rimraf": "~2.7.1", "tns-core-modules": "~6.3.2", "tns-platform-declarations": "~6.3.2", "tslint": "~5.20.1", "typescript": "~3.4.5" } }