apifox-ts-gen
Version:
从 Apifox OpenAPI 规范生成 TypeScript 类型定义
67 lines • 1.54 kB
JSON
{
"name": "apifox-ts-gen",
"version": "0.0.32",
"description": "从 Apifox OpenAPI 规范生成 TypeScript 类型定义",
"main": "dist/index.js",
"module": "dist/index.mjs",
"types": "dist/index.d.ts",
"exports": {
".": {
"types": "./dist/index.d.ts",
"import": "./dist/index.mjs",
"require": "./dist/index.js"
}
},
"bin": {
"apifox-ts-gen": "./dist/cli.js"
},
"files": [
"dist",
"README.md",
"LICENSE"
],
"keywords": [
"apifox",
"typescript",
"openapi",
"codegen",
"types"
],
"author": "Apifox",
"license": "MIT",
"publishConfig": {
"access": "public"
},
"repository": {
"type": "git",
"url": "git+https://github.com/snoopy1412/apifox-ts-gen.git"
},
"bugs": {
"url": "https://github.com/snoopy1412/apifox-ts-gen/issues"
},
"homepage": "https://github.com/snoopy1412/apifox-ts-gen#readme",
"dependencies": {
"@alicloud/openapi-client": "^0.4.12",
"@alicloud/tea-util": "^1.4.9",
"chalk": "4",
"commander": "^11.1.0",
"cosmiconfig": "^9.0.0",
"lodash": "^4.17.21",
"axios": "^1.7.9",
"inquirer": "^8.2.4"
},
"devDependencies": {
"@types/inquirer": "^8.2.3",
"@types/lodash": "^4.17.13",
"@types/node": "^22.10.2",
"ts-node": "^10.9.2",
"tsup": "^8.3.5",
"typescript": "^5.7.2"
},
"scripts": {
"build": "tsup",
"dev": "ts-node src/cli.ts --no-interactive",
"watch": "tsup --watch",
"postversion": "git push && git push --tags"
}
}