Skip to content

Commit

Permalink
add browser field to support browserify
Browse files Browse the repository at this point in the history
Allows for superagent to be used with browserify (or other browser field
compatible packaging tools).
  • Loading branch information
defunctzombie committed May 8, 2013
1 parent 78efc03 commit e7857a3
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions package.json
Expand Up @@ -20,9 +20,10 @@
"qs": "0.5.6",
"formidable": "1.0.9",
"mime": "1.2.5",
"emitter-component": "0.0.6",
"emitter": "component/emitter#1.0.0",
"methods": "0.0.1",
"cookiejar": "1.3.0"
"cookiejar": "1.3.0",
"reduce": "RedVentures/reduce#346d59"
},
"devDependencies": {
"express": "3.0.3",
Expand All @@ -35,6 +36,7 @@
"superagent": "lib/client.js"
}
},
"browser": "./lib/client.js",
"main": "lib/node",
"engines": {
"node": "*"
Expand Down

0 comments on commit e7857a3

Please sign in to comment.