nativescript-push-notifications
Advanced tools
Comparing version
{ | ||
"name": "nativescript-push-notifications", | ||
"version": "1.1.0", | ||
"version": "1.1.1", | ||
"description": "Receive push notifications in your NativeScript app on Android and iOS.", | ||
@@ -32,7 +32,6 @@ "main": "push-plugin", | ||
"scripts": { | ||
"tsc": "tsc -skipLibCheck", | ||
"build": "npm i --ignore-scripts && tsc && cd ../publish && ./pack.sh", | ||
"build": "npm i && tsc", | ||
"tslint": "cd .. && tslint \"**/*.ts\" --config tslint.json --exclude \"**/node_modules/**\"", | ||
"clean": "cd ../demo && rimraf hooks node_modules platforms && cd ../src && rimraf node_modules && npm run plugin.link", | ||
"ci.tslint": "npm i --ignore-scripts && tslint '**/*.ts' --config ../tslint.json --exclude '**/node_modules/**'", | ||
"clean": "cd ../demo && rimraf hooks node_modules platforms && cd ../src && rimraf node_modules", | ||
"ci.tslint": "npm i && tslint '**/*.ts' --config ../tslint.json --exclude '**/node_modules/**'", | ||
"postinstall": "node scripts/postinstall.js", | ||
@@ -42,3 +41,3 @@ "preuninstall": "node scripts/preuninstall.js" | ||
"dependencies": { | ||
"nativescript-hook": "0.2.2" | ||
"nativescript-hook": "^0.2.0" | ||
}, | ||
@@ -52,2 +51,2 @@ "devDependencies": { | ||
} | ||
} | ||
} |
@@ -0,0 +0,0 @@ export interface FcmNotificaion { |
@@ -0,0 +0,0 @@ "use strict"; |
@@ -0,0 +0,0 @@ export interface IosInteractiveNotificationAction { |
@@ -0,0 +0,0 @@ "use strict"; |
var path = require('path'); | ||
var utils = require('../hooks/utils'); | ||
var projDir = path.resolve(__dirname, '../../../'); | ||
require('nativescript-hook')(path.resolve(__dirname, '../')).postinstall(); | ||
var hook = require('nativescript-hook')(path.resolve(__dirname, '../')); | ||
var projDir = hook.findProjectDir(); | ||
utils.checkForGoogleServicesJson(projDir, path.join(projDir, 'app', 'App_Resources')); | ||
utils.addOnPluginInstall(path.join(projDir, 'platforms')); | ||
hook.postinstall(); | ||
if (projDir) { | ||
utils.checkForGoogleServicesJson(projDir, path.join(projDir, 'app', 'App_Resources')); | ||
utils.addOnPluginInstall(path.join(projDir, 'platforms')); | ||
} |
var path = require('path'); | ||
var utils = require('../hooks/utils'); | ||
var platformsDir = path.resolve(__dirname, '../../../platforms'); | ||
require('nativescript-hook')(path.resolve(__dirname, '../')).preuninstall(); | ||
var hook = require('nativescript-hook')(path.resolve(__dirname, '../')); | ||
var projDir = hook.findProjectDir(); | ||
utils.removeIfPresent(platformsDir); | ||
hook.preuninstall(); | ||
if (projDir) { | ||
utils.removeIfPresent(path.join(projDir, 'platforms')); | ||
} |
Sorry, the diff of this file is not supported yet
No README
QualityPackage does not have a README. This may indicate a failed publish or a low quality package.
Found 1 instance in 1 package
490
0.82%461637
-5.26%21
-12.5%2
100%0
-100%+ Added
- Removed
Updated