forked from apollographql/graphql-subscriptions
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
53 lines (53 loc) · 1.75 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
{
"name": "graphql-subscriptions",
"version": "1.2.1",
"description": "GraphQL subscriptions for node.js",
"main": "dist/index.js",
"repository": {
"type": "git",
"url": "https://github.com/apollostack/graphql-subscriptions.git"
},
"dependencies": {
"iterall": "^1.3.0"
},
"peerDependencies": {
"graphql": "^0.10.5 || ^0.11.3 || ^0.12.0 || ^0.13.0 || ^14.0.0 || ^15.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.3",
"@types/graphql": "^14.5.0",
"@types/mocha": "^8.0.0",
"@types/node": "^14.0.23",
"@types/sinon": "9.0.4",
"@types/sinon-chai": "^3.2.4",
"chai": "^4.2.0",
"chai-as-promised": "^7.1.1",
"graphql": "^14.0.0",
"istanbul": "^1.0.0-alpha.2",
"mocha": "^8.0.1",
"remap-istanbul": "^0.13.0",
"rimraf": "^3.0.2",
"sinon": "^9.0.2",
"sinon-chai": "^3.5.0",
"tslint": "^6.1.2",
"typescript": "^3.9.6"
},
"typings": "dist/index.d.ts",
"typescript": {
"definition": "dist/index.d.ts"
},
"license": "MIT"
}