-
Notifications
You must be signed in to change notification settings - Fork 132
/
Copy pathpackage.json
51 lines (51 loc) · 1.69 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
{
"name": "graphql-subscriptions",
"version": "3.0.0",
"description": "GraphQL subscriptions for node.js",
"main": "dist/index.js",
"repository": {
"type": "git",
"url": "git+https://github.com/apollographql/graphql-subscriptions.git"
},
"dependencies": {},
"peerDependencies": {
"graphql": "^15.7.2 || ^16.0.0"
},
"scripts": {
"clean": "rimraf dist coverage",
"compile": "tsc",
"pretest": "npm run compile",
"test": "npm run testonly --",
"posttest": "npm run lint",
"lint": "tslint --project ./tsconfig.json ./src/**/*.ts",
"watch": "tsc -w",
"testonly": "node --expose-gc ./node_modules/.bin/mocha --reporter spec --full-trace ./dist/test/tests.js ./dist/test/asyncIteratorSubscription.js",
"coverage": "node --expose-gc ./node_modules/istanbul/lib/cli.js cover _mocha -- --full-trace ./dist/test/tests.js ./dist/test/asyncIteratorSubscription.js",
"postcoverage": "remap-istanbul --input coverage/coverage.raw.json --type lcovonly --output coverage/lcov.info",
"prepare": "npm run clean && npm run compile"
},
"devDependencies": {
"@types/chai-as-promised": "^7.1.4",
"@types/graphql": "^14.5.0",
"@types/mocha": "^9.0.0",
"@types/node": "^16.11.9",
"@types/sinon": "10.0.6",
"@types/sinon-chai": "^3.2.5",
"chai": "^4.3.4",
"chai-as-promised": "^7.1.1",
"graphql": "^16.0.0",
"istanbul": "^1.1.0-alpha.1",
"mocha": "^9.1.3",
"remap-istanbul": "^0.13.0",
"rimraf": "^3.0.2",
"sinon": "^12.0.1",
"sinon-chai": "^3.7.0",
"tslint": "^6.1.2",
"typescript": "^4.5.2"
},
"typings": "dist/index.d.ts",
"typescript": {
"definition": "dist/index.d.ts"
},
"license": "MIT"
}