cis-api-tool
Version:
根据 swagger/yapi/apifox 的接口定义生成 TypeScript/JavaScript 的接口类型及其请求函数代码。
121 lines • 3.29 kB
JSON
{
"name": "cis-api-tool",
"version": "0.0.25",
"description": "根据 swagger/yapi/apifox 的接口定义生成 TypeScript/JavaScript 的接口类型及其请求函数代码。",
"keywords": [
"yapi",
"codegen",
"typescript",
"swagger",
"apifox"
],
"homepage": "https://github.com/x011223/cis-api-tool.git",
"bugs": {
"url": "https://github.com/x011223/cis-api-tool.git/issues"
},
"repository": {
"type": "git",
"url": "git@github.com:x011223/cis-api-tool.git"
},
"license": "MIT",
"author": {
"name": "Jay Fong",
"email": "xiaochangxu@hzpmf.com",
"url": "https://github.com/x011223"
},
"sideEffects": false,
"main": "lib/cjs/index.js",
"module": "lib/esm/index.mjs",
"types": "lib/esm/index.d.mts",
"bin": {
"apiPower": "lib/cjs/cli.js"
},
"files": [
"lib"
],
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"*.{css,less,scss,sass,html,htm,vue,yml,yaml,json,md}": [
"prettier --write"
],
"*.{js,jsx,ts,tsx}": [
"eslint --fix",
"prettier --write"
]
},
"dependencies": {
"@babel/runtime": "^7.13.10",
"@types/json-schema": "^7.0.9",
"axios": "^1.11.0",
"change-case": "^3.0.2",
"consola": "^2.3.0",
"dayjs": "^1.8.32",
"form-data": "^3.0.0",
"fs-extra": "^7.0.1",
"get-port": "^5.1.1",
"json-schema-to-typescript": "^10.1.4",
"json5": "^2.1.0",
"lodash": "^4.17.21",
"node-fetch": "^2",
"ora": "^3.4.0",
"pinyin-pro": "^3.27.0",
"prettier": "^2.7.1",
"prompts": "^2.0.4",
"proxy-agent": "^5.0.0",
"signal-exit": "^3.0.3",
"swagger-client": "3.18.4",
"to-json-schema": "^0.2.5",
"traverse": "^0.6.11",
"ts-dedent": "^2.2.0",
"ts-node": "^8.0.2",
"typescript": "^4.2.3",
"yargs": "^16.2.0"
},
"devDependencies": {
"@types/fs-extra": "^5.0.4",
"@types/jest": "^30.0.0",
"@types/json5": "^0.0.30",
"@types/lodash": "^4.17.20",
"@types/node": "^10.12.10",
"@types/node-fetch": "^2.6.2",
"@types/prompts": "^1.2.0",
"@types/react": "^16.9.2",
"@types/signal-exit": "^3.0.0",
"@types/swagger-schema-official": "^2.0.21",
"@types/to-json-schema": "^0.2.0",
"@types/yargs": "^16.0.1",
"codecov": "^3",
"dumi": "^1.1.10",
"eslint": "^7",
"gh-pages": "^2.0.1",
"haoma": "^3.10.1",
"husky": "^4",
"jest": "^26",
"lint-staged": "^10",
"notify-dingtalk": "^1.2.0",
"openapi-types": "^7.0.1",
"shx": "^0.3.2",
"standard-version": "^9.3.2",
"tempy": "^0.3.0",
"ts-essentials": "^10.1.1",
"tsdown": "^0.13.1",
"type-fest": "^4.41.0",
"typedoc": "^0.14.2",
"typescript-snapshots-plugin": "^1.7.0"
},
"engines": {
"node": ">=10.19.0"
},
"scripts": {
"build": "tsdown",
"docs": "npm run docs:build && gh-pages --dist docs/dist --dest handbook",
"docs:build": "dumi build",
"docs:dev": "dumi dev",
"release": "standard-version -a && pnpm build && pnpm docs && git push --follow-tags origin main && pnpm publish",
"releaseBeta": "standard-version -a --release-as patch --prerelease beta && pnpm build && git push --follow-tags origin master && npm publish --tag next"
}
}