package.json 1023 B

123456789101112131415161718192021222324252627282930
  1. {
  2. "name": "@overleaf/validation-tools",
  3. "homepage": "www.overleaf.com",
  4. "description": "Validation tools that can be used in a service.",
  5. "repository": {
  6. "type": "git",
  7. "url": "https://github.com/overleaf/overleaf"
  8. },
  9. "main": "index.js",
  10. "license": "AGPL-3.0-only",
  11. "version": "1.0.0",
  12. "scripts": {
  13. "test": "yarn run lint && yarn run types:check && yarn run test:unit",
  14. "lint": "eslint --cache --cache-location ../../node_modules/.cache/eslint/ --ext .cjs,.js,.jsx,.mjs,.ts --max-warnings 0 --format unix .",
  15. "lint:fix": "eslint --cache --cache-location ../../node_modules/.cache/eslint/ --fix --ext .cjs,.js,.jsx,.mjs,.ts .",
  16. "test:ci": "yarn run test:unit",
  17. "test:unit": "vitest --config vitest.config.ts",
  18. "types:check": "tsc --noEmit"
  19. },
  20. "dependencies": {
  21. "@overleaf/o-error": "workspace:*",
  22. "mongodb": "^6.12.0",
  23. "zod": "^4.1.8",
  24. "zod-validation-error": "^4.0.1"
  25. },
  26. "devDependencies": {
  27. "typescript": "^5.0.4",
  28. "vitest": "^4.0.0"
  29. }
  30. }