Browse Source

fix: Explicitly depend on packages' optional dependencies

[istanbul](https://www.npmjs.com/package/istanbul) and
[escodegen](https://www.npmjs.com/package/escodegen) have optional
dependencies, which for some reason `npm ls` in npm version 3 fails to
handle properly. We don't need these packages, but installing them does
little harm so it seems to be the best way to make our precommit-hook
scripts pass for all users.
pull/562/head
Julian Simioni 9 years ago
parent
commit
a4c31b6f8d
No known key found for this signature in database
GPG Key ID: 6DAD08919FDBF563
  1. 4
      package.json

4
package.json

@ -66,8 +66,10 @@
"nsp": "^2.2.0", "nsp": "^2.2.0",
"precommit-hook": "^3.0.0", "precommit-hook": "^3.0.0",
"proxyquire": "^1.7.7", "proxyquire": "^1.7.7",
"source-map": "^0.5.6",
"tap-dot": "1.0.5", "tap-dot": "1.0.5",
"tape": "^4.5.1" "tape": "^4.5.1",
"uglify-js": "^2.6.2"
}, },
"pre-commit": [ "pre-commit": [
"lint", "lint",

Loading…
Cancel
Save