UNPKG

@protocolnebula/ts-openapi-generator

Version:

Build API and models from Swagger/OpenAPI to use in any project type

95 lines (94 loc) 2.58 kB
{ "name": "@protocolnebula/ts-openapi-generator", "version": "2.6.0", "description": "Build API and models from Swagger/OpenAPI to use in any project type", "keywords": [ "api", "automatization", "cli", "conversion", "converter", "customizable", "generator", "json-server", "mock-generator", "mock-server", "model", "openapi-specifications", "openapi", "swagger", "time-saver", "tool", "typescript-openapi" ], "main": "dist/cli", "types": "dist/cli.d.ts", "scripts": { "prepublish": "npm run build", "copy-pluggable-files": "npx copyfiles -u 1 -a \"./src/mock-generators/**/assets/**/*\" \"./src/templates/**/*\" \"./build/\"", "start": "ts-node src/cli", "start:dev": "npx nodemon", "start:build": "node build/index.js", "start:webpack": "npx webpack --watch", "prebuild": "fse remove build", "build": "tsc", "postbuild": "npm run copy-pluggable-files", "build:webpack": "npx webpack --mode production", "generate:examples": "npm start -- --config-file ./examples/transform-config.json", "test": "echo \"Error: no test specified\" && exit 1", "prepare": "husky install" }, "license": "ISC", "publishConfig": { "access": "public" }, "author": { "name": "Ruben Arroyo Ceruelo", "email": "ruben@racs.es", "url": "https://racs.es" }, "funding": { "type": "patreon", "url": "https://patreon.com/ProtocolNebula" }, "bin": { "transform-swagger": "./build/cli.js" }, "homepage": "https://github.com/ProtocolNebula/ts-openapi-generator", "repository": { "type": "git", "url": "https://github.com/ProtocolNebula/ts-openapi-generator" }, "bugs": { "url": "https://github.com/ProtocolNebula/ts-openapi-generator/issues", "email": "project@hostname.com" }, "dependencies": { "@atao60/fse-cli": "^0.1.7", "api-spec-converter": "^2.10.0", "case": "^1.6.3", "casual": "^1.6.2", "fs-extra": "^10.1.0", "husky": "^8.0.0", "js-yaml": "^4.1.0", "mkdir-recursive": "^0.4.0", "mustache": "^4.2.0", "openapi-types": "^12.0.0", "swagger2openapi": "^7.0.8", "yargs": "^17.5.1" }, "devDependencies": { "@types/node": "^14.0.26", "@types/yargs": "^17.0.11", "copyfiles": "^2.4.1", "nodemon": "^2.0.19", "prettier": "^2.7.1", "pretty-quick": "^3.1.3", "rimraf": "^3.0.2", "ts-loader": "^9.3.1", "ts-node": "^10.9.1", "typescript": "^4.7.4", "webpack": "^5.74.0", "webpack-cli": "^4.10.0" } }