{
  "name": "@diplodoc/ajv",
  "version": "0.15.0",
  "description": "Diplodoc JSON schemas (toc, presets, frontmatter, page-constructor, and more) with editor enrichment",
  "main": "build/index.js",
  "types": "build/index.d.ts",
  "homepage": "https://diplodoc.com/",
  "engines": {
    "npm": ">=11.5.1"
  },
  "repository": {
    "type": "git",
    "url": "git+https://github.com/diplodoc-platform/ajv.git"
  },
  "bugs": {
    "url": "https://github.com/diplodoc-platform/ajv/issues"
  },
  "author": "",
  "license": "MIT",
  "exports": {
    ".": {
      "types": "./build/index.d.ts",
      "default": "./build/index.js"
    },
    "./json/*.json": "./src/json/*.json",
    "./yaml/*.yaml": "./src/yaml/*.yaml",
    "./package.json": "./package.json"
  },
  "bin": {
    "diplodoc-ajv-build-schemas": "scripts/build-schemas.js"
  },
  "files": [
    "build",
    "scripts/build-schemas.js",
    "src/json/*.json",
    "src/yaml/*.yaml"
  ],
  "scripts": {
    "build": "npm run build:clean && npm run build:schemas && npm run build:js && npm run build:declarations",
    "build:schemas": "node scripts/build-schemas.js && prettier --write \"src/json/*.json\"",
    "build:js": "node esbuild/build.mjs",
    "build:declarations": "tsc --project tsconfig.json --emitDeclarationOnly --outDir ./build && rm -f build/*.test.d.ts build/*.spec.d.ts",
    "build:clean": "rm -rf build",
    "typecheck": "tsc --noEmit",
    "test": "vitest run",
    "test:watch": "vitest",
    "test:coverage": "vitest run --coverage",
    "lint": "lint",
    "lint:fix": "lint fix",
    "pre-commit": "lint-staged",
    "prepare": "husky || true",
    "prepublishOnly": "npm run build",
    "lock": "npm install --no-workspaces --package-lock-only --ignore-scripts"
  },
  "husky": {
    "hooks": {
      "pre-commit": "lint-staged"
    }
  },
  "lint-staged": {
    "*.{js,jsx,ts,tsx}": [
      "eslint --fix",
      "git add"
    ]
  },
  "dependencies": {
    "js-yaml": "^4.1.0"
  },
  "devDependencies": {
    "@diplodoc/infra": "2.3.0",
    "@types/js-yaml": "^4.0.9",
    "@vitest/coverage-v8": "^2.0.0",
    "ajv": "^8.17.1",
    "ajv-formats": "^3.0.1",
    "husky": "8.0.3",
    "typescript": "6.0.3",
    "vitest": "^2.0.0"
  }
}
