UNPKG

openapi-examples-validator

Version:
99 lines (98 loc) 3.17 kB
{ "name": "openapi-examples-validator", "version": "7.1.0", "description": "Validates embedded examples in OpenAPI-JSONs", "main": "dist/index.js", "types": "dist/index.d.ts", "engines": { "node": ">=20" }, "bin": { "openapi-examples-validator": "dist/cli.js" }, "standard-version": { "scripts": { "postchangelog": "npm run release:create-dockerfile && npm run release:stage-artifacts" } }, "scripts": { "start-dev": "babel-node src/cli", "build": "npm run build:clean && npm run build:webpack && npm run build:types", "build:clean": "rimraf dist", "build:webpack": "webpack --bail --progress --profile --mode production --config ./webpack/config.babel.js", "build:types": "tsc -p tsconfig.json --noCheck", "coverage": "rimraf ./coverage && nyc --reporter=lcov --reporter=text -x \"dist/**/*\" -x \"test/**/*.js\" npm test", "test": "npm run build && npm run test:mocha", "test-mutations": "stryker run", "test:mocha": "mocha --require \"./test/util/setup-tests\" --recursive \"./test/specs/**/*.js\"", "release": "npm run build && standard-version -a", "release:create-dockerfile": "npm run build && node etc/src/build-dockerfile.js", "release:stage-artifacts": "git add dist/*" }, "repository": { "type": "git", "url": "git+https://github.com/codekie/openapi-examples-validator.git" }, "keywords": [ "swagger", "openapi", "json", "validate", "examples" ], "author": "Josua Amann", "license": "MIT", "bugs": { "url": "https://github.com/codekie/openapi-examples-validator/issues" }, "homepage": "https://github.com/codekie/openapi-examples-validator#readme", "devDependencies": { "@babel/cli": "^7.28.6", "@babel/core": "^7.29.0", "@babel/eslint-parser": "^7.28.6", "@babel/node": "^7.29.0", "@babel/preset-env": "^7.29.2", "@babel/register": "^7.28.6", "@stryker-mutator/core": "^9.6.0", "@stryker-mutator/mocha-runner": "^9.6.0", "@types/glob": "^8.1.0", "@types/json-pointer": "^1.0.34", "@types/lodash.clonedeep": "^4.5.9", "@types/lodash.flatmap": "^4.5.9", "@types/lodash.flatten": "^4.4.9", "@types/lodash.merge": "^4.6.9", "@types/node": "*", "babel-loader": "^10.1.1", "chai": "^4.5.0", "chai-string": "^1.6.0", "core-js-pure": "^3.49.0", "eslint": "^9.26.0", "eslint-webpack-plugin": "^5.0.3", "globals": "^16.0.0", "json-loader": "^0.5.7", "mocha": "^11.7.5", "mocha-lcov-reporter": "^1.3.0", "nyc": "^17.1.0", "rimraf": "^6.1.3", "standard-version": "^9.5.0", "typescript": "^6.0.2", "webpack": "^5.106.0", "webpack-cli": "^6.0.1" }, "dependencies": { "@apidevtools/json-schema-ref-parser": "^15.3.5", "ajv": "^8.18.0", "ajv-draft-04": "^1.0.0", "ajv-formats": "^2.1.1", "commander": "^6.2.1", "errno": "^1.0.0", "glob": "^8.1.0", "json-pointer": "^0.6.2", "jsonpath-plus": "^10.4.0", "lodash.clonedeep": "^4.5.0", "lodash.flatmap": "^4.5.0", "lodash.flatten": "^4.4.0", "lodash.merge": "^4.6.2", "yaml": "^2.8.3" } }