package.json 1.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  1. {
  2. "name": "graphql-subscriptions",
  3. "version": "1.2.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. "iterall": "^1.3.0"
  12. },
  13. "peerDependencies": {
  14. "graphql": "^0.10.5 || ^0.11.3 || ^0.12.0 || ^0.13.0 || ^14.0.0 || ^15.0.0"
  15. },
  16. "scripts": {
  17. "clean": "rimraf dist coverage",
  18. "compile": "tsc",
  19. "pretest": "npm run compile",
  20. "test": "npm run testonly --",
  21. "posttest": "npm run lint",
  22. "lint": "tslint --project ./tsconfig.json ./src/**/*.ts",
  23. "watch": "tsc -w",
  24. "testonly": "node --expose-gc ./node_modules/.bin/mocha --reporter spec --full-trace ./dist/test/tests.js ./dist/test/asyncIteratorSubscription.js",
  25. "coverage": "node --expose-gc ./node_modules/istanbul/lib/cli.js cover _mocha -- --full-trace ./dist/test/tests.js ./dist/test/asyncIteratorSubscription.js",
  26. "postcoverage": "remap-istanbul --input coverage/coverage.raw.json --type lcovonly --output coverage/lcov.info",
  27. "prepublishOnly": "npm run clean && npm run compile"
  28. },
  29. "devDependencies": {
  30. "@types/chai-as-promised": "^7.1.3",
  31. "@types/graphql": "^14.5.0",
  32. "@types/mocha": "^8.0.0",
  33. "@types/node": "^14.0.23",
  34. "@types/sinon": "9.0.4",
  35. "@types/sinon-chai": "^3.2.4",
  36. "chai": "^4.2.0",
  37. "chai-as-promised": "^7.1.1",
  38. "graphql": "^14.0.0",
  39. "istanbul": "^1.0.0-alpha.2",
  40. "mocha": "^8.0.1",
  41. "remap-istanbul": "^0.13.0",
  42. "rimraf": "^3.0.2",
  43. "sinon": "^9.0.2",
  44. "sinon-chai": "^3.5.0",
  45. "tslint": "^6.1.2",
  46. "typescript": "^3.9.6"
  47. },
  48. "typings": "dist/index.d.ts",
  49. "typescript": {
  50. "definition": "dist/index.d.ts"
  51. },
  52. "license": "MIT"
  53. }