package.json 1.0 KB

1234567891011121314151617181920212223242526272829303132
  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": "npm run lint && npm run format && npm run types:check && npm run test:unit",
  14. "format": "prettier --list-different $PWD/'**/*.{js,cjs,ts}'",
  15. "format:fix": "prettier --write $PWD/'**/*.{js,cjs,ts}'",
  16. "lint": "eslint --ext .cjs,.js,.jsx,.mjs,.ts --max-warnings 0 --format unix .",
  17. "lint:fix": "eslint --fix --ext .cjs,.js,.jsx,.mjs,.ts .",
  18. "test:ci": "npm run test:unit",
  19. "test:unit": "vitest --config vitest.config.ts",
  20. "types:check": "tsc --noEmit"
  21. },
  22. "dependencies": {
  23. "@overleaf/o-error": "*",
  24. "mongodb": "^6.12.0",
  25. "zod": "^4.1.8",
  26. "zod-validation-error": "^4.0.1"
  27. },
  28. "devDependencies": {
  29. "typescript": "^5.0.4",
  30. "vitest": "^4.0.0"
  31. }
  32. }