Files
gitbook/packages/openapi-parser/package.json
2025-11-16 02:16:20 +01:00

43 lines
1.3 KiB
JSON

{
"name": "@gitbook/openapi-parser",
"description": "Modern OpenAPI parser written in TypeScript with support for OpenAPI 3.1, OpenAPI 3.0 and Swagger 2.0.",
"type": "module",
"exports": {
".": {
"types": "./dist/index.d.ts",
"default": "./dist/index.js"
}
},
"version": "3.0.5",
"sideEffects": false,
"dependencies": {
"@scalar/json-magic": "^0.8.1",
"@scalar/openapi-parser": "^0.23.2",
"@scalar/openapi-types": "^0.5.1"
},
"devDependencies": {
"@tsconfig/strictest": "catalog:",
"@tsconfig/node20": "catalog:",
"@types/swagger2openapi": "^7.0.4",
"bun-types": "catalog:",
"tsdown": "catalog:",
"typescript": "catalog:"
},
"scripts": {
"build": "tsdown",
"typecheck": "tsc --noEmit",
"unit": "bun test",
"dev": "bun run build -- --watch ./src",
"clean": "rm -rf ./dist",
"publish-to-npm": "../../scripts/publish-if-new.sh"
},
"files": ["dist", "README.md", "CHANGELOG.md"],
"publishConfig": {
"access": "public",
"registry": "https://registry.npmjs.org/"
},
"repository": {
"url": "https://github.com/GitbookIO/gitbook"
}
}