{
  "name": "@microsoft.azure/openapi-validator-rulesets",
  "version": "2.2.6",
  "description": "Azure OpenAPI Validator",
  "main": "dist/index.js",
  "files": [
    "dist/**",
    "!dist/**/tests/**",
    "!dist/**/test/**"
  ],
  "scripts": {
    "build": "tsc && npm run build-esm && npm run rollup-spectral",
    "build-esm": "tsc -p ./tsconfig.spectral.esm.json",
    "rollup-spectral": "rollup -c ./rollup.config.js",
    "test": "npm run test-spectral && npm run test-native",
    "test-native": "jest -u --max-old-space-size=10192 --ci --reporters=default --config ./jest.native.config.js",
    "test-spectral": "jest -u --max-old-space-size=10192 --ci --reporters=default --config ./jest.config.js",
    "lint:fix": "eslint ./src --fix --ext .ts",
    "lint": "eslint ./src --ext .ts --max-warnings=0"
  },
  "engines": {
    "node": ">=20"
  },
  "repository": {
    "type": "git",
    "url": "git+https://github.com/Azure/azure-openapi-validator.git"
  },
  "keywords": [
    "azure",
    "openapi",
    "swagger",
    "validation",
    "validator",
    "linter"
  ],
  "author": "Microsoft Corporation",
  "license": "MIT",
  "bugs": {
    "url": "https://github.com/Azure/azure-openapi-validator/issues"
  },
  "homepage": "https://github.com/Azure/azure-openapi-validator/blob/main/README.md",
  "dependencies": {
    "@apidevtools/json-schema-ref-parser": "^9.0.9",
    "@microsoft.azure/openapi-validator-core": "^1.0.0",
    "@stoplight/json-ref-resolver": "^3.1.6",
    "@stoplight/spectral-core": "^1.18.3",
    "@stoplight/spectral-formats": "^1.6.0",
    "@stoplight/spectral-functions": "^1.7.2",
    "@stoplight/types": "^14.1.1",
    "jsonpath-plus": "^10.3.0",
    "string.prototype.matchall": "^4.0.11",
    "lodash": "^4.17.21",
    "tslib": "^2.3.1"
  },
  "devDependencies": {
    "@rollup/plugin-commonjs": "^21.0.2",
    "@rollup/plugin-json": "^4.1.0",
    "@types/lodash": "^4.17.0",
    "@types/jest": "^27.0.6",
    "@types/js-yaml": "^4.0.9",
    "@types/node": "^18.11.9",
    "@typescript-eslint/eslint-plugin": "^7.8.0",
    "@typescript-eslint/parser": "^7.8.0",
    "js-yaml": "^4.1.0",
    "jest": "^27.0.6",
    "eslint": "^8.57.0",
    "eslint-plugin-jest": "^28.3.0",
    "eslint-plugin-node": "^11.1.0",
    "eslint-plugin-prettier": "^5.1.3",
    "eslint-plugin-unicorn": "^52.0.0",
    "eslint-plugin-import": "^2.29.1",
    "nimma": "0.2.2",
    "prettier": "^3.2.5",
    "rollup": "^2.70.1",
    "ts-jest": "^27.1.3",
    "typescript": "~4.6.4"
  },
  "jest": {
    "collectCoverage": true,
    "collectCoverageFrom": [
      "functions/*.js"
    ],
    "coverageThreshold": {
      "./functions/*.js": {
        "statements": 80
      }
    },
    "moduleNameMapper": {
      "^nimma/legacy$": "<rootDir>/node_modules/nimma/dist/legacy/cjs/index.js",
      "^nimma/(.*)": "<rootDir>/node_modules/nimma/dist/cjs/$1",
      "^@stoplight/spectral-ruleset-bundler/(.*)$": "<rootDir>/node_modules/@stoplight/spectral-ruleset-bundler/dist/$1"
    }
  }
}
