Skip to content

Commit

Permalink
Add "browser" property to package.json (#847)
Browse files Browse the repository at this point in the history
* Use wswrapper shim for browserify
  • Loading branch information
intelliot authored Feb 11, 2018
1 parent 139159b commit 4f60fc3
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,9 @@
"Gulpfile.js"
],
"main": "dist/npm/",
"browser": {
"ws": "./dist/npm/common/wswrapper.js"
},
"directories": {
"test": "test"
},
Expand Down Expand Up @@ -78,6 +81,6 @@
},
"readmeFilename": "README.md",
"engines": {
"node": ">=0.12.0"
"node": ">=6.12.3"
}
}

0 comments on commit 4f60fc3

Please sign in to comment.