UNPKG

openapi-examples-validator

Version:
91 lines (90 loc) 2.86 kB
{ "name": "openapi-examples-validator", "version": "6.0.3", "description": "Validates embedded examples in OpenAPI-JSONs", "main": "dist/index.js", "engines": { "node": ">=18" }, "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", "build:clean": "rimraf dist", "build:webpack": "webpack --bail --progress --profile --mode production --config ./webpack/config.babel.js", "coverage": "rimraf ./coverage && nyc --reporter=lcov --reporter=text -x \"dist/**/*\" -x \"test/**/*.js\" npm test", "coveralls": "cat ./coverage/lcov.info | coveralls", "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.27.0", "@babel/core": "^7.26.10", "@babel/eslint-parser": "^7.27.0", "@babel/node": "^7.26.0", "@babel/preset-env": "^7.26.9", "@babel/register": "^7.25.9", "@stryker-mutator/core": "^8.7.1", "@stryker-mutator/mocha-runner": "^8.7.1", "babel-loader": "^9.2.1", "chai": "^4.3.6", "chai-string": "^1.6.0", "core-js-pure": "^3.41.0", "coveralls": "^3.1.1", "eslint": "^8.41.0", "eslint-webpack-plugin": "^4.2.0", "json-loader": "^0.5.7", "mocha": "^10.8.2", "mocha-lcov-reporter": "^1.3.0", "nyc": "^15.1.0", "rimraf": "^5.0.1", "standard-version": "^9.5.0", "stryker-cli": "^1.0.2", "webpack": "^5.99.5", "webpack-cli": "^5.1.4" }, "dependencies": { "ajv": "^8.17.1", "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", "json-schema-ref-parser": "^9.0.9", "jsonpath-plus": "^10.3.0", "lodash.clonedeep": "^4.5.0", "lodash.flatmap": "^4.5.0", "lodash.flatten": "^4.4.0", "lodash.merge": "^4.6.2", "yaml": "^2.7.1" } }