package.json 2.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384
  1. {
  2. "name": "graphql-tools",
  3. "version": "4.0.8",
  4. "description": "Useful tools to create and manipulate GraphQL schemas.",
  5. "main": "dist/index.js",
  6. "typings": "dist/index.d.ts",
  7. "typescript": {
  8. "definition": "dist/index.d.ts"
  9. },
  10. "directories": {
  11. "test": "test"
  12. },
  13. "scripts": {
  14. "clean": "rimraf dist",
  15. "compile": "npx tsc",
  16. "typings": "typings install",
  17. "pretest": "npm run clean && npm run compile",
  18. "test": "npm run testonly --",
  19. "posttest": "npm run lint",
  20. "lint": "tslint src/**/*.ts",
  21. "watch": "tsc -w",
  22. "testonly": "mocha --reporter spec --full-trace ./dist/test/tests.js",
  23. "testonly:watch": "mocha -w --reporter spec --full-trace ./dist/test/tests.js",
  24. "coverage": "istanbul cover _mocha -- --reporter dot --full-trace ./dist/test/tests.js",
  25. "postcoverage": "remap-istanbul --input coverage/coverage.json --type lcovonly --output coverage/lcov.info",
  26. "prepublishOnly": "npm run compile",
  27. "prerelease": "npm test",
  28. "prettier": "prettier --trailing-comma all --single-quote --write 'src/**/*.ts'",
  29. "release": "standard-version"
  30. },
  31. "repository": {
  32. "type": "git",
  33. "url": "git+https://github.com/apollographql/graphql-tools.git"
  34. },
  35. "keywords": [
  36. "GraphQL",
  37. "Apollo",
  38. "JavaScript",
  39. "TypeScript",
  40. "Mock",
  41. "Schema",
  42. "Schema Language",
  43. "Tools"
  44. ],
  45. "author": "Jonas Helfer <jonas@helfer.email>",
  46. "license": "MIT",
  47. "bugs": {
  48. "url": "https://github.com/apollostack/graphql-tools/issues"
  49. },
  50. "homepage": "https://github.com/apollostack/graphql-tools#readme",
  51. "dependencies": {
  52. "apollo-link": "^1.2.14",
  53. "apollo-utilities": "^1.0.1",
  54. "deprecated-decorator": "^0.1.6",
  55. "iterall": "^1.1.3",
  56. "uuid": "^3.1.0"
  57. },
  58. "peerDependencies": {
  59. "graphql": "^0.13.0 || ^14.0.0 || ^15.0.0"
  60. },
  61. "devDependencies": {
  62. "@types/chai": "4.0.10",
  63. "@types/dateformat": "^1.0.1",
  64. "@types/mocha": "^2.2.44",
  65. "@types/node": "^8.0.47",
  66. "@types/uuid": "^3.4.3",
  67. "@types/zen-observable": "^0.5.3",
  68. "body-parser": "^1.18.2",
  69. "chai": "^4.1.2",
  70. "dateformat": "^3.0.3",
  71. "express": "^4.16.2",
  72. "graphql": "^15.0.0",
  73. "graphql-subscriptions": "^1.0.0",
  74. "graphql-type-json": "^0.1.4",
  75. "istanbul": "^0.4.5",
  76. "mocha": "^4.0.1",
  77. "prettier": "^1.7.4",
  78. "remap-istanbul": "0.9.6",
  79. "rimraf": "^2.6.2",
  80. "source-map-support": "^0.5.0",
  81. "tslint": "^5.8.0",
  82. "typescript": "^3.6.4"
  83. }
  84. }