UNPKG

1.44 kBJSONView Raw
1{
2 "name": "graphql-subscriptions",
3 "version": "0.4.1",
4 "description": "GraphQL subscriptions for node.js",
5 "main": "dist/index.js",
6 "repository": {
7 "type": "git",
8 "url": "https://github.com/apollostack/graphql-subscriptions.git"
9 },
10 "dependencies": {
11 "@types/graphql": "^0.9.1",
12 "es6-promise": "^4.0.5",
13 "iterall": "^1.1.1"
14 },
15 "peerDependencies": {
16 "graphql": "^0.7.0 || ^0.8.0 || ^0.9.0 || ^0.10.0"
17 },
18 "scripts": {
19 "compile": "tsc",
20 "pretest": "npm run compile",
21 "test": "npm run testonly --",
22 "posttest": "npm run lint",
23 "lint": "tslint --type-check --project ./tsconfig.json ./src/**/*.ts",
24 "watch": "tsc -w",
25 "testonly": "mocha --reporter spec --full-trace ./dist/test/tests.js",
26 "coverage": "node ./node_modules/istanbul/lib/cli.js cover _mocha -- --full-trace ./dist/test/tests.js",
27 "postcoverage": "remap-istanbul --input coverage/coverage.raw.json --type lcovonly --output coverage/lcov.info"
28 },
29 "devDependencies": {
30 "@types/mocha": "^2.2.39",
31 "@types/node": "^7.0.5",
32 "chai": "^3.5.0",
33 "chai-as-promised": "^6.0.0",
34 "graphql": "^0.10.0",
35 "istanbul": "^1.0.0-alpha.2",
36 "mocha": "^3.3.0",
37 "remap-istanbul": "^0.9.1",
38 "sinon": "^2.1.0",
39 "sinon-chai": "^2.9.0",
40 "tslint": "^5.2.0",
41 "typescript": "^2.3.2"
42 },
43 "typings": "dist/index.d.ts",
44 "typescript": {
45 "definition": "dist/index.d.ts"
46 }
47}