d76000a1e4
- merge all APIPromise class - remove IServerAPI and IClientAPI - remove res Object, return [status, body] in ServerAPI instead - remove schema classes, use interface instead - `-s` flag for `ctx.state` interface path
45 lines
977 B
JSON
45 lines
977 B
JSON
{
|
|
"name": "@supmiku39/api-ts-gen",
|
|
"version": "2.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",
|
|
"repository": {
|
|
"url": "https://github.com/supmiku39/api-ts-gen",
|
|
"type": "git"
|
|
},
|
|
"keywords": [
|
|
"openapi",
|
|
"swagger",
|
|
"typescript",
|
|
"codegen"
|
|
],
|
|
"files": [
|
|
"dist/*",
|
|
"bin/*",
|
|
"utils"
|
|
],
|
|
"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"
|
|
}
|
|
}
|