UNPKG

serverless-openapi

Version:

Serverless plugin to generate OpenAPI V3 documentation from serverless configuration

79 lines (78 loc) 2.58 kB
{ "name": "serverless-openapi", "version": "1.1.2", "description": "Serverless plugin to generate OpenAPI V3 documentation from serverless configuration", "main": "index.js", "engines": { "node": ">=6.0.0", "npm": ">=3.8.6" }, "repository": { "type": "git", "url": "https://github.com/theodo/serverless-openapi.git" }, "bugs": "https://github.com/theodo/serverless-openapi/issues", "author": "Abilio Henrique <abilio.henrique@temando.com>", "contributors": [ "Abilio Henrique <abilio.henrique@temando.com>", "nfour <novus.nfour@gmail.com>", "Alexandre Pernin <alex.e.pernin@gmail.com>" ], "keywords": [ "OpenAPI", "swagger", "serverless" ], "license": "MIT", "scripts": { "test": "jest -c ./jest.config.js", "test:build": "jest -c '{ \"testRegex\": \".spec.js$\"}' build", "test:coverage": "jest -c ./jest.config.js --coverage", "lint": "eslint --ext .ts,.tsx .", "lint:fix": "npm run lint -- --fix", "preversion": "npm run lint && npm run build && npm run test:build && changelog-verify CHANGELOG.md", "version": "version-changelog CHANGELOG.md && changelog-verify CHANGELOG.md && git add CHANGELOG.md", "release": "cd build && npm publish", "test:project": "cd test/project && ./node_modules/.bin/sls openapi generate", "test:prepare": "scripts/prepareTests.bash", "build:link": "npm run build && cd build && npm link", "build:watch": "npm run build && tsc --watch", "build": "scripts/build.bash" }, "devDependencies": { "@types/bluebird": "^3.5.8", "@types/chalk": "^0.4.31", "@types/fs-extra": "^4.0.0", "@types/jest": "^20.0.2", "@types/js-yaml": "^3.12.1", "@types/json-schema": "^7.0.3", "@types/lodash": "^4.14.123", "@types/node": "^8.10.48", "@types/serverless": "^1.18.2", "@types/uuid": "^3.4.4", "@typescript-eslint/eslint-plugin": "^1.7.0", "@typescript-eslint/parser": "^1.7.0", "changelog-verify": "^1.0.4", "eslint": "^5.16.0", "eslint-config-prettier": "^4.2.0", "eslint-plugin-prettier": "^3.0.1", "jest": "^26.6.3", "openapi-types": "^1.3.4", "prettier": "^1.17.0", "serverless": "^1.41.1", "ts-jest": "^24.0.2", "ts-node": "^3.1.0", "typescript": "^3.4.5", "version-changelog": "^3.1.1" }, "dependencies": { "bluebird": "^3.5.0", "chalk": "^2.0.1", "fs-extra": "^4.0.1", "js-yaml": "^3.8.4", "json-schema-ref-parser": "^6.1.0", "lodash": "^4.17.21", "swagger2openapi": "^2.5.0", "uuid": "^3.1.0" } }