-
Notifications
You must be signed in to change notification settings - Fork 11
/
package.json
36 lines (36 loc) · 1012 Bytes
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
{
"name": "pws",
"version": "7.0.0",
"description": "A Persistent WebSocket wrapper",
"type": "module",
"module": "pws.js",
"browser": "pws.umd.js",
"main": "pws.umd.js",
"exports": {
"import": "./pws.js",
"default": "./umd/pws.js"
},
"repository": "porsager/pws",
"keywords": [
"websocket",
"reconnect",
"ubre",
"ping",
"timeout"
],
"scripts": {
"test": "node test.js",
"prepublishOnly": "npm run build",
"build": "node -e 'fs.writeFileSync(\"umd/pws.js\",\";(function(g){\"+fs.readFileSync(\"pws.js\",\"utf8\").replace(\"export default pws\",`typeof exports===\"object\"&&typeof module\\!==\"undefined\"?module.exports=pws:((g?g:self).pws=pws);`) + \"})(this);\")'"
},
"author": "Rasmus Porsager <[email protected]>",
"license": "WTFPL",
"homepage": "https://github.com/porsager/pws#readme",
"bugs": {
"url": "https://github.com/porsager/pws/issues"
},
"devDependencies": {
"fantestic": "0.0.3",
"ws": "8.8.1"
}
}