{
  "name": "@overleaf/validation-tools",
  "homepage": "www.overleaf.com",
  "description": "Validation tools that can be used in a service.",
  "repository": {
    "type": "git",
    "url": "https://github.com/overleaf/overleaf"
  },
  "main": "index.js",
  "license": "AGPL-3.0-only",
  "version": "1.0.0",
  "scripts": {
    "test": "npm run lint && npm run format && npm run types:check && npm run test:unit",
    "format": "prettier --list-different $PWD/'**/*.{js,cjs,ts}'",
    "format:fix": "prettier --write $PWD/'**/*.{js,cjs,ts}'",
    "lint": "eslint --ext .cjs,.js,.jsx,.mjs,.ts --max-warnings 0 --format unix .",
    "lint:fix": "eslint --fix --ext .cjs,.js,.jsx,.mjs,.ts .",
    "test:ci": "npm run test:unit",
    "test:unit": "vitest --config vitest.config.ts",
    "types:check": "tsc --noEmit"
  },
  "dependencies": {
    "@overleaf/o-error": "*",
    "mongodb": "^6.12.0",
    "zod": "^4.1.8",
    "zod-validation-error": "^4.0.1"
  },
  "devDependencies": {
    "typescript": "^5.0.4",
    "vitest": "^4.0.0"
  }
}
