1 | {
|
2 | "name": "@google-cloud/storage",
|
3 | "description": "Cloud Storage Client Library for Node.js",
|
4 | "version": "7.13.0",
|
5 | "license": "Apache-2.0",
|
6 | "author": "Google Inc.",
|
7 | "engines": {
|
8 | "node": ">=14"
|
9 | },
|
10 | "repository": "googleapis/nodejs-storage",
|
11 | "main": "./build/cjs/src/index.js",
|
12 | "types": "./build/cjs/src/index.d.ts",
|
13 | "type": "module",
|
14 | "exports": {
|
15 | ".": {
|
16 | "import": {
|
17 | "types": "./build/esm/src/index.d.ts",
|
18 | "default": "./build/esm/src/index.js"
|
19 | },
|
20 | "require": {
|
21 | "types": "./build/cjs/src/index.d.ts",
|
22 | "default": "./build/cjs/src/index.js"
|
23 | }
|
24 | }
|
25 | },
|
26 | "files": [
|
27 | "build/cjs/src",
|
28 | "build/cjs/package.json",
|
29 | "!build/cjs/src/**/*.map",
|
30 | "build/esm/src",
|
31 | "!build/esm/src/**/*.map"
|
32 | ],
|
33 | "keywords": [
|
34 | "google apis client",
|
35 | "google api client",
|
36 | "google apis",
|
37 | "google api",
|
38 | "google",
|
39 | "google cloud platform",
|
40 | "google cloud",
|
41 | "cloud",
|
42 | "google storage",
|
43 | "storage"
|
44 | ],
|
45 | "scripts": {
|
46 | "all-test": "npm test && npm run system-test && npm run samples-test",
|
47 | "benchwrapper": "node bin/benchwrapper.js",
|
48 | "check": "gts check",
|
49 | "clean": "rm -rf build/",
|
50 | "compile:cjs": "tsc -p ./tsconfig.cjs.json",
|
51 | "compile:esm": "tsc -p .",
|
52 | "compile": "npm run compile:cjs && npm run compile:esm",
|
53 | "conformance-test": "mocha --parallel build/cjs/conformance-test/ --require build/cjs/conformance-test/globalHooks.js",
|
54 | "docs-test": "linkinator docs",
|
55 | "docs": "jsdoc -c .jsdoc.json",
|
56 | "fix": "gts fix",
|
57 | "lint": "gts check",
|
58 | "postcompile": "cp ./src/package-json-helper.cjs ./build/cjs/src && cp ./src/package-json-helper.cjs ./build/esm/src",
|
59 | "postcompile:cjs": "babel --plugins gapic-tools/build/src/replaceImportMetaUrl,gapic-tools/build/src/toggleESMFlagVariable build/cjs/src/util.js -o build/cjs/src/util.js && cp internal-tooling/helpers/package.cjs.json build/cjs/package.json",
|
60 | "precompile": "rm -rf build/",
|
61 | "preconformance-test": "npm run compile:cjs -- --sourceMap",
|
62 | "predocs-test": "npm run docs",
|
63 | "predocs": "npm run compile:cjs -- --sourceMap",
|
64 | "prelint": "cd samples; npm link ../; npm install",
|
65 | "prepare": "npm run compile",
|
66 | "presystem-test:esm": "npm run compile:esm",
|
67 | "presystem-test": "npm run compile -- --sourceMap",
|
68 | "pretest": "npm run compile -- --sourceMap",
|
69 | "samples-test": "npm link && cd samples/ && npm link ../ && npm test && cd ../",
|
70 | "system-test:esm": "mocha build/esm/system-test --timeout 600000 --exit",
|
71 | "system-test": "mocha build/cjs/system-test --timeout 600000 --exit",
|
72 | "test": "c8 mocha build/cjs/test"
|
73 | },
|
74 | "dependencies": {
|
75 | "@google-cloud/paginator": "^5.0.0",
|
76 | "@google-cloud/projectify": "^4.0.0",
|
77 | "@google-cloud/promisify": "^4.0.0",
|
78 | "abort-controller": "^3.0.0",
|
79 | "async-retry": "^1.3.3",
|
80 | "duplexify": "^4.1.3",
|
81 | "fast-xml-parser": "^4.4.1",
|
82 | "gaxios": "^6.0.2",
|
83 | "google-auth-library": "^9.6.3",
|
84 | "html-entities": "^2.5.2",
|
85 | "mime": "^3.0.0",
|
86 | "p-limit": "^3.0.1",
|
87 | "retry-request": "^7.0.0",
|
88 | "teeny-request": "^9.0.0",
|
89 | "uuid": "^8.0.0"
|
90 | },
|
91 | "devDependencies": {
|
92 | "@babel/cli": "^7.22.10",
|
93 | "@babel/core": "^7.22.11",
|
94 | "@google-cloud/pubsub": "^4.0.0",
|
95 | "@grpc/grpc-js": "^1.0.3",
|
96 | "@grpc/proto-loader": "^0.7.0",
|
97 | "@types/async-retry": "^1.4.3",
|
98 | "@types/duplexify": "^3.6.4",
|
99 | "@types/mime": "^3.0.0",
|
100 | "@types/mocha": "^9.1.1",
|
101 | "@types/mockery": "^1.4.29",
|
102 | "@types/node": "^20.4.4",
|
103 | "@types/node-fetch": "^2.1.3",
|
104 | "@types/proxyquire": "^1.3.28",
|
105 | "@types/request": "^2.48.4",
|
106 | "@types/sinon": "^17.0.0",
|
107 | "@types/tmp": "0.2.6",
|
108 | "@types/uuid": "^8.0.0",
|
109 | "@types/yargs": "^17.0.10",
|
110 | "c8": "^9.0.0",
|
111 | "form-data": "^4.0.0",
|
112 | "gapic-tools": "^0.4.0",
|
113 | "gts": "^5.0.0",
|
114 | "jsdoc": "^4.0.0",
|
115 | "jsdoc-fresh": "^3.0.0",
|
116 | "jsdoc-region-tag": "^3.0.0",
|
117 | "linkinator": "^3.0.0",
|
118 | "mocha": "^9.2.2",
|
119 | "mockery": "^2.1.0",
|
120 | "nock": "~13.5.0",
|
121 | "node-fetch": "^2.6.7",
|
122 | "pack-n-play": "^2.0.0",
|
123 | "proxyquire": "^2.1.3",
|
124 | "sinon": "^18.0.0",
|
125 | "nise": "6.0.0",
|
126 | "path-to-regexp": "6.2.2",
|
127 | "tmp": "^0.2.0",
|
128 | "typescript": "^5.1.6",
|
129 | "yargs": "^17.3.1"
|
130 | }
|
131 | }
|