Skip to content

Commit

Permalink
Use github tarball link for esprima dependency
Browse files Browse the repository at this point in the history
It turns out that (at least for local development) npm has a long
standing bug where it doesn't recognize changing dependencies stored as
git urls (see https://github.com/isaacs/npm/issues/1727). Luckily npm
understand tarballs and GitHub provides tarballs for every commit, so
the workaround is easy, though unfortunate.
  • Loading branch information
zpao committed Jun 18, 2013
1 parent 870a29d commit bd044fc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
"dependencies": {
"base62": "~0.1.1",
"commoner": "~0.7.0",
"esprima": "git://github.com/facebook/esprima#fb-harmony",
"esprima": "https://github.com/facebook/esprima/tarball/ca28795124d45968e62a7b4b336d23a053ac3a84",
"recast": "~0.4.8",
"source-map": "~0.1.22"
},
Expand Down

0 comments on commit bd044fc

Please sign in to comment.