145 lines
5.9 KiB
JSON
145 lines
5.9 KiB
JSON
{
|
|
"name": "@google-cloud/firestore",
|
|
"description": "Firestore Client Library for Node.js",
|
|
"version": "8.6.0",
|
|
"license": "Apache-2.0",
|
|
"author": "Google Inc.",
|
|
"engines": {
|
|
"node": ">=18"
|
|
},
|
|
"repository": {
|
|
"type": "git",
|
|
"directory": "handwritten/firestore",
|
|
"url": "https://github.com/googleapis/google-cloud-node.git"
|
|
},
|
|
"main": "./build/src/index.js",
|
|
"types": "./types/firestore.d.ts",
|
|
"files": [
|
|
"build/protos",
|
|
"build/src",
|
|
"!build/src/**/*.map",
|
|
"types",
|
|
"pipelines"
|
|
],
|
|
"keywords": [
|
|
"google apis client",
|
|
"google api client",
|
|
"google apis",
|
|
"google api",
|
|
"google",
|
|
"google cloud platform",
|
|
"google cloud",
|
|
"cloud",
|
|
"firestore"
|
|
],
|
|
"scripts": {
|
|
"precloud-rad": "npm run compile",
|
|
"cloud-rad": "NO_UPLOAD=1 npx @google-cloud/cloud-rad",
|
|
"preapi-report": "npm run compile",
|
|
"api-report": "node scripts/api-report.mjs",
|
|
"predocs": "npm run compile",
|
|
"docs": "jsdoc -c .jsdoc.js",
|
|
"system-test:rest": "FIRESTORE_PREFER_REST=true mocha build/system-test --timeout 1200000",
|
|
"system-test:enterprise:rest": "FIRESTORE_DATABASE_ID=test-db FIRESTORE_PREFER_REST=true mocha build/system-test --timeout 1200000",
|
|
"system-test:grpc": "mocha build/system-test --timeout 1200000",
|
|
"system-test:enterprise:grpc": "FIRESTORE_DATABASE_ID=test-db mocha build/system-test --timeout 1200000",
|
|
"system-test:emulator:rest": "FIRESTORE_EMULATOR_HOST=localhost:8080 FIRESTORE_PREFER_REST=true mocha build/system-test --timeout 1200000",
|
|
"system-test:enterprise:emulator:rest": "FIRESTORE_DATABASE_ID=test-db FIRESTORE_EMULATOR_HOST=localhost:8080 FIRESTORE_PREFER_REST=true mocha build/system-test --timeout 1200000",
|
|
"system-test:emulator:grpc": "FIRESTORE_EMULATOR_HOST=localhost:8080 mocha build/system-test --timeout 1200000",
|
|
"system-test:enterprise:emulator:grpc": "FIRESTORE_DATABASE_ID=test-db FIRESTORE_EMULATOR_HOST=localhost:8080 mocha build/system-test --timeout 1200000",
|
|
"system-test": "concurrently -p \"[{name}]\" -n \"grpc,rest,enterprise-grpc,enterprise-rest\" -c \"cyan,magenta,blue,yellow\" \"npm:system-test:grpc\" \"npm:system-test:rest\" \"npm:system-test:enterprise:grpc\" \"npm:system-test:enterprise:rest\"",
|
|
"system-test:nightly": "FIRESTORE_TARGET_BACKEND=nightly FIRESTORE_DATABASE_ID=enterprise RUN_ENTERPRISE_TESTS=yes GCLOUD_PROJECT=firestore-sdk-nightly mocha build/system-test --timeout 1200000",
|
|
"system-test:emulator": "concurrently -p \"[{name}]\" -n \"grpc,rest,enterprise-grpc,enterprise-rest\" -c \"cyan,magenta,blue,yellow\" \"npm:system-test:emulator:grpc\" \"npm:system-test:emulator:rest\" \"npm:system-test:enterprise:emulator:grpc\" \"npm:system-test:enterprise:emulator:rest\"",
|
|
"presystem-test": "npm run compile",
|
|
"samples-test": "npm link && cd samples/ && npm link ../ && npm test && cd ../",
|
|
"conformance": "mocha build/conformance",
|
|
"preconformance": "npm run compile",
|
|
"test-only": "c8 mocha build/test",
|
|
"pretest-only": "npm run compile",
|
|
"test": "npm run test-only && npm run conformance",
|
|
"lint": "gts check",
|
|
"clean": "gts clean",
|
|
"compile": "tsc -p .",
|
|
"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",
|
|
"fix": "gts fix",
|
|
"prepare": "npm run compile",
|
|
"docs-test": "linkinator docs",
|
|
"predocs-test": "npm run docs",
|
|
"prelint": "cd samples; npm link ../; npm install",
|
|
"precompile": "gts clean"
|
|
},
|
|
"dependencies": {
|
|
"@opentelemetry/api": "^1.9.0",
|
|
"fast-deep-equal": "^3.1.3",
|
|
"functional-red-black-tree": "^1.0.1",
|
|
"google-gax": "^5.0.1",
|
|
"protobufjs": "^7.5.3"
|
|
},
|
|
"devDependencies": {
|
|
"@google-cloud/cloud-rad": "^0.4.10",
|
|
"@google-cloud/opentelemetry-cloud-trace-exporter": "^3.0.0",
|
|
"@google-cloud/promisify": "^5.0.0",
|
|
"@google-cloud/trace-agent": "^8.0.0",
|
|
"@googleapis/cloudtrace": "^3.0.1",
|
|
"@opentelemetry/context-async-hooks": "^2.0.1",
|
|
"@opentelemetry/sdk-trace-node": "^2.0.1",
|
|
"@types/assert": "^1.5.11",
|
|
"@types/chai": "^4.3.20",
|
|
"@types/chai-as-promised": "^7.1.8",
|
|
"@types/duplexify": "^3.6.4",
|
|
"@types/extend": "^3.0.4",
|
|
"@types/mocha": "^10.0.10",
|
|
"@types/node": "^24.1.0",
|
|
"@types/sinon": "^21.0.0",
|
|
"@types/through2": "^2.0.41",
|
|
"c8": "^10.1.3",
|
|
"chai": "^4.5.0",
|
|
"chai-as-promised": "^7.1.2",
|
|
"codecov": "^3.8.3",
|
|
"concurrently": "^9.1.2",
|
|
"duplexify": "^4.1.3",
|
|
"eslint-plugin-node": "^11.1.0",
|
|
"execa": "^9.6.0",
|
|
"extend": "^3.0.2",
|
|
"fs-extra": "^11.3.0",
|
|
"gapic-tools": "^1.0.2",
|
|
"gts": "^6.0.2",
|
|
"jsdoc": "^4.0.4",
|
|
"jsdoc-fresh": "^4.0.0",
|
|
"jsdoc-region-tag": "^3.0.0",
|
|
"length-prefixed-json-stream": "^1.0.1",
|
|
"linkinator": "^6.1.4",
|
|
"long": "^5.3.2",
|
|
"mkdirp": "^3.0.1",
|
|
"mocha": "^11.7.1",
|
|
"nise": "^6.1.1",
|
|
"path-to-regexp": "^8.2.0",
|
|
"protobufjs-cli": "^1.1.3",
|
|
"proxyquire": "^2.1.3",
|
|
"sinon": "21.0.3",
|
|
"through2": "^4.0.2",
|
|
"ts-node": "^10.9.2",
|
|
"typescript": "^5.9.2"
|
|
},
|
|
"//_comment": "TODO: Remove @sinonjs/fake-timers overrides/resolutions when version > 15.3.0 fixes the duplicate identifier 'withGlobal' issue.",
|
|
"overrides": {
|
|
"@sinonjs/fake-timers": "15.1.1"
|
|
},
|
|
"resolutions": {
|
|
"@sinonjs/fake-timers": "15.1.1"
|
|
},
|
|
"exports": {
|
|
".": {
|
|
"types": "./types/firestore.d.ts",
|
|
"default": "./build/src/index.js"
|
|
},
|
|
"./pipelines": {
|
|
"types": "./types/pipelines.d.ts",
|
|
"default": "./build/src/pipelines/index.js"
|
|
},
|
|
"./package.json": "./package.json",
|
|
"./build/src/path": "./build/src/path.js"
|
|
},
|
|
"homepage": "https://github.com/googleapis/google-cloud-node/tree/main/handwritten/firestore"
|
|
}
|