54 lines
1.8 KiB
JSON
54 lines
1.8 KiB
JSON
{
|
|
"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",
|
|
"prepublishOnly": "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"
|
|
}
|