Skip to content

Commit

Permalink
Added the path to the executable for npm rc 1.0.x
Browse files Browse the repository at this point in the history
This should work in older versions of npm as well. Without the bin reference in npm 1.0.x it won't get installed into a PATH. I just upgraded npm this evening and adding this in and running npm link seems to work fine.
  • Loading branch information
Matthew Kitt committed Apr 26, 2011
1 parent eca1caa commit 7a6827e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion package.json
Expand Up @@ -12,7 +12,8 @@
"type": "MIT",
"url": "http://www.opensource.org/licenses/mit-license.php"
}],
"main": "./packages/jshint/jshint",
"bin": { "jshint": "./bin/jshint" },
"main": "packages/jshint/jshint",
"files": [
"packages/jshint/README.markdown",
"packages/jshint/jshint.js",
Expand Down

0 comments on commit 7a6827e

Please sign in to comment.