microsoft/typespec
Publicmirrored from https://github.com/microsoft/typespecAvailable
packages/http-client-python/package.json
129lines · modecode
| 1 | { |
| 2 | "name": "@typespec/http-client-python", |
| 3 | "version": "0.29.2", |
| 4 | "author": "Microsoft Corporation", |
| 5 | "description": "TypeSpec emitter for Python SDKs", |
| 6 | "homepage": "https://typespec.io", |
| 7 | "readme": "https://github.com/microsoft/typespec/blob/main/packages/http-client-python/README.md", |
| 8 | "license": "MIT", |
| 9 | "repository": { |
| 10 | "type": "git", |
| 11 | "url": "git+https://github.com/microsoft/typespec.git" |
| 12 | }, |
| 13 | "bugs": { |
| 14 | "url": "https://github.com/microsoft/typespec/issues" |
| 15 | }, |
| 16 | "keywords": [ |
| 17 | "typespec", |
| 18 | "python" |
| 19 | ], |
| 20 | "type": "module", |
| 21 | "main": "dist/emitter/index.js", |
| 22 | "exports": { |
| 23 | ".": { |
| 24 | "types": "./dist/emitter/index.d.ts", |
| 25 | "default": "./dist/emitter/index.js" |
| 26 | } |
| 27 | }, |
| 28 | "engines": { |
| 29 | "node": ">=22.0.0" |
| 30 | }, |
| 31 | "scripts": { |
| 32 | "clean": "rimraf ./dist ./temp ./venv ./tests/generated", |
| 33 | "build": "tsc -p ./emitter/tsconfig.build.json && tsx ./eng/scripts/setup/build.ts", |
| 34 | "watch": "tsc -p ./emitter/tsconfig.build.json --watch", |
| 35 | "install": "tsx ./eng/scripts/setup/install.ts", |
| 36 | "prepare": "tsx ./eng/scripts/setup/prepare.ts", |
| 37 | "setup": "npm run build && npm run install", |
| 38 | "test": "tsx ./eng/scripts/ci/run-tests.ts", |
| 39 | "test:emitter": "tsx ./eng/scripts/ci/run-tests.ts --emitter", |
| 40 | "test:generator": "tsx ./eng/scripts/ci/run-tests.ts --generator", |
| 41 | "lint": "tsx ./eng/scripts/ci/lint.ts", |
| 42 | "lint:generated": "tsx ./eng/scripts/ci/lint.ts --generated", |
| 43 | "format": "tsx ./eng/scripts/ci/format.ts", |
| 44 | "format:check": "tsx ./eng/scripts/ci/format.ts --check", |
| 45 | "format:generated": "tsx ./eng/scripts/ci/format.ts --generated", |
| 46 | "typecheck": "tsx ./eng/scripts/ci/typecheck.ts", |
| 47 | "typecheck:generated": "tsx ./eng/scripts/ci/typecheck.ts --generated", |
| 48 | "regenerate": "tsx ./eng/scripts/ci/regenerate.ts", |
| 49 | "ci": "npm run test:emitter && npm run ci:generated", |
| 50 | "ci:generated": "tsx ./eng/scripts/ci/run-tests.ts --generator --env=ci", |
| 51 | "change:version": "pnpm chronus version --ignore-policies --only @typespec/http-client-python", |
| 52 | "change:add": "pnpm chronus add", |
| 53 | "regen-docs": "node ../../packages/tspd/cmd/tspd.js doc . --enable-experimental --output-dir ../../website/src/content/docs/docs/emitters/clients/http-client-python/reference --skip-js" |
| 54 | }, |
| 55 | "files": [ |
| 56 | "dist/**", |
| 57 | "!dist/test/**", |
| 58 | "generator/**", |
| 59 | "eng/scripts/**", |
| 60 | "emitter" |
| 61 | ], |
| 62 | "peerDependencies": { |
| 63 | "@azure-tools/typespec-autorest": ">=0.68.0 <1.0.0", |
| 64 | "@azure-tools/typespec-azure-core": ">=0.68.0 <1.0.0", |
| 65 | "@azure-tools/typespec-azure-resource-manager": ">=0.68.0 <1.0.0", |
| 66 | "@azure-tools/typespec-azure-rulesets": ">=0.68.0 <1.0.0", |
| 67 | "@azure-tools/typespec-client-generator-core": ">=0.68.0 <1.0.0", |
| 68 | "@typespec/compiler": "^1.12.0", |
| 69 | "@typespec/http": "^1.12.0", |
| 70 | "@typespec/openapi": "^1.12.0", |
| 71 | "@typespec/rest": ">=0.82.0 <1.0.0", |
| 72 | "@typespec/versioning": ">=0.82.0 <1.0.0", |
| 73 | "@typespec/events": ">=0.82.0 <1.0.0", |
| 74 | "@typespec/sse": ">=0.82.0 <1.0.0", |
| 75 | "@typespec/streams": ">=0.82.0 <1.0.0", |
| 76 | "@typespec/xml": ">=0.82.0 <1.0.0" |
| 77 | }, |
| 78 | "playgroundConfig": { |
| 79 | "assets": [ |
| 80 | { |
| 81 | "path": "generator/dist/pygen-*.whl", |
| 82 | "contentType": "application/zip" |
| 83 | } |
| 84 | ], |
| 85 | "bundlePeerDependencies": [ |
| 86 | "@azure-tools/typespec-client-generator-core", |
| 87 | "@azure-tools/typespec-azure-core", |
| 88 | "@azure-tools/typespec-autorest", |
| 89 | "@azure-tools/typespec-azure-resource-manager", |
| 90 | "@azure-tools/typespec-azure-rulesets" |
| 91 | ] |
| 92 | }, |
| 93 | "dependencies": { |
| 94 | "js-yaml": "~4.1.0", |
| 95 | "marked": "^15.0.6", |
| 96 | "pyodide": "0.26.2", |
| 97 | "semver": "~7.6.2", |
| 98 | "tsx": "^4.21.0" |
| 99 | }, |
| 100 | "devDependencies": { |
| 101 | "@azure-tools/typespec-autorest": "~0.68.0", |
| 102 | "@azure-tools/typespec-azure-core": "~0.68.0", |
| 103 | "@azure-tools/typespec-azure-resource-manager": "~0.68.0", |
| 104 | "@azure-tools/typespec-azure-rulesets": "~0.68.0", |
| 105 | "@azure-tools/typespec-client-generator-core": "~0.68.0", |
| 106 | "@azure-tools/azure-http-specs": "0.1.0-alpha.40", |
| 107 | "@typespec/compiler": "^1.12.0", |
| 108 | "@typespec/http": "^1.12.0", |
| 109 | "@typespec/openapi": "^1.12.0", |
| 110 | "@typespec/rest": "~0.82.0", |
| 111 | "@typespec/versioning": "~0.82.0", |
| 112 | "@typespec/events": "~0.82.0", |
| 113 | "@typespec/spector": "0.1.0-alpha.25", |
| 114 | "@typespec/spec-api": "0.1.0-alpha.14", |
| 115 | "@typespec/sse": "~0.82.0", |
| 116 | "@typespec/streams": "~0.82.0", |
| 117 | "@typespec/xml": "~0.82.0", |
| 118 | "@typespec/http-specs": "0.1.0-alpha.37", |
| 119 | "@types/js-yaml": "~4.0.5", |
| 120 | "@types/node": "~25.0.2", |
| 121 | "@types/semver": "7.5.8", |
| 122 | "c8": "^10.1.3", |
| 123 | "picocolors": "~1.1.1", |
| 124 | "rimraf": "~6.1.2", |
| 125 | "typescript": "~5.9.2", |
| 126 | "typescript-eslint": "^8.49.0", |
| 127 | "vitest": "^4.0.15" |
| 128 | } |
| 129 | } |
| 130 | |