diff --git a/jakefile.js b/jakefile.js index 0eebf2e0..271c167d 100644 --- a/jakefile.js +++ b/jakefile.js @@ -60,7 +60,6 @@ publishTask('ejs', ['build'], function () { 'README.md', 'LICENSE', 'package.json', - 'postinstall.js', 'ejs.js', 'ejs.min.js', 'lib/**', diff --git a/package.json b/package.json index 5d140238..cc23ea05 100644 --- a/package.json +++ b/package.json @@ -37,7 +37,6 @@ "node": ">=0.10.0" }, "scripts": { - "test": "mocha", - "postinstall": "node --harmony ./postinstall.js" + "test": "mocha" } } diff --git a/postinstall.js b/postinstall.js deleted file mode 100755 index e62f3c67..00000000 --- a/postinstall.js +++ /dev/null @@ -1,17 +0,0 @@ -#!/usr/bin/env node - -'use strict'; - -function isTrue(value) { - return !!value && value !== '0' && value !== 'false'; -} - -let envDisable = isTrue(process.env.DISABLE_OPENCOLLECTIVE) || isTrue(process.env.CI); -let logLevel = process.env.npm_config_loglevel; -let logLevelDisplay = ['silent', 'error', 'warn'].indexOf(logLevel) > -1; - -if (!(envDisable || logLevelDisplay)) { - console.log('Thank you for installing \u001b[35mEJS\u001b[0m: built with the \u001b[32mJake\u001b[0m JavaScript build tool (\u001b[32mhttps://jakejs.com/\u001b[0m\)\n'); -} - -