mirror of
https://github.com/rjNemo/federation
synced 2026-06-07 18:56:39 +00:00
53 lines
1.7 KiB
JSON
53 lines
1.7 KiB
JSON
{
|
|
"name": "graphql-subscriptions",
|
|
"version": "1.1.0",
|
|
"description": "GraphQL subscriptions for node.js",
|
|
"main": "dist/index.js",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "https://github.com/apollostack/graphql-subscriptions.git"
|
|
},
|
|
"dependencies": {
|
|
"iterall": "^1.2.1"
|
|
},
|
|
"peerDependencies": {
|
|
"graphql": "^0.10.5 || ^0.11.3 || ^0.12.0 || ^0.13.0 || ^14.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": "mocha --reporter spec --full-trace ./dist/test/tests.js ./dist/test/asyncIteratorSubscription.js",
|
|
"coverage": "node ./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.0",
|
|
"@types/graphql": "^14.0.0",
|
|
"@types/mocha": "^2.2.39",
|
|
"@types/node": "^8.0.28",
|
|
"@types/sinon": "5.0.2",
|
|
"@types/sinon-chai": "^3.2.0",
|
|
"chai": "^4.1.2",
|
|
"chai-as-promised": "^7.1.1",
|
|
"graphql": "^14.0.0",
|
|
"istanbul": "^1.0.0-alpha.2",
|
|
"mocha": "^5.2.0",
|
|
"remap-istanbul": "^0.9.1",
|
|
"rimraf": "^2.6.2",
|
|
"sinon": "^6.1.4",
|
|
"sinon-chai": "^3.2.0",
|
|
"tslint": "^5.11.0",
|
|
"typescript": "^2.3.2"
|
|
},
|
|
"typings": "dist/index.d.ts",
|
|
"typescript": {
|
|
"definition": "dist/index.d.ts"
|
|
},
|
|
"license": "MIT"
|
|
}
|