UNPKG

swagger-ts-generator

Version:

Given a swagger.json file, generates a number of TypeScript files which can be used as models and model-driven forms in Angular 2 (and above)

63 lines (62 loc) 1.86 kB
{ "name": "swagger-ts-generator", "version": "2.0.6", "description": "Given a swagger.json file, generates a number of TypeScript files which can be used as models and model-driven forms in Angular 2 (and above)", "main": "index.js", "scripts": { "start": "tsc --watch", "build": "tsc", "publish-patch": "npm version patch && npm publish", "test": "yarn run gen && jest", "jest": "jest", "gen": "gulp gen", "gen-webapi-no-download": "gulp gen-webapi-no-download" }, "keywords": [ "Swagger", "Code Generator", "models", "Angular", "Angular2+", "Angular 2+", "ngx", "model-driven forms", "reactive forms" ], "repository": { "type": "git", "url": "https://github.com/areijngoudt/swagger-ts-generator" }, "author": "Ad Reijngoudt <areijngoudt@gmail.com>", "license": "ISC", "dependencies": { "chalk": "^4.1.2", "fs": "0.0.2", "handlebars": "^4.7.7", "lodash": "^4.17.21", "moment": "^2.29.1", "path": "^0.12.7" }, "devDependencies": { "@types/handlebars": "^4.1.0", "@types/jest": "^27.4.0", "@types/lodash": "^4.14.178", "@types/node": "^16.11.18", "gulp": "^4.0.2", "gulp-exec": "^5.0.0", "gulp-jsbeautifier": "^3.0.1", "gulp-load-plugins": "^2.0.7", "gulp-notify": "^4.0.0", "gulp-plumber": "^1.2.1", "gulp-streamify": "^1.0.2", "gulp-task-listing": "^1.1.0", "gulp-util": "^3.0.8", "jest": "^27.4.5", "request": "^2.88.2", "ts-jest": "^27.1.2", "typescript": "~4.3.5", "util": "^0.12.2", "vinyl-source-stream": "^2.0.0", "yargs": "^17.3.1" } }