{
  "name": "@ppwcode/openapi",
  "version": "13.0.0",
  "description": "Collection of common OpenAPI 3 specs and Joi schemata",
  "author": {
    "name": "Jan Dockx",
    "email": "Jan_Dockx@peopleware.be"
  },
  "homepage": "https://bitbucket.org/peopleware/openapi",
  "repository": {
    "type": "git",
    "url": "git+https://bitbucket.org/peopleware/openapi.git"
  },
  "bugs": {
    "url": "https://bitbucket.org/peopleware/openapi/issues"
  },
  "license": "Apache-2.0",
  "engines": {
    "node": ">=20.19.4"
  },
  "devDependencies": {
    "@ppwcode/mocha-ssst": "^2.0.0",
    "@redocly/cli": "^2.0.5",
    "cartesian": "^1.0.1",
    "directory-tree": "^3.5.2",
    "eslint": "^9.33.0",
    "eslint-plugin-depend": "^1.2.0",
    "eslint-plugin-json": "^4.0.1",
    "eslint-plugin-no-secrets": "^2.2.1",
    "globals": "^16.3.0",
    "joi-to-json": "^5.0.0",
    "knip": "^5.62.0",
    "mocha": "^11.7.1",
    "neostandard": "^0.12.2",
    "npm-check-updates": "^18.0.2",
    "npm-watch": "^0.13.0",
    "nyc": "^17.1.0",
    "prettier": "^3.6.2",
    "replace-in-file": "^8.3.0",
    "should": "^13.2.3",
    "yaml": "^2.8.1"
  },
  "prettier": {
    "printWidth": 120,
    "proseWrap": "always",
    "endOfLine": "lf",
    "arrowParens": "avoid",
    "semi": false,
    "singleQuote": true,
    "trailingComma": "none"
  },
  "standard": {
    "ignore": [
      "/scripts/common/"
    ]
  },
  "mocha": {
    "check-leaks": true,
    "forbid-only": true,
    "forbid-pending": true,
    "recursive": true,
    "extension": "test.js",
    "require": [
      "should",
      "./_util/_envMocha"
    ],
    "reporter": [
      "@ppwcode/mocha-ssst"
    ]
  },
  "nyc": {
    "check-coverage": true,
    "per-file": true,
    "lines": 100,
    "statements": 100,
    "functions": 100,
    "branches": 100,
    "reporter": [
      "html",
      "text"
    ],
    "exclude": [
      "_util/_*.js",
      "test/**"
    ]
  },
  "scripts": {
    "status": "knip; ncu; npm audit --registry=https://registry.npmjs.org || exit 0",
    "generateResources": "node scripts/joiToOpenAPI.js",
    "OpenAPI:lint": "npm run generateResources && redocly lint",
    "OpenAPI:watch": "npm-watch OpenAPI:lint",
    "OpenAPI:serve": "redocly preview-docs index.yaml --port=8084",
    "lint": "eslint \"{!(.*|coverage|node_modules|scripts)/**,scripts}/*\"",
    "schematatests": "npm run lint && nyc mocha \"test/{*,**/*}.test.js\"",
    "test": "npm run OpenAPI:lint && npm run schematatests",
    "preversion": "npm test",
    "version": "replace-in-file \"/  version: (.*)/\" \"  version: $npm_package_version\" index.yaml --isRegex && git add index.yaml",
    "prepack": "npm test"
  },
  "watch": {
    "OpenAPI:lint": {
      "patterns": ".",
      "extensions": "yaml,js",
      "ignore": [
        ".nyc_output",
        "_util",
        "coverage",
        "scripts",
        "test"
      ]
    }
  },
  "dependencies": {
    "@toryt/contracts": "^7.0.0",
    "joi": "^18.0.0"
  }
}
