UNPKG

graphql-subscriptions

Version:
52 lines (51 loc) 1.73 kB
{ "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" }