UNPKG

objection-swagger

Version:

Originally designed as Swagger definition generator for Objection.js models. Since then scope was extended to also cover Swagger-compatible snippets generation from plain JSON Schema entries as well as set of conversions that are useful for model and sche

73 lines (72 loc) 1.55 kB
{ "name": "objection-swagger", "version": "3.2.1", "repository": { "type": "git", "url": "git+https://github.com/kibertoad/objection-swagger.git" }, "keywords": [ "objection", "objection.js", "swagger", "json", "schema", "json-schema" ], "main": "index.js", "author": "Igor Savin", "license": "MIT", "scripts": { "test": "mocha test", "test-with-coverage": "nyc mocha test", "test:ci": "npm run lint && npm run test-with-coverage", "prettier": "prettier --write \"{lib,test}/**/*.{js,ts}\" index.js", "lint": "eslint --format codeframe \"lib/**/*.js\" \"test/**/*.js\" index.js" }, "engines": { "node": ">=6" }, "dependencies": { "es6-promisify": "^6.1.1", "js-yaml": "^3.14.0", "lodash": "^4.17.19", "validation-utils": "^4.0.2" }, "devDependencies": { "chai": "^4.2.0", "eslint": "^6.8.0", "eslint-config-prettier": "^6.11.0", "eslint-plugin-prettier": "^3.1.4", "mkdirp-promise": "^5.0.1", "mocha": "^7.2.0", "nyc": "^15.1.0", "objection": "^2.2.1", "prettier": "^2.0.5", "sinon": "^9.0.2" }, "nyc": { "description": "test coverage", "exclude": [ "node_modules", "test", "build", "examples" ], "reporter": [ "text" ], "cache": true, "all": true, "check-coverage": true, "lines": 70, "statements": 70, "functions": 80, "branches": 55 }, "files": [ "README.md", "LICENSE", "lib/*", "index.js" ] }