Files
varsity/package.json
Luke Hagar c4a250359f Enhance .gitignore, update dependencies, and improve CLI functionality
- Expanded .gitignore to include additional build outputs, environment files, and IDE configurations.
- Updated bun.lock to include new dependencies: js-yaml and its types.
- Refactored index.ts to export new validation functions and types for better modularity.
- Updated package.json to reflect version bump to 1.0.3, added repository and homepage information, and improved script commands.
- Enhanced README.md with clearer usage instructions and examples for library and CLI usage.
- Improved CLI commands for validation, parsing, and reporting, including support for multiple sources and detailed output options.
- Added logging functionality throughout the codebase for better debugging and user feedback.
- Implemented recursive validation and reference analysis features for comprehensive OpenAPI specification validation.
2025-10-01 22:56:10 +00:00

78 lines
1.7 KiB
JSON

{
"name": "varsity",
"version": "1.0.3",
"description": "Comprehensive OpenAPI parsing and validation library",
"type": "module",
"main": "./dist/index.js",
"module": "./dist/index.js",
"exports": {
".": {
"import": "./dist/index.js",
"types": "./index.ts"
},
"./cli": {
"import": "./dist/cli.js",
"types": "./src/cli.ts"
}
},
"bin": {
"varsity": "dist/cli.js"
},
"scripts": {
"start": "bun run src/cli.ts",
"dev": "bun run --watch src/cli.ts",
"test": "bun test",
"build": "bun build index.ts --outdir dist --target node --format esm",
"build:cli": "bun build src/cli.ts --outdir dist --target node --format esm --outfile varsity",
"build:all": "bun run build && bun run build:cli",
"lint": "bun run --bun tsc --noEmit",
"prepublishOnly": "bun run build:all"
},
"keywords": [
"openapi",
"swagger",
"validation",
"parser",
"api",
"specification",
"cli",
"typescript",
"bun",
"json-schema",
"api-validation",
"openapi-validator"
],
"author": "Luke",
"license": "MIT",
"repository": {
"type": "git",
"url": "git+https://github.com/luke/varsity.git"
},
"homepage": "https://github.com/luke/varsity#readme",
"bugs": {
"url": "https://github.com/luke/varsity/issues"
},
"files": [
"index.ts",
"src/",
"dist/",
"README.md",
"LICENSE"
],
"devDependencies": {
"@types/bun": "latest",
"@types/js-yaml": "^4.0.9"
},
"peerDependencies": {
"typescript": "^5"
},
"dependencies": {
"@types/node": "^24.6.1",
"ajv": "^8.17.1",
"ajv-formats": "^3.0.1",
"commander": "^14.0.1",
"js-yaml": "^4.1.0",
"oas-types": "^1.0.6"
}
}