Skip to content

Commit

Permalink
feat(Server)!: setup exports
Browse files Browse the repository at this point in the history
  • Loading branch information
hans00 committed Jul 3, 2022
1 parent e96406a commit b8d9298
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion packages/server/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,17 @@
"version": "2.4.2",
"description": "A simple Node.js server based on uWebSockets",
"main": "js/index.js",
"gypfile": true,
"engines": {
"node": ">=14.0.0"
},
"exports": {
".": "./js/index.js",
"./constants": "./js/constants.js",
"./request": "./js/request.js",
"./response": "./js/response.js",
"./error": "./js/errors.js",
"./ws-base": "./js/ws-protocol/basic.js"
},
"repository": {
"type": "git",
"url": "git+https://github.com/hans00/fastWS.git"
Expand Down

0 comments on commit b8d9298

Please sign in to comment.