cloudflare/cloudflare-typescript
Publicmirrored from https://github.com/cloudflare/cloudflare-typescriptAvailable
package.json
125lines · modeblame
2d51afdcstainless-app[bot]2 years ago | 1 | { |
| 2 | "name": "cloudflare", | |
76cb1905stainless-app[bot]4 months ago | 3 | "version": "6.0.0-beta.2", |
2d51afdcstainless-app[bot]2 years ago | 4 | "description": "The official TypeScript library for the Cloudflare API", |
63aa7017Stainless Bot1 years ago | 5 | "author": "Cloudflare <api@cloudflare.com>", |
2d51afdcstainless-app[bot]2 years ago | 6 | "types": "dist/index.d.ts", |
| 7 | "main": "dist/index.js", | |
| 8 | "type": "commonjs", | |
0b5a90f5Vaishak Dinesh6 months ago | 9 | "repository": { |
| 10 | "type": "git", | |
| 11 | "url": "https://github.com/cloudflare/cloudflare-typescript.git" | |
| 12 | }, | |
2d51afdcstainless-app[bot]2 years ago | 13 | "license": "Apache-2.0", |
159786f0stainless-app[bot]2 years ago | 14 | "packageManager": "yarn@1.22.22", |
2d51afdcstainless-app[bot]2 years ago | 15 | "files": [ |
63458af8stainless-app[bot]1 years ago | 16 | "**/*" |
2d51afdcstainless-app[bot]2 years ago | 17 | ], |
| 18 | "private": false, | |
2bfc1d96stainless-app[bot]1 years ago | 19 | "publishConfig": { |
| 20 | "access": "public" | |
| 21 | }, | |
2d51afdcstainless-app[bot]2 years ago | 22 | "scripts": { |
2157ac0dstainless-app[bot]2 years ago | 23 | "test": "./scripts/test", |
dbae3674stainless-app[bot]2 years ago | 24 | "build": "./scripts/build", |
2d51afdcstainless-app[bot]2 years ago | 25 | "prepublishOnly": "echo 'to publish, run yarn build && (cd dist; yarn publish)' && exit 1", |
| 26 | "format": "prettier --write --cache --cache-strategy metadata . !dist", | |
0436f37cstainless-app[bot]1 years ago | 27 | "prepare": "if ./scripts/utils/check-is-in-git-install.sh; then ./scripts/build && ./scripts/utils/git-swap.sh; fi", |
2d51afdcstainless-app[bot]2 years ago | 28 | "tsn": "ts-node -r tsconfig-paths/register", |
dbae3674stainless-app[bot]2 years ago | 29 | "lint": "./scripts/lint", |
a40dd131stainless-app[bot]2 years ago | 30 | "fix": "./scripts/format" |
2d51afdcstainless-app[bot]2 years ago | 31 | }, |
| 32 | "dependencies": { | |
| 33 | "@types/node": "^18.11.18", | |
| 34 | "@types/node-fetch": "^2.6.4", | |
| 35 | "abort-controller": "^3.0.0", | |
| 36 | "agentkeepalive": "^4.2.1", | |
| 37 | "form-data-encoder": "1.7.2", | |
| 38 | "formdata-node": "^4.3.2", | |
785c611estainless-app[bot]1 years ago | 39 | "node-fetch": "^2.6.7" |
2d51afdcstainless-app[bot]2 years ago | 40 | }, |
| 41 | "devDependencies": { | |
7e66017bstainless-app[bot]2 years ago | 42 | "@swc/core": "^1.3.102", |
| 43 | "@swc/jest": "^0.2.29", | |
2d51afdcstainless-app[bot]2 years ago | 44 | "@types/jest": "^29.4.0", |
| 45 | "@typescript-eslint/eslint-plugin": "^6.7.0", | |
| 46 | "@typescript-eslint/parser": "^6.7.0", | |
| 47 | "eslint": "^8.49.0", | |
| 48 | "eslint-plugin-prettier": "^5.0.1", | |
| 49 | "eslint-plugin-unused-imports": "^3.0.0", | |
785c611estainless-app[bot]1 years ago | 50 | "iconv-lite": "^0.6.3", |
2d51afdcstainless-app[bot]2 years ago | 51 | "jest": "^29.4.0", |
| 52 | "prettier": "^3.0.0", | |
| 53 | "ts-jest": "^29.1.0", | |
| 54 | "ts-node": "^10.5.0", | |
| 55 | "tsc-multi": "^1.1.0", | |
| 56 | "tsconfig-paths": "^4.0.0", | |
| 57 | "typescript": "^4.8.2" | |
| 58 | }, | |
| 59 | "sideEffects": [ | |
| 60 | "./_shims/index.js", | |
| 61 | "./_shims/index.mjs", | |
| 62 | "./shims/node.js", | |
| 63 | "./shims/node.mjs", | |
| 64 | "./shims/web.js", | |
| 65 | "./shims/web.mjs" | |
| 66 | ], | |
| 67 | "exports": { | |
| 68 | "./_shims/auto/*": { | |
| 69 | "deno": { | |
| 70 | "types": "./dist/_shims/auto/*.d.ts", | |
| 71 | "require": "./dist/_shims/auto/*.js", | |
| 72 | "default": "./dist/_shims/auto/*.mjs" | |
| 73 | }, | |
| 74 | "bun": { | |
| 75 | "types": "./dist/_shims/auto/*.d.ts", | |
| 76 | "require": "./dist/_shims/auto/*-bun.js", | |
| 77 | "default": "./dist/_shims/auto/*-bun.mjs" | |
| 78 | }, | |
| 79 | "browser": { | |
| 80 | "types": "./dist/_shims/auto/*.d.ts", | |
| 81 | "require": "./dist/_shims/auto/*.js", | |
| 82 | "default": "./dist/_shims/auto/*.mjs" | |
| 83 | }, | |
| 84 | "worker": { | |
| 85 | "types": "./dist/_shims/auto/*.d.ts", | |
| 86 | "require": "./dist/_shims/auto/*.js", | |
| 87 | "default": "./dist/_shims/auto/*.mjs" | |
| 88 | }, | |
| 89 | "workerd": { | |
| 90 | "types": "./dist/_shims/auto/*.d.ts", | |
| 91 | "require": "./dist/_shims/auto/*.js", | |
| 92 | "default": "./dist/_shims/auto/*.mjs" | |
| 93 | }, | |
| 94 | "node": { | |
| 95 | "types": "./dist/_shims/auto/*-node.d.ts", | |
| 96 | "require": "./dist/_shims/auto/*-node.js", | |
| 97 | "default": "./dist/_shims/auto/*-node.mjs" | |
| 98 | }, | |
| 99 | "types": "./dist/_shims/auto/*.d.ts", | |
| 100 | "require": "./dist/_shims/auto/*.js", | |
| 101 | "default": "./dist/_shims/auto/*.mjs" | |
| 102 | }, | |
| 103 | ".": { | |
| 104 | "require": { | |
| 105 | "types": "./dist/index.d.ts", | |
| 106 | "default": "./dist/index.js" | |
| 107 | }, | |
| 108 | "types": "./dist/index.d.mts", | |
| 109 | "default": "./dist/index.mjs" | |
| 110 | }, | |
| 111 | "./*.mjs": { | |
f9877412stainless-app[bot]1 years ago | 112 | "types": "./dist/*.d.ts", |
| 113 | "default": "./dist/*.mjs" | |
2d51afdcstainless-app[bot]2 years ago | 114 | }, |
| 115 | "./*.js": { | |
f9877412stainless-app[bot]1 years ago | 116 | "types": "./dist/*.d.ts", |
| 117 | "default": "./dist/*.js" | |
2d51afdcstainless-app[bot]2 years ago | 118 | }, |
| 119 | "./*": { | |
f9877412stainless-app[bot]1 years ago | 120 | "types": "./dist/*.d.ts", |
| 121 | "require": "./dist/*.js", | |
| 122 | "default": "./dist/*.mjs" | |
2d51afdcstainless-app[bot]2 years ago | 123 | } |
| 124 | } | |
| 125 | } |