opencollective-postinstall
Advanced tools
Comparing version 1.0.1 to 1.0.2
@@ -21,3 +21,3 @@ #!/usr/bin/env node | ||
console.log(padding(6), `"scripts": {`); | ||
console.log(padding(8), `"postinstall": "./bin/opencollective-postinstall"`); | ||
console.log(padding(8), `"postinstall": "./node_modules/.bin/opencollective-postinstall"`); | ||
console.log(padding(6), `}`); | ||
@@ -64,4 +64,3 @@ console.log(padding(4), `}`); | ||
if (SHOW_LOGO) { | ||
const logofilepath = './src/assets/logo.txt'; | ||
const logo = fs.readFileSync('./src/assets/logo.txt','utf8'); | ||
const logofilepath = __dirname + '/../src/assets/logo.txt'; | ||
var lineReader = require('readline').createInterface({ | ||
@@ -68,0 +67,0 @@ input: require('fs').createReadStream(logofilepath) |
{ | ||
"name": "opencollective-postinstall", | ||
"version": "1.0.1", | ||
"version": "1.0.2", | ||
"description": "Add OpenCollective as a dependency to prompt users to donate after npm install", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -19,3 +19,3 @@ # opencollective-postinstall | ||
"scripts": { | ||
"postinstall": "./bin/opencollective-postinstall [--no-logo]" // if you pass --no-logo, we won't show the Open Collective logo | ||
"postinstall": "./node_modules/.bin/opencollective-postinstall [--no-logo]" // if you pass --no-logo, we won't show the Open Collective logo | ||
}, | ||
@@ -22,0 +22,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
8121
96