UNPKG

ibm-openapi-validator

Version:

Configurable and extensible validator/linter for OpenAPI documents

71 lines (70 loc) 2.67 kB
{ "name": "ibm-openapi-validator", "description": "Configurable and extensible validator/linter for OpenAPI documents", "version": "1.37.12", "private": false, "repository": { "type": "git", "url": "https://github.com/IBM/openapi-validator.git", "directory": "packages/validator" }, "license": "Apache-2.0", "scripts": { "clean": "rm -rf node_modules", "link": "npm install -g", "unlink": "npm uninstall -g", "test": "jest test", "jest": "jest", "test-validators": "jest test/plugins", "test-cli-tool": "jest test/cli-validator/tests", "test-travis": "jest --silent --runInBand --no-colors --testNamePattern='^((?!@skip-ci).)*$' test/", "lint": "eslint --cache --quiet src test", "fix": "eslint --fix src test", "pkg": "../../scripts/create-binaries.sh" }, "dependencies": { "@ibm-cloud/openapi-ruleset": "1.33.8", "@ibm-cloud/openapi-ruleset-utilities": "1.9.0", "@stoplight/spectral-cli": "^6.14.2", "@stoplight/spectral-core": "^1.19.4", "@stoplight/spectral-parsers": "^1.0.5", "@stoplight/spectral-ref-resolver": "^1.0.5", "ajv": "^8.18.0", "chalk": "^4.1.2", "commander": "^10.0.1", "console-table-printer": "^2.12.1", "find-up": "5.0.0", "globby": "^11.0.4", "js-yaml": "^4.1.1", "json-dup-key-validator": "^1.0.3", "lodash": "^4.17.23", "nimma": "^0.7.0", "pad": "^2.3.0", "semver": "^7.6.0" }, "devDependencies": { "ansi-regex": "^5.0.1", "jest": "^29.7.0", "pkg": "^5.8.1" }, "bin": { "lint-openapi": "src/cli-validator/index.js" }, "engines": { "node": ">=16.0.0", "npm": ">=8.3.0" }, "jest": { "collectCoverage": true, "coverageDirectory": "./coverage/", "testEnvironment": "node", "moduleNameMapper": { "nimma/legacy": "<rootDir>/../../node_modules/@stoplight/spectral-core/node_modules/nimma/dist/legacy/cjs", "nimma/fallbacks": "<rootDir>/../../node_modules/@stoplight/spectral-core/node_modules/nimma/dist/legacy/cjs/fallbacks/", "@stoplight/spectral-ruleset-bundler/presets/node": "<rootDir>/../../node_modules/@stoplight/spectral-ruleset-bundler/dist/presets/node", "@stoplight/spectral-ruleset-bundler/plugins/stdin": "<rootDir>/../../node_modules/@stoplight/spectral-ruleset-bundler/dist/plugins/stdin", "@stoplight/spectral-ruleset-bundler/plugins/builtins": "<rootDir>/../../node_modules/@stoplight/spectral-ruleset-bundler/dist/plugins/builtins", "@stoplight/spectral-ruleset-bundler/plugins/commonjs": "<rootDir>/../../node_modules/@stoplight/spectral-ruleset-bundler/dist/plugins/commonjs" } } }