UNPKG

@spailybot/moleculer-auto-openapi

Version:
98 lines 2.79 kB
{ "name": "@spailybot/moleculer-auto-openapi", "version": "1.3.2", "description": "Generate openapi scheme for moleculer", "main": "./lib/index.cjs", "module": "./lib/index.mjs", "types": "./lib/index.d.ts", "type": "module", "sideEffects": false, "files": [ "lib", "index.d.ts" ], "exports": { ".": { "import": { "types": "./lib/index.d.ts", "default": "./lib/index.mjs" }, "require": { "types": "./lib/index.d.cts", "default": "./lib/index.cjs" }, "default": "./lib/index.cjs" }, "./types": { "types": "./index.d.ts" } }, "repository": { "type": "git", "url": "git+https://github.com/spailybot/moleculer-auto-openapi.git" }, "keywords": [ "openapi", "openapi 3.1", "fastest-validator", "swagger", "moleculer", "moleculer-web" ], "author": "SpailyBot <contact@sbot.tv>", "contributors": [ "Gabdrashitov Rinat <paladin2012gnu@gmail.com>" ], "license": "MIT", "bugs": { "url": "https://github.com/spailybot/moleculer-auto-openapi/issues" }, "homepage": "https://github.com/spailybot/moleculer-auto-openapi#readme", "devDependencies": { "@jest/globals": "^29.7.0", "@seriousme/openapi-schema-validator": "^2.4.0", "@tsconfig/node-lts": "^22.0.1", "@types/body-parser": "^1.19.5", "@types/node": "^22.14.1", "@types/qs": "^6.9.18", "@types/swagger-ui-dist": "^3.30.5", "@typescript-eslint/parser": "7.8.0", "esbuild": "^0.25.2", "eslint": "8.56.0", "eslint-config-prettier": "9.1.0", "eslint-plugin-prettier": "5.1.3", "fastest-validator": "^1.19.0", "jest": "^29.7.0", "jest-sonar": "^0.2.16", "moleculer": "^0.14.35", "moleculer-web": "^0.10.8", "openapi-types": "^12.1.3", "prettier": "3.5.3", "rimraf": "^6.0.1", "swagger-ui-dist": "^5.10.0", "ts-jest": "^29.3.2", "typedoc": "^0.28.2", "typescript": "^5.8.3" }, "peerDependencies": { "moleculer": "^0.14.31" }, "optionalDependencies": { "swagger-ui-dist": "^5.21.0" }, "engines": { "node": ">=14.0.0" }, "scripts": { "version": "npm run build", "preversion": "git update-index --really-refresh && git diff-index --quiet HEAD || (echo git is not clean && exit 1)", "ts-types": "tsc -p tsconfig.build.json --emitDeclarationOnly --outDir lib/types", "build": "rimraf lib && node esbuild.mjs && npm run ts-types", "jest": "node --experimental-vm-modules node_modules/jest/bin/jest.js", "test": "npm run jest --", "lint": "eslint -f unix \"src/**\"", "lint:fix": "npm run lint -- --fix", "ci:eslint": "npm run lint -- -f json -o ./coverage/eslint-report.json", "generate:documentation": "typedoc" } }