UNPKG

ng-openapi

Version:

Generate Angular services and TypeScript types from OpenAPI/Swagger specifications

93 lines (92 loc) 1.96 kB
{ "name": "ng-openapi", "version": "0.1.8", "description": "Generate Angular services and TypeScript types from OpenAPI/Swagger specifications", "keywords": [ "ng-openapi", "angular", "openapi", "swagger", "codegen", "typescript", "generator", "code-generator", "api", "rest", "http", "cli", "ng", "ng openapi", "httpResource", "reactive" ], "author": { "name": "Tareq Jami", "email": "info@jami-it.de", "url": "http://tareqjami.de" }, "license": "MIT", "homepage": "https://ng-openapi.dev/", "bugs": { "url": "https://github.com/ng-openapi/ng-openapi/issues" }, "repository": { "type": "git", "url": "git+https://github.com/ng-openapi/ng-openapi.git", "directory": "packages/ng-openapi" }, "funding": { "type": "github", "url": "https://github.com/sponsors/ng-openapi" }, "main": "./index.cjs", "module": "./index.js", "types": "./index.d.ts", "bin": { "ng-openapi": "./cli.cjs" }, "files": [ "index.js", "index.cjs", "index.d.ts", "cli.cjs", "lib/**/*.js", "lib/**/*.cjs", "lib/**/*.d.ts", "README.md", "LICENSE", "CHANGELOG.md" ], "scripts": { "prepublishOnly": "echo 'Build the package using: npm run build:ng-openapi from workspace root'", "build": "tsup" }, "dependencies": { "commander": "^14.0.0", "ts-morph": "^26.0.0", "ts-node": "^10.9.2", "typescript": "^5.8.3", "@types/swagger-schema-official": "^2.0.25", "js-yaml": "^4.1.0" }, "peerDependencies": { "@angular/core": ">=15", "@angular/common": ">=15" }, "peerDependenciesMeta": { "@angular/core": { "optional": false }, "@angular/common": { "optional": false } }, "engines": { "node": ">=18.0.0", "npm": ">=8.0.0" }, "publishConfig": { "access": "public", "registry": "https://registry.npmjs.org/" } }