typescript-swagger
Version:
Generate Swagger files from a decorator library like typescript-rest or a @decorators/express.
93 lines (92 loc) • 2.52 kB
JSON
{
"name": "typescript-swagger",
"author": {
"name": "Peter Placzek",
"email": "tadashi@animesu.net",
"url": "https:/github.com/Tada5hi"
},
"license": "MIT",
"version": "0.1.2",
"description": "Generate Swagger files from a decorator library like typescript-rest or a @decorators/express.",
"keywords": [
"typescript",
"typescript-rest",
"@decorators/express",
"swagger",
"open api",
"rest",
"microservice",
"codegen",
"generation",
"utility-types"
],
"main": "./dist/index.js",
"typings": "./dist/index.d.ts",
"scripts": {
"start": "tsc -w",
"build": "npm run clean && tsc",
"clean": "rimraf dist",
"lint": "tslint ./src/**/*.ts ./test/**/*.ts",
"lint:fix": "tslint --fix ./src/**/*.ts ./test/**/*.ts -t verbose",
"swagger-gen": "node ./dist/cli.js -c ./test/data/swagger.js",
"pretest": "cross-env NODE_ENV=test npm run build && npm run lint",
"test": "cross-env NODE_ENV=test jest --config ./test/jest.config.js",
"test:coverage": "cross-env NODE_ENV=test jest --config ./test/jest.config.js --coverage",
"tsc": "tsc",
"preblushOnly": "tsc -d"
},
"dependencies": {
"argparse": "^1.0.10",
"debug": "^4.2.0",
"fs-extra-promise": "^1.0.1",
"glob": "^7.1.6",
"lodash": "^4.17.21",
"merge": "^2.1.1",
"minimatch": "^3.0.4",
"mkdirp": "^1.0.4",
"path": "^0.12.7",
"swagger2openapi": "^7.0.0",
"typescript": "^4.2.4",
"typescript-rest": "^3.0.3",
"yamljs": "^0.2.10"
},
"devDependencies": {
"@types/argparse": "^1.0.38",
"@types/debug": "^4.1.5",
"@types/fs-extra-promise": "^1.0.9",
"@types/glob": "^7.1.3",
"@types/jest": "^24.0.21",
"@types/lodash": "^4.14.161",
"@types/minimatch": "^3.0.3",
"@types/mkdirp": "^1.0.1",
"@types/yamljs": "^0.2.31",
"coveralls": "^3.1.0",
"cross-env": "^4.0.0",
"jest": "^26.4.2",
"jsonata": "^1.8.3",
"loadash": "^1.0.0",
"rimraf": "^2.7.1",
"source-map-support": "^0.4.14",
"ts-jest": "^26.4.0",
"ts-loader": "^5.3.3",
"ts-node": "^8.10.2",
"tslint": "^5.20.1",
"tslint-config-prettier": "^1.17.0",
"typescript": "^4.2.3"
},
"repository": {
"type": "git",
"url": "https://github.com/tada5hi/typescript-swagger.git"
},
"bin": {
"swagger-generate": "dist/cli/index.js"
},
"directories": {
"lib": "dist",
"doc": "doc"
},
"engines": {
"node": ">=6.0.0"
},
"engineStrict": true
}