UNPKG

openapi-ts-generator

Version:

Based on swagger-ts-generator, this is a type script model generator specifically for services with OpenApi spec documentation.

85 lines (84 loc) 2.5 kB
{ "name": "openapi-ts-generator", "version": "8.56.2", "description": "Based on swagger-ts-generator, this is a type script model generator specifically for services with OpenApi spec documentation.", "main": "index.js", "types": "index.d.ts", "exports": { ".": { "import": "./index.js", "require": "./index.js", "types": "./index.d.ts" }, "./enums": { "import": "./enums/index.js", "require": "./enums/index.js", "types": "./enums/index.d.ts" } }, "scripts": { "build": "tsc && cp -rfv ./src/templates ./lib", "format": "prettier --write \"src/**/*.ts\"", "lint": "eslint . --ext .ts --output-file ./eslint-report.json --format json && eslint . --ext .ts --output-file ./eslint-report.html --format html ", "link": "npm run build && cd lib && npm link && cd ..", "test": "npm run build && jest --collect-coverage", "prep:lib": "rm -rv ./lib/*.spec.* && rm -rv ./lib/**/*.spec.* && cp -v ./package.json ./lib/ && cp -v ./LICENSE ./lib/ && cp -v ./README.md ./lib/", "debug": "npm run build && node --inspect-brk ./lib/app.js" }, "author": { "name": "Isaac Martinez <@ikemtz>" }, "repository": { "type": "git", "url": "git+https://github.com/ikemtz/OpenApi-TS-Generator.git" }, "keywords": [ "OpenAPI", "TypeScript", "TS", "Interfaces", "Angular", "Swagger" ], "license": "MIT", "bugs": { "url": "https://github.com/ikemtz/OpenApi-TS-Generator/issues" }, "files": [ "**/*" ], "homepage": "https://github.com/ikemtz/OpenApi-TS-Generator#readme", "devDependencies": { "@types/jest": "^29.5.14", "@types/lodash": "^4.17.15", "@types/node": "^20.11.21", "@types/pluralize": "^0.0.33", "@typescript-eslint/eslint-plugin": "^7.1.0", "@typescript-eslint/parser": "^7.1.0", "eslint": "8.56", "eslint-config-prettier": "^9.1.0", "eslint-config-standard": "^17.1.0", "eslint-plugin-import": "^2.31.0", "eslint-plugin-node": "^11.1.0", "eslint-plugin-promise": "^6.6.0", "jest": "^29.7.0", "jest-junit": "^16.0.0", "openapi3-ts": "^4.4.0", "prettier": "^3.5.2", "rxjs": "^7.6.0", "ts-jest": "^29.2.6", "typescript": "^4.9.5" }, "dependencies": { "axios": ">=1.7.9", "handlebars": ">=4.x", "lodash": ">=4.x", "pluralize": "^8.0.0" }, "peerDependencies": { "axios": ">=1.x", "handlebars": ">=4.x", "lodash": ">=4.x", "rxjs": "*" } }