forked from pladaria/reconnecting-websocket
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
83 lines (83 loc) · 2.52 KB
/
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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
{
"name": "@opensumi/reconnecting-websocket",
"version": "4.4.0",
"description": "Reconnecting WebSocket",
"main": "./dist/reconnecting-websocket-cjs.js",
"module": "./dist/reconnecting-websocket-mjs.js",
"types": "./dist/reconnecting-websocket.d.ts",
"scripts": {
"build": "npm run clean && rollup -c && uglifyjs --compress --mangle -o dist/reconnecting-websocket-iife.min.js dist/reconnecting-websocket-iife.js",
"test": "jest --coverage",
"clean": "del dist && del coverage && del .nyc_output",
"report": "nyc report --reporter=html && opn coverage/index.html",
"coveralls": "cat ./coverage/lcov.info | ./node_modules/.bin/coveralls",
"lint": "DEBUG=eslint:file-enumerator eslint __tests__/*.* ./*.ts",
"prepublishOnly": "npm run clean && npm run lint && npm run build && npm test"
},
"keywords": [
"websocket",
"client",
"reconnecting",
"reconnection",
"reconnect",
"forever",
"persistent",
"forever",
"automatic"
],
"files": [
"dist/*"
],
"license": "MIT",
"devDependencies": {
"@types/jest": "^25.1.2",
"@typescript-eslint/eslint-plugin": "^2.19.0",
"@typescript-eslint/parser": "^2.19.0",
"coveralls": "^3.0.9",
"del-cli": "^1.1.0",
"eslint": "^6.8.0",
"eslint-plugin-jest": "^23.7.0",
"husky": "^1.3.1",
"jest": "^25.1.0",
"lint-staged": "^7.3.0",
"opn-cli": "^3.1.0",
"prettier": "^1.19.1",
"rollup": "0.68.0",
"rollup-plugin-typescript2": "0.23.0",
"ts-jest": "^25.2.0",
"tslib": "^1.10.0",
"tslint": "^5.20.1",
"typescript": "^3.7.5",
"uglify-es": "^3.3.10",
"ws": "^6.2.1"
},
"dependencies": {},
"directories": {
"test": "test"
},
"repository": {
"type": "git",
"url": "git+https://github.com/opensumi/reconnecting-websocket.git"
},
"bugs": {
"url": "https://github.com/opensumi/reconnecting-websocket/issues"
},
"publishConfig": {
"registry": "https://registry.npmjs.org",
"access": "public"
},
"homepage": "https://github.com/opensumi/reconnecting-websocket#readme",
"lint-staged": {
"linters": {
"*.{js,md,ts}": [
"prettier --write",
"git add"
]
}
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
}
}