Skip to content

Commit

Permalink
Fix error when running npm install nunjucks --no-bin-links
Browse files Browse the repository at this point in the history
refs #1073
  • Loading branch information
fdintino committed Feb 23, 2018
1 parent 2c97201 commit 2c0591e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion package.json
Expand Up @@ -71,7 +71,7 @@
"codecov": "codecov",
"mocha": "mocha -R spec tests",
"lint": "eslint nunjucks scripts tests",
"postinstall": "postinstall-build src",
"postinstall": "node scripts/postinstall-build.js src",
"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"
Expand Down
3 changes: 3 additions & 0 deletions scripts/postinstall-build.js
@@ -0,0 +1,3 @@
#!/usr/bin/env node
require('postinstall-build/index')();

0 comments on commit 2c0591e

Please sign in to comment.