-
Notifications
You must be signed in to change notification settings - Fork 668
Expand file tree
/
Copy pathpackage.json
More file actions
144 lines (144 loc) · 5.92 KB
/
package.json
File metadata and controls
144 lines (144 loc) · 5.92 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
{
"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"
}