@nativescript/hook
Advanced tools
Comparing version 1.0.0-alpha.1 to 1.0.0
@@ -102,6 +102,3 @@ module.exports = function (__dirname) { | ||
var hookFileName = generateHookName(pkg, hook); | ||
console.log('hookFileName:', hookFileName); | ||
var hookPath = path.join(hookDir, hookFileName); | ||
console.log('hookPath:', hookPath); | ||
console.log('pkg.name:', pkg.name); | ||
@@ -125,5 +122,5 @@ var trampoline = util.format('%srequire("%s/%s");', hook.inject ? 'module.exports = ' : '', pkg.name, hook.script); | ||
} catch (err) { | ||
console.warn('nativescript-hook: ' + err.toString()); | ||
console.warn('@nativescript/hook: ' + err.toString()); | ||
} | ||
}); | ||
} |
{ | ||
"name": "@nativescript/hook", | ||
"version": "1.0.0-alpha.1", | ||
"version": "1.0.0", | ||
"description": "Helper module for installing hooks into NativeScript projects", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -1,2 +0,2 @@ | ||
nativescript-hook | ||
@nativescript/hook | ||
======================================= | ||
@@ -41,3 +41,3 @@ | ||
``` | ||
require('nativescript-hook')(__dirname).postinstall(); | ||
require('@nativescript/hook')(__dirname).postinstall(); | ||
``` | ||
@@ -47,3 +47,3 @@ | ||
``` | ||
require('nativescript-hook')(__dirname).preuninstall(); | ||
require('@nativescript/hook')(__dirname).preuninstall(); | ||
``` | ||
@@ -50,0 +50,0 @@ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
1
20269
105