Permalink
Browse files

Remove postinstall script for now

  • Loading branch information...
1 parent 762aa01 commit a16639b156b316921696b6b811b9ebabba209dce @tgriesser committed Oct 19, 2016
Showing with 2 additions and 3 deletions.
  1. +0 −1 package.json
  2. +2 −2 scripts/build.js
View
@@ -71,7 +71,6 @@
"lint": "eslint src/**",
"plaintest": "mocha --check-leaks -b -R spec test/index.js && npm run tape",
"prepublish": "npm run babel",
- "postinstall": "node ./scripts/build.js lib \"npm run build\"",
"tape": "node test/tape/index.js | tap-spec",
"debug_tape": "node-debug test/tape/index.js",
"test": "npm run lint && istanbul --config=test/.istanbul.yml cover node_modules/mocha/bin/_mocha -- --check-leaks -t 10000 -b -R spec test/index.js && npm run tape"
View
@@ -20,7 +20,7 @@ var exec = function (cmd, args) {
});
child.on('error', reject);
});
-}
+}
var CWD = process.cwd();
var POSTINSTALL_BUILD_CWD = process.env.POSTINSTALL_BUILD_CWD;
@@ -58,7 +58,7 @@ if (POSTINSTALL_BUILD_CWD !== CWD) {
if (!_.isEmpty(buildDependencies)) {
var opts = { env: process.env, stdio: 'inherit' };
- console.log('Building Bookshelf.js')
+ console.log('Building Knex.js')
// Map all key (dependency) value (semver) pairs to
// "dependency@semver dependency@semver ..." string that can be used

0 comments on commit a16639b

Please sign in to comment.