55 lines
1.3 KiB
JSON
55 lines
1.3 KiB
JSON
{
|
|
"name": "api-codegen",
|
|
"version": "1.0.0",
|
|
"description": "CLI tool to generate TypeScript API client from OpenAPI specification",
|
|
"type": "module",
|
|
"bin": {
|
|
"api-codegen": "./dist/cli.js"
|
|
},
|
|
"scripts": {
|
|
"build": "bun build src/cli.ts --target=node --outdir=dist --format=esm",
|
|
"dev": "bun run src/cli.ts",
|
|
"test": "bun test",
|
|
"test:unit": "bun test tests/unit",
|
|
"test:integration": "bun test tests/integration",
|
|
"test:watch": "bun test --watch",
|
|
"test:coverage": "bun test --coverage"
|
|
},
|
|
"dependencies": {
|
|
"@biomejs/wasm-bundler": "^2.3.0",
|
|
"@biomejs/wasm-web": "^2.3.0",
|
|
"chalk": "^5.3.0",
|
|
"commander": "^12.1.0",
|
|
"ejs": "^3.1.10",
|
|
"js-yaml": "^4.1.0",
|
|
"swagger-typescript-api": "^13.0.22"
|
|
},
|
|
"devDependencies": {
|
|
"@types/bun": "latest",
|
|
"@types/ejs": "^3.1.5",
|
|
"@types/js-yaml": "^4.0.9",
|
|
"@types/node": "^22.10.2",
|
|
"@types/react": "^18.3.0",
|
|
"@types/tmp": "^0.2.6",
|
|
"execa": "^8.0.0",
|
|
"msw": "^2.0.0",
|
|
"react": "^18.3.0",
|
|
"swr": "^2.3.0",
|
|
"tmp": "^0.2.1"
|
|
},
|
|
"peerDependencies": {
|
|
"typescript": "^5"
|
|
},
|
|
"keywords": [
|
|
"openapi",
|
|
"swagger",
|
|
"api",
|
|
"codegen",
|
|
"typescript",
|
|
"generator",
|
|
"cli"
|
|
],
|
|
"author": "",
|
|
"license": "MIT"
|
|
}
|