mirror of
https://github.com/Xahau/xahau.js.git
synced 2025-12-06 17:27:59 +00:00
Add "browser" property to package.json (#847)
* Use wswrapper shim for browserify
This commit is contained in:
@@ -11,6 +11,9 @@
|
||||
"Gulpfile.js"
|
||||
],
|
||||
"main": "dist/npm/",
|
||||
"browser": {
|
||||
"ws": "./dist/npm/common/wswrapper.js"
|
||||
},
|
||||
"directories": {
|
||||
"test": "test"
|
||||
},
|
||||
@@ -78,6 +81,6 @@
|
||||
},
|
||||
"readmeFilename": "README.md",
|
||||
"engines": {
|
||||
"node": ">=0.12.0"
|
||||
"node": ">=6.12.3"
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user