UNPKG

@google-cloud/tasks

Version:
112 lines (111 loc) 3.47 kB
{ "name": "@google-cloud/tasks", "description": "Cloud Tasks API client for Node.js", "version": "6.2.0", "license": "Apache-2.0", "author": "Google LLC", "repository": { "type": "git", "directory": "packages/google-cloud-tasks", "url": "https://github.com/googleapis/google-cloud-node.git" }, "main": "./build/cjs/src/index.cjs", "types": "./build/cjs/src/index.d.ts", "type": "module", "exports": { ".": { "import": { "types": "./build/esm/src/index.d.ts", "default": "./build/esm/src/index.js" }, "require": { "types": "./build/cjs/src/index.d.ts", "default": "./build/cjs/src/index.cjs" } }, "./build/protos": { "import": { "types": "./build/protos/protos.d.ts", "default": "./build/protos/protos.js" }, "require": { "types": "./build/protos/protos.d.ts", "default": "./build/protos/protos.cjs" } } }, "files": [ "build/esm", "build/cjs", "build/protos", "!build/esm/**/*.map", "!build/cjs/**/*.map" ], "keywords": [ "google apis client", "google api client", "google apis", "google api", "google", "google cloud platform", "google cloud", "cloud", "google cloud-tasks", "cloud-tasks", "Cloud Tasks API" ], "scripts": { "clean": "gts clean", "compile-protos": "compileProtos esm/src --esm", "docs": "jsdoc -c .jsdoc.js", "postpack": "minifyProtoJson", "predocs-test": "npm run docs", "docs-test": "linkinator docs", "fix": "gts fix", "lint": "gts check", "prepare": "npm run compile-protos && npm run compile", "system-test:cjs": "c8 mocha build/cjs/system-test", "system-test:esm": "c8 mocha build/esm/system-test", "system-test": "npm run system-test:esm && npm run system-test:cjs", "test:cjs": "c8 mocha build/cjs/test", "test:esm": "c8 mocha build/esm/test", "prelint": "cd samples; npm link ../; npm i", "samples-test": "cd samples/ && npm link ../ && npm i && npm test", "test": "npm run test:esm && npm run test:cjs", "compile:esm": "tsc -p ./tsconfig.esm.json && cp -r esm/src/json-helper.cjs build/esm/src/json-helper.cjs", "babel": "babel esm --out-dir build/cjs --ignore \"esm/**/*.d.ts\" --extensions \".ts\" --out-file-extension .cjs --copy-files", "compile:cjs": "tsc -p ./tsconfig.json && npm run babel", "compile": "npm run compile:esm && rm -rf esm/src/json-helper.d.cts && npm run compile:cjs && rm -rf build/protos && cp -r protos build/protos" }, "dependencies": { "google-gax": "^5.0.0" }, "devDependencies": { "@babel/cli": "^7.26.4", "@babel/core": "^7.26.9", "@babel/preset-env": "^7.26.9", "@babel/preset-typescript": "^7.26.0", "@types/mocha": "^10.0.10", "@types/node": "^22.13.10", "@types/sinon": "^17.0.4", "babel-plugin-replace-import-extension": "^1.1.5", "c8": "^10.1.3", "gapic-tools": "^1.0.1", "gts": "^6.0.2", "jsdoc": "^4.0.4", "jsdoc-fresh": "^4.0.0", "jsdoc-region-tag": "^3.0.0", "long": "^5.3.1", "mocha": "^11.1.0", "pack-n-play": "3.0.1", "sinon": "^21.0.0", "ts-loader": "^9.5.2", "typescript": "^5.8.2", "webpack": "^5.98.0", "webpack-cli": "^6.0.1" }, "engines": { "node": ">=18" }, "homepage": "https://github.com/googleapis/google-cloud-node/tree/main/packages/google-cloud-tasks" }