@povio/openapi-codegen-cli
Version:
**NOTE:** This CLI tool is primarily designed for use within our organization. The generated code output aligns with our internal template. If you are using this tool without our internal template, make sure to use it in **standalone** mode.
80 lines (79 loc) • 2.3 kB
JSON
{
"name": "@povio/openapi-codegen-cli",
"version": "0.15.4",
"main": "./dist/index.js",
"bin": {
"openapi-codegen": "./dist/sh.js"
},
"scripts": {
"start": "node --import tsx ./src/sh.ts",
"test": "vitest run",
"test:watch": "vitest",
"build:clean": "rm -rf ./dist",
"build:types": "tsc --project . --declaration --emitDeclarationOnly",
"build": "yarn build:clean && yarn build:types && node ./esbuild.mjs && chmod +x ./dist/sh.js",
"start:dist": "node ./dist/sh.js",
"typecheck": "tsc --noEmit",
"lint": "eslint ./src",
"check": "yarn typecheck && yarn lint && yarn test",
"push": "yarn exec ./scripts/publish.sh",
"dev:generate": "rm -rf ./output && yarn start generate --config ./test/config.ts",
"dev:check": "yarn start check --config ./test/config.ts"
},
"files": [
"dist/*",
"src/assets/**",
"src/generators/templates/**",
"README.md"
],
"keywords": [
"povio",
"openapi",
"codegen",
"zod",
"react-query"
],
"homepage": "https://github.com/povio/openapi-codegen-cli",
"bugs": "https://github.com/povio/openapi-codegen-cli/issues",
"repository": {
"url": "git+https://github.com/povio/openapi-codegen-cli.git",
"type": "git"
},
"license": "BSD-3-Clause",
"dependencies": {
"import-fresh": "^3.3.1"
},
"devDependencies": {
"@apidevtools/swagger-parser": "^10.1.0",
"@types/node": "^20.12.12",
"@types/prettier": "^3.0.0",
"@types/prompt-sync": "^4.2.3",
"@types/yargs": "^17.0.32",
"@typescript-eslint/eslint-plugin": "^6.21.0",
"@typescript-eslint/parser": "^6.21.0",
"chalk": "^5.3.0",
"esbuild": "^0.21.3",
"eslint": "^8.57.0",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-no-relative-import-paths": "^1.6.1",
"eslint-plugin-prettier": "^5.1.3",
"handlebars": "^4.7.8",
"openapi-types": "^12.1.3",
"prettier": "^3.2.5",
"prompt-sync": "^4.2.0",
"reflect-metadata": "^0.2.2",
"ts-node": "^10.9.2",
"ts-pattern": "^5.3.1",
"tsx": "^4.10.5",
"type-fest": "^4.26.0",
"typescript": "^5.4.5",
"vitest": "^2.0.5",
"yargs": "^17.7.2"
},
"engines": {
"node": ">= 14",
"yarn": ">= 3.2",
"npm": ">= 8"
},
"packageManager": "yarn@4.2.2"
}