1 | {
|
2 | "name": "reconnecting-websocket",
|
3 | "version": "4.4.0",
|
4 | "description": "Reconnecting WebSocket",
|
5 | "main": "./dist/reconnecting-websocket-cjs.js",
|
6 | "module": "./dist/reconnecting-websocket-mjs.js",
|
7 | "types": "./dist/reconnecting-websocket.d.ts",
|
8 | "scripts": {
|
9 | "build": "npm run clean && rollup -c && uglifyjs --compress --mangle -o dist/reconnecting-websocket-iife.min.js dist/reconnecting-websocket-iife.js",
|
10 | "test": "npm run build && nyc --reporter=text-summary --reporter=lcov ava --verbose --serial test/test.js",
|
11 | "clean": "del dist && del coverage && del .nyc_output",
|
12 | "report": "nyc report --reporter=html && opn coverage/index.html",
|
13 | "coveralls": "cat ./coverage/lcov.info | ./node_modules/.bin/coveralls",
|
14 | "lint": "tslint *.ts",
|
15 | "precommit": "lint-staged",
|
16 | "prepublishOnly": "npm run clean && npm run lint && npm run build && npm test"
|
17 | },
|
18 | "keywords": [
|
19 | "websocket",
|
20 | "client",
|
21 | "reconnecting",
|
22 | "reconnection",
|
23 | "reconnect",
|
24 | "forever",
|
25 | "persistent",
|
26 | "forever",
|
27 | "automatic"
|
28 | ],
|
29 | "author": "Pedro Ladaria <pedro.ladaria@gmail.com>",
|
30 | "license": "MIT",
|
31 | "devDependencies": {
|
32 | "ava": "^2.3.0",
|
33 | "coveralls": "^3.0.6",
|
34 | "del-cli": "^1.1.0",
|
35 | "husky": "^1.3.1",
|
36 | "lint-staged": "^7.3.0",
|
37 | "nyc": "^14.1.1",
|
38 | "opn-cli": "^3.1.0",
|
39 | "prettier": "^1.18.2",
|
40 | "rollup": "^0.66.6",
|
41 | "rollup-plugin-typescript2": "^0.23.0",
|
42 | "tslib": "^1.10.0",
|
43 | "tslint": "^5.19.0",
|
44 | "typescript": "^3.7.5",
|
45 | "uglify-es": "^3.3.10",
|
46 | "ws": "^6.2.1"
|
47 | },
|
48 | "dependencies": {},
|
49 | "directories": {
|
50 | "test": "test"
|
51 | },
|
52 | "repository": {
|
53 | "type": "git",
|
54 | "url": "git+https://github.com/pladaria/reconnecting-websocket.git"
|
55 | },
|
56 | "bugs": {
|
57 | "url": "https://github.com/pladaria/reconnecting-websocket/issues"
|
58 | },
|
59 | "publishConfig": {
|
60 | "registry": "https://registry.npmjs.org"
|
61 | },
|
62 | "homepage": "https://github.com/pladaria/reconnecting-websocket#readme",
|
63 | "lint-staged": {
|
64 | "linters": {
|
65 | "*.{js,md,ts}": [
|
66 | "prettier --write",
|
67 | "git add"
|
68 | ]
|
69 | }
|
70 | }
|
71 | }
|