microsoft/typespec
Publicmirrored from https://github.com/microsoft/typespecAvailable
packages/http-client-java/package.json
84lines · modecode
| 1 | { |
| 2 | "name": "@typespec/http-client-java", |
| 3 | "version": "0.1.0", |
| 4 | "description": "TypeSpec library for emitting Java client from the TypeSpec REST protocol binding", |
| 5 | "keywords": [ |
| 6 | "TypeSpec" |
| 7 | ], |
| 8 | "author": "Microsoft Corporation", |
| 9 | "homepage": "https://github.com/Microsoft/typespec", |
| 10 | "readme": "https://github.com/Microsoft/typespec/blob/main/packages/http-client-java/README.md", |
| 11 | "repository": { |
| 12 | "type": "git", |
| 13 | "url": "git+https://github.com/Microsoft/typespec.git" |
| 14 | }, |
| 15 | "bugs": { |
| 16 | "url": "https://github.com/Microsoft/typespec/issues" |
| 17 | }, |
| 18 | "license": "MIT", |
| 19 | "type": "module", |
| 20 | "main": "dist/emitter/emitter.js", |
| 21 | "exports": { |
| 22 | ".": "./dist/emitter/emitter.js" |
| 23 | }, |
| 24 | "engines": { |
| 25 | "node": ">=18.0.0" |
| 26 | }, |
| 27 | "scripts": { |
| 28 | "clean": "rimraf ./dist ./temp ./emitter/temp ./generator/target/emitter.jar", |
| 29 | "build": "npm run build:generator && npm run build:emitter", |
| 30 | "build:emitter": "tsc -p ./emitter/tsconfig.build.json", |
| 31 | "build:generator": "mvn clean install --no-transfer-progress -T 1C -f ./generator/pom.xml", |
| 32 | "format": "pnpm -w format:dir packages/http-client-java", |
| 33 | "lint": "eslint . --max-warnings=0", |
| 34 | "lint:fix": "eslint . --fix", |
| 35 | "watch": "tsc -p ./emitter/tsconfig.build.json --watch", |
| 36 | "extract-api": "npx api-extractor run --local --verbose" |
| 37 | }, |
| 38 | "files": [ |
| 39 | "lib/*.tsp", |
| 40 | "dist/**", |
| 41 | "!dist/test/**", |
| 42 | "generator/http-client-generator/target/emitter.jar" |
| 43 | ], |
| 44 | "peerDependencies": { |
| 45 | "@azure-tools/typespec-autorest": ">=0.47.0 <1.0.0", |
| 46 | "@azure-tools/typespec-azure-core": ">=0.47.0 <1.0.0", |
| 47 | "@azure-tools/typespec-client-generator-core": ">=0.47.1 <1.0.0", |
| 48 | "@typespec/compiler": ">=0.61.0 <1.0.0", |
| 49 | "@typespec/http": ">=0.61.0 <1.0.0", |
| 50 | "@typespec/openapi": ">=0.61.0 <1.0.0", |
| 51 | "@typespec/rest": ">=0.61.0 <1.0.0", |
| 52 | "@typespec/versioning": ">=0.61.0 <1.0.0", |
| 53 | "@typespec/xml": ">=0.61.0 <1.0.0" |
| 54 | }, |
| 55 | "dependencies": { |
| 56 | "@autorest/codemodel": "~4.20.0", |
| 57 | "@typespec/http-client-java": "file:", |
| 58 | "js-yaml": "~4.1.0", |
| 59 | "lodash": "~4.17.21" |
| 60 | }, |
| 61 | "devDependencies": { |
| 62 | "@azure-tools/typespec-autorest": "0.47.0", |
| 63 | "@azure-tools/typespec-azure-core": "0.47.0", |
| 64 | "@azure-tools/typespec-azure-resource-manager": "0.47.1", |
| 65 | "@azure-tools/typespec-azure-rulesets": "0.47.0", |
| 66 | "@azure-tools/typespec-client-generator-core": "0.47.2", |
| 67 | "@microsoft/api-extractor": "^7.47.11", |
| 68 | "@microsoft/api-extractor-model": "^7.29.8", |
| 69 | "@types/js-yaml": "~4.0.9", |
| 70 | "@types/lodash": "~4.17.10", |
| 71 | "@types/node": "~22.7.6", |
| 72 | "@typespec/compiler": "0.61.2", |
| 73 | "@typespec/http": "0.61.0", |
| 74 | "@typespec/openapi": "0.61.0", |
| 75 | "@typespec/rest": "0.61.0", |
| 76 | "@typespec/versioning": "0.61.0", |
| 77 | "@vitest/coverage-v8": "^2.1.3", |
| 78 | "@vitest/ui": "^2.1.3", |
| 79 | "c8": "~10.1.2", |
| 80 | "rimraf": "~6.0.1", |
| 81 | "typescript": "~5.6.3", |
| 82 | "vitest": "^2.1.3" |
| 83 | } |
| 84 | } |
| 85 | |