UNPKG

@asyncapi/openapi-schema-parser

Version:

An AsyncAPI schema parser for OpenAPI 3.0.x and Swagger 2.x schemas.

108 lines (107 loc) 2.98 kB
{ "name": "@asyncapi/openapi-schema-parser", "version": "3.0.24", "description": "An AsyncAPI schema parser for OpenAPI 3.0.x and Swagger 2.x schemas.", "scripts": { "build": "npm run build:esm && npm run build:cjs", "build:esm": "tsc", "build:cjs": "tsc --project ./tsconfig.cjs.json", "test": "cross-env CI=true jest --coverage", "lint": "eslint --max-warnings 0 --config .eslintrc .", "lint:fix": "eslint --max-warnings 0 --config .eslintrc . --fix", "generate:readme:toc": "markdown-toc -i \"README.md\"", "generate:assets": "npm run build && npm run generate:readme:toc", "bump:version": "npm --no-git-tag-version --allow-same-version version $VERSION", "prepublishOnly": "npm run generate:assets", "release": "semantic-release" }, "repository": { "type": "git", "url": "git+https://github.com/asyncapi/openapi-schema-parser.git" }, "keywords": [ "asyncapi", "openapi", "swagger", "schema", "parser" ], "author": { "name": "The AsyncAPI maintainers", "url": "https://www.asyncapi.com" }, "publishConfig": { "access": "public" }, "license": "Apache-2.0", "bugs": { "url": "https://github.com/asyncapi/openapi-schema-parser/issues" }, "homepage": "https://github.com/asyncapi/openapi-schema-parser#readme", "sideEffects": false, "main": "cjs/index.js", "module": "esm/index.js", "types": "esm/index.d.ts", "files": [ "/esm", "/cjs", "LICENSE", "README.md" ], "dependencies": { "@asyncapi/parser": "^3.1.0", "@openapi-contrib/openapi-schema-to-json-schema": "~3.2.0", "ajv": "^8.11.0", "ajv-errors": "^3.0.0", "ajv-formats": "^2.1.1" }, "devDependencies": { "@jest/types": "^29.2.1", "@semantic-release/commit-analyzer": "^9.0.2", "@semantic-release/github": "^8.0.6", "@semantic-release/npm": "^9.0.1", "@semantic-release/release-notes-generator": "^10.0.3", "@swc/core": "^1.3.9", "@swc/jest": "^0.2.23", "@types/jest": "^29.2.0", "@typescript-eslint/eslint-plugin": "^5.36.2", "@typescript-eslint/parser": "^5.36.2", "conventional-changelog-conventionalcommits": "^5.0.0", "cross-env": "^7.0.3", "eslint": "^8.23.0", "eslint-plugin-github": "^4.3.7", "eslint-plugin-security": "^1.5.0", "eslint-plugin-sonarjs": "^0.15.0", "jest": "^29.2.1", "markdown-toc": "^1.2.0", "semantic-release": "^19.0.5", "ts-node": "^10.9.1", "typescript": "^4.8.4" }, "release": { "branches": [ "master" ], "plugins": [ [ "@semantic-release/commit-analyzer", { "preset": "conventionalcommits" } ], [ "@semantic-release/release-notes-generator", { "preset": "conventionalcommits" } ], "@semantic-release/npm", [ "@semantic-release/github", { "assets": [] } ] ] } }