package.json 1000 B

12345678910111213141516171819202122232425262728293031
  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. },
  27. "devDependencies": {
  28. "typescript": "^5.0.4",
  29. "vitest": "^3.2.4"
  30. }
  31. }