{
  "name": "@mountainpass/problem-document",
  "description": "A basic RFC7807 Problem Details document with basic type checking and autocomplete",
  "repository": {
    "type": "git",
    "url": "https://github.com/mountain-pass/problem-document.git"
  },
  "scripts": {
    "build": "npm run compile && npm run test && npm run package",
    "compile": "tsc --build",
    "eslint": "eslint --fix src test",
    "eslint:json": "eslint --no-error-on-unmatched-pattern \"**/*.json\"",
    "package": "mkdir -p dist/js && npm pack --pack-destination dist/js",
    "prepare": "husky",
    "spellcheck": "cspell lint --gitignore --dot --show-suggestions -e \".git/**\" \"**\"",
    "test": "jest --passWithNoTests --all --updateSnapshot && npm run eslint && npm run spellcheck && npm run eslint:json",
    "test:update": "jest --updateSnapshot",
    "test:watch": "jest --watch",
    "watch": "tsc --build -w"
  },
  "author": {
    "name": "Mountain Pass",
    "email": "info@mountain-pass.com.au",
    "url": "https://mountain-pass.com.au",
    "organization": true
  },
  "devDependencies": {
    "@commitlint/cli": "^20",
    "@commitlint/config-conventional": "^20",
    "@types/http-status-codes": "^1.2.0",
    "@types/jest": "^30",
    "@types/node": "^22",
    "cspell": "*",
    "dry-aged-deps": "^2.6.0",
    "eslint": "^10",
    "eslint-config-prettier": "^10",
    "eslint-plugin-jsdoc": "^62",
    "eslint-plugin-jsonc": "^3",
    "eslint-plugin-no-secrets": "^2",
    "eslint-plugin-prettier": "^5",
    "eslint-plugin-unicorn": "^63",
    "jsonc-eslint-parser": "^3",
    "typescript-eslint": "^8",
    "http-status-codes": "^2.2.0",
    "husky": "^9",
    "jest": "^29",
    "jest-junit": "^16",
    "json-schema": "^0.4.0",
    "prettier": "^3",
    "ts-jest": "^29",
    "typescript": "^5"
  },
  "keywords": [
    "problem-details",
    "rfc7807"
  ],
  "main": "lib/index.js",
  "license": "Apache-2.0",
  "homepage": "https://github.com/mountain-pass/problem-document",
  "publishConfig": {
    "access": "public"
  },
  "version": "0.0.56",
  "bugs": {
    "url": "https://github.com/mountain-pass/problem-document/issues"
  },
  "jest": {
    "coverageThreshold": {
      "global": {
        "branches": 100,
        "functions": 100,
        "lines": 100,
        "statements": 100
      }
    },
    "testMatch": [
      "<rootDir>/src/**/__tests__/**/*.ts?(x)",
      "<rootDir>/(test|src)/**/?(*.)+(spec|test).ts?(x)"
    ],
    "clearMocks": true,
    "collectCoverage": true,
    "coverageReporters": [
      "json",
      "lcov",
      "clover",
      "cobertura",
      "text"
    ],
    "coverageDirectory": "coverage",
    "coveragePathIgnorePatterns": [
      "/node_modules/"
    ],
    "testPathIgnorePatterns": [
      "/node_modules/"
    ],
    "watchPathIgnorePatterns": [
      "/node_modules/"
    ],
    "reporters": [
      "default",
      [
        "jest-junit",
        {
          "outputDirectory": "test-reports"
        }
      ]
    ],
    "preset": "ts-jest",
    "transform": {
      "^.+\\.tsx?$": [
        "ts-jest",
        {
          "tsconfig": "tsconfig.dev.json"
        }
      ]
    }
  },
  "types": "lib/index.d.ts",
  "contributors": [
    "Claude <noreply@anthropic.com>",
    "Tom Howard <tom@windyroad.com.au>",
    "dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>"
  ]
}
