This repository has been archived by the owner on Apr 14, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 342
/
package.json
62 lines (62 loc) · 1.98 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
{
"name": "subscriptions-transport-ws",
"version": "0.11.0",
"description": "A websocket transport for GraphQL subscriptions",
"main": "dist/index.js",
"browser": "dist/client.js",
"repository": {
"type": "git",
"url": "git+https://github.com/apollostack/subscriptions-transport-ws.git"
},
"dependencies": {
"backo2": "^1.0.2",
"eventemitter3": "^3.1.0",
"iterall": "^1.2.1",
"symbol-observable": "^1.0.4",
"ws": "^5.2.0 || ^6.0.0 || ^7.0.0"
},
"scripts": {
"clean": "rimraf browser dist coverage",
"compile": "tsc",
"pretest": "npm run compile",
"test": "npm run testonly --",
"posttest": "npm run lint",
"lint": "tslint --format stylish --project ./tsconfig.json",
"watch": "tsc -w",
"testonly": "mocha --exit --reporter spec --full-trace ./dist/test/**/*.js",
"coverage": "node ./node_modules/istanbul/lib/cli.js cover _mocha -- --exit --full-trace ./dist/test/tests.js",
"postcoverage": "remap-istanbul --input coverage/coverage.raw.json --type lcovonly --output coverage/lcov.info",
"browser-compile": "webpack --config \"./unpkg-webpack.config.js\"",
"prepublishOnly": "npm run clean && npm run compile && npm run browser-compile"
},
"peerDependencies": {
"graphql": "^15.7.2 || ^16.0.0"
},
"devDependencies": {
"@types/chai": "^4.0.0",
"@types/is-promise": "^2.1.0",
"@types/lodash": "^4.14.109",
"@types/mocha": "^5.2.5",
"@types/node": "^8.0.8",
"@types/sinon": "^5.0.1",
"@types/ws": "^5.1.2",
"chai": "^4.0.2",
"graphql": "16.0.0",
"graphql-subscriptions": "^2.0.0",
"istanbul": "^1.0.0-alpha.2",
"lodash": "^4.17.1",
"mocha": "^5.2.0",
"mock-socket-with-protocol": "^7.1.0",
"remap-istanbul": "^0.11.1",
"rimraf": "^2.6.1",
"sinon": "^6.1.4",
"tslint": "^5.10.0",
"typescript": "^4.1.0",
"webpack": "^3.1.0"
},
"typings": "dist/index.d.ts",
"typescript": {
"definition": "dist/index.d.ts"
},
"license": "MIT"
}