Archived
1
0
Fork 0
This repository has been archived on 2024-02-06. You can view files and clone it, but cannot push or open issues or pull requests.
api-ts-gen/package.json
supmiku39 75674df502 ClientAPI, ServerAPI interface, Schema TS codegen
ClientAPI: use Axios
ServerAPI: use @koa/router
FullDate: wrapped Date only class
APIPromise: enhanced Promise on api response

application/json only(multipart/*, image/*, ... are not supported)
get, post, put, delete, patch only
2020-04-05 00:57:34 +09:00

30 lines
735 B
JSON

{
"name": "api-codegen-ts",
"version": "1.0.0",
"description": "OpenAPI code generator for TypeScript",
"main": "dist/index.js",
"types": "dist/index.d.ts",
"scripts": {
"clean": "rm -rf dist",
"build": "tsc",
"lint": "eslint lib bin --ext ts --ext js"
},
"author": "supmiku39",
"license": "MIT",
"bin": {
"api-codegen": "bin/api-codegen.js"
},
"devDependencies": {
"@types/js-yaml": "^3.12.3",
"@types/node": "^13.11.0",
"@typescript-eslint/eslint-plugin": "^2.26.0",
"@typescript-eslint/parser": "^2.26.0",
"axios": "^0.19.2",
"eslint": "^6.8.0",
"eslint-config-google": "^0.14.0",
"typescript": "^3.8.3"
},
"dependencies": {
"js-yaml": "^3.13.1"
}
}