From 1d1ea0d2e02e97fc82abd72e4f37546c6600358d Mon Sep 17 00:00:00 2001 From: Guilherme Nagatomo Date: Tue, 4 Dec 2018 15:02:59 -0200 Subject: [PATCH] Removed postinstall-build in favor of npm prepare script --- package.json | 3 +-- postinstall-build.js | 3 --- 2 files changed, 1 insertion(+), 5 deletions(-) delete mode 100755 postinstall-build.js diff --git a/package.json b/package.json index 3b7e0f28..8d544ff9 100644 --- a/package.json +++ b/package.json @@ -6,7 +6,6 @@ "dependencies": { "a-sync-waterfall": "^1.0.0", "asap": "^2.0.3", - "postinstall-build": "^5.0.1", "yargs": "^3.32.0" }, "browser": "./browser/nunjucks.js", @@ -72,7 +71,7 @@ "codecov": "codecov", "mocha": "mocha -R spec tests", "lint": "eslint nunjucks scripts tests", - "postinstall": "node postinstall-build.js src", + "prepare": "npm run build", "test:instrument": "cross-env NODE_ENV=test scripts/bundle.js", "test:runner": "cross-env NODE_ENV=test scripts/testrunner.js", "test": "npm run lint && npm run test:instrument && npm run test:runner" diff --git a/postinstall-build.js b/postinstall-build.js deleted file mode 100755 index 010954f4..00000000 --- a/postinstall-build.js +++ /dev/null @@ -1,3 +0,0 @@ -#!/usr/bin/env node -require('postinstall-build/index')(); -