UNPKG

fastify-openapi-glue

Version:

generate a fastify configuration from an openapi specification

65 lines (64 loc) 1.99 kB
{ "name": "fastify-openapi-glue", "version": "4.11.3", "description": "generate a fastify configuration from an openapi specification", "main": "index.js", "type": "module", "engines": { "node": ">=20.0.0" }, "types": "index.d.ts", "scripts": { "start": "fastify start --options examples/petstore/index.js", "format": "biome format --write .", "test": "node --test --experimental-test-coverage --test-reporter=spec --test-reporter-destination=stdout --test-reporter=lcov --test-reporter-destination=coverage.lcov --test-coverage-lines=100 --test-coverage-functions=100 --test-coverage-branches=100 --test-coverage-exclude='test/**' test/test-*.js && biome format --write . && biome ci .", "test:typescript": "tsc --noEmit", "test:ci": "npm run lint && npm run test && npm run test:typescript", "lint": "biome ci .", "dev": "fastify start -l info -P examples/petstore/index.js", "updateChecksums": "node test/update-checksums.js", "preversion": "npm test && git add examples/generated-*-project/package.json", "postversion": "git push && git push --tags" }, "author": "Hans Klunder", "license": "MIT", "bin": { "openapi-glue": "./bin/openapi-glue-cli.js" }, "dependencies": { "@seriousme/openapi-schema-validator": "^2.9.0", "fastify-plugin": "^5.1.0", "yaml": "^2.9.0" }, "directories": { "example": "./examples", "test": "./test", "lib": "./examples", "bin": "./bin" }, "devDependencies": { "@biomejs/biome": "^2.4.16", "expect-type": "^1.3.0", "fastify": "^5.8.5", "fastify-cli": "^8.0.0", "typescript": "^6.0.3" }, "repository": { "type": "git", "url": "git+https://github.com/seriousme/fastify-openapi-glue.git" }, "keywords": [ "fastify", "swagger", "openapi", "generator" ], "bugs": { "url": "https://github.com/seriousme/fastify-openapi-glue/issues" }, "homepage": "https://github.com/seriousme/fastify-openapi-glue#readme", "exports": { "import": "./index.js", "default": "./index.js" } }