Files
api-codegen/package.json

71 lines
1.7 KiB
JSON
Raw Normal View History

{
"name": "@gromlab/api-codegen",
"version": "1.0.5",
"description": "CLI tool to generate TypeScript API client from OpenAPI specification",
"type": "module",
"bin": {
"api-codegen": "dist/cli.js"
},
"files": [
"dist",
"package.json"
],
"engines": {
"node": ">=18"
},
"scripts": {
"build": "bun build src/cli.ts --target=node --outdir=dist --format=esm --external=@biomejs/* && cp -r src/templates dist/",
"dev": "bun run src/cli.ts",
2025-10-28 09:58:44 +03:00
"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",
"prepublishOnly": "bun run build"
},
"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",
2025-10-28 09:58:44 +03:00
"@types/node": "^22.10.2",
"@types/react": "^18.3.0",
2025-10-28 09:58:44 +03:00
"@types/tmp": "^0.2.6",
"execa": "^8.0.0",
"msw": "^2.0.0",
"react": "^18.3.0",
"swr": "^2.3.0",
2025-10-28 09:58:44 +03:00
"tmp": "^0.2.1"
},
"peerDependencies": {
"typescript": "^5"
},
"keywords": [
"openapi",
"swagger",
"api",
"codegen",
"typescript",
"generator",
"cli"
],
"author": "S.Gromov",
"license": "MIT",
"homepage": "https://gromlab.ru/gromov/api-codegen",
"repository": {
"type": "git",
"url": "https://gromlab.ru/gromov/api-codegen.git"
},
"bugs": {
"url": "https://gromlab.ru/gromov/api-codegen/issues"
}
}