package.json 4.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114
  1. {
  2. "name": "@google-cloud/firestore",
  3. "description": "Firestore Client Library for Node.js",
  4. "version": "7.11.0",
  5. "license": "Apache-2.0",
  6. "author": "Google Inc.",
  7. "engines": {
  8. "node": ">=14.0.0"
  9. },
  10. "repository": "googleapis/nodejs-firestore",
  11. "main": "./build/src/index.js",
  12. "types": "./types/firestore.d.ts",
  13. "files": [
  14. "build/protos",
  15. "build/src",
  16. "!build/src/**/*.map",
  17. "types"
  18. ],
  19. "keywords": [
  20. "google apis client",
  21. "google api client",
  22. "google apis",
  23. "google api",
  24. "google",
  25. "google cloud platform",
  26. "google cloud",
  27. "cloud",
  28. "firestore"
  29. ],
  30. "scripts": {
  31. "precloud-rad": "npm run compile",
  32. "cloud-rad": "NO_UPLOAD=1 npx @google-cloud/cloud-rad",
  33. "preapi-report": "npm run compile",
  34. "api-report": "node scripts/api-report.js",
  35. "predocs": "npm run compile",
  36. "docs": "jsdoc -c .jsdoc.js",
  37. "system-test:rest": "FIRESTORE_PREFER_REST=true mocha build/system-test --timeout 1200000",
  38. "system-test:named-db:rest": "FIRESTORE_NAMED_DATABASE=test-db FIRESTORE_PREFER_REST=true mocha build/system-test --timeout 1200000",
  39. "system-test:grpc": "mocha build/system-test --timeout 1200000",
  40. "system-test:named-db:grpc": "FIRESTORE_NAMED_DATABASE=test-db mocha build/system-test --timeout 1200000",
  41. "system-test:emulator:rest": "FIRESTORE_EMULATOR_HOST=localhost:8080 FIRESTORE_PREFER_REST=true mocha build/system-test --timeout 1200000",
  42. "system-test:named-db:emulator:rest": "FIRESTORE_NAMED_DATABASE=test-db FIRESTORE_EMULATOR_HOST=localhost:8080 FIRESTORE_PREFER_REST=true mocha build/system-test --timeout 1200000",
  43. "system-test:emulator:grpc": "FIRESTORE_EMULATOR_HOST=localhost:8080 mocha build/system-test --timeout 1200000",
  44. "system-test:named-db:emulator:grpc": "FIRESTORE_NAMED_DATABASE=test-db FIRESTORE_EMULATOR_HOST=localhost:8080 mocha build/system-test --timeout 1200000",
  45. "system-test": "npm run system-test:grpc && npm run system-test:rest && npm run system-test:named-db:grpc && npm run system-test:named-db:rest",
  46. "system-test:emulator": "npm run system-test:emulator:grpc && npm run system-test:emulator:rest && npm run system-test:named-db:emulator:grpc && npm run system-test:named-db:emulator:rest",
  47. "presystem-test": "npm run compile",
  48. "samples-test": "npm link && cd samples/ && npm link ../ && npm test && cd ../",
  49. "conformance": "mocha build/conformance",
  50. "preconformance": "npm run compile",
  51. "test-only": "c8 mocha build/test",
  52. "pretest-only": "npm run compile",
  53. "test": "npm run test-only && npm run conformance",
  54. "lint": "gts check",
  55. "clean": "gts clean",
  56. "compile": "tsc -p .",
  57. "postcompile": "node scripts/init-directories.js && cp -r dev/protos build && cp dev/src/v1beta1/*.json build/src/v1beta1/ && cp dev/src/v1/*.json build/src/v1/ && cp dev/conformance/test-definition.proto build/conformance && cp dev/conformance/conformance-tests/*.json build/conformance/conformance-tests && minifyProtoJson",
  58. "fix": "gts fix",
  59. "prepare": "npm run compile",
  60. "docs-test": "linkinator docs",
  61. "predocs-test": "npm run docs",
  62. "prelint": "cd samples; npm link ../; npm install",
  63. "precompile": "gts clean"
  64. },
  65. "dependencies": {
  66. "@opentelemetry/api": "^1.3.0",
  67. "fast-deep-equal": "^3.1.1",
  68. "functional-red-black-tree": "^1.0.1",
  69. "google-gax": "^4.3.3",
  70. "protobufjs": "^7.2.6"
  71. },
  72. "devDependencies": {
  73. "@google-cloud/trace-agent": "^8.0.0",
  74. "@googleapis/cloudtrace": "^1.1.2",
  75. "@google-cloud/cloud-rad": "^0.4.0",
  76. "@google-cloud/opentelemetry-cloud-trace-exporter": "^2.0.0",
  77. "@opentelemetry/context-async-hooks": "^1.24.1",
  78. "@opentelemetry/sdk-trace-node": "^1.24.1",
  79. "@types/assert": "^1.4.0",
  80. "@types/chai": "^4.2.7",
  81. "@types/chai-as-promised": "^7.1.2",
  82. "@types/duplexify": "^3.5.0",
  83. "@types/extend": "^3.0.0",
  84. "@types/mocha": "^9.0.0",
  85. "@types/node": "^22.0.0",
  86. "@types/sinon": "^17.0.0",
  87. "@types/through2": "^2.0.34",
  88. "c8": "^9.0.0",
  89. "chai": "^4.1.2",
  90. "chai-as-promised": "^7.1.1",
  91. "codecov": "^3.6.1",
  92. "duplexify": "^4.0.0",
  93. "execa": "^5.1.1",
  94. "extend": "^3.0.2",
  95. "fs-extra": "10.1.0",
  96. "gapic-tools": "^0.4.0",
  97. "gts": "^5.0.1",
  98. "jsdoc": "^4.0.0",
  99. "jsdoc-fresh": "^3.0.0",
  100. "jsdoc-region-tag": "^3.0.0",
  101. "length-prefixed-json-stream": "^1.0.1",
  102. "linkinator": "^3.0.0",
  103. "mkdirp": "^3.0.0",
  104. "mocha": "^9.2.2",
  105. "protobufjs-cli": "^1.1.2",
  106. "proxyquire": "^2.1.3",
  107. "nise": "6.0.0",
  108. "sinon": "^18.0.0",
  109. "path-to-regexp": "^6.0.0",
  110. "through2": "^4.0.0",
  111. "ts-node": "^10.0.0",
  112. "typescript": "^5.2.2"
  113. }
  114. }