package.json 2.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273
  1. {
  2. "name": "express-validator",
  3. "description": "Express middleware for the validator module.",
  4. "author": "Christoph Tavan <dev@tavan.de>",
  5. "contributors": [
  6. "Rusty Bailey <rustylbailey@gmail.com>",
  7. "Gustavo Henke <guhenke@gmail.com>",
  8. "Federico Ciardi <fed.ciardi@gmail.com>"
  9. ],
  10. "version": "7.3.2",
  11. "homepage": "https://express-validator.github.io",
  12. "license": "MIT",
  13. "repository": {
  14. "type": "git",
  15. "url": "git://github.com/express-validator/express-validator.git"
  16. },
  17. "main": "./lib/index.js",
  18. "types": "./lib/index.d.ts",
  19. "files": [
  20. "lib",
  21. "!*.spec.{d.ts,js}",
  22. "!src",
  23. "!website",
  24. "!docs"
  25. ],
  26. "scripts": {
  27. "build": "tsc",
  28. "clean": "git clean -Xf lib",
  29. "docs:build": "npm --prefix ./website run build",
  30. "docs:publish": "USE_SSH=true DEPLOYMENT_BRANCH=master npm --prefix ./website run publish-gh-pages",
  31. "docs:regenerate-api": "npm --prefix ./website run regenerate-api",
  32. "docs:serve": "npm --prefix ./website run serve",
  33. "docs:start": "npm --prefix ./website start",
  34. "docs:version": "npm --prefix ./website run version",
  35. "prepublishOnly": "tsc",
  36. "postpublish": "npm run docs:publish",
  37. "test": "jest",
  38. "lint": "eslint --ignore-path .gitignore 'src/**/*.ts' && prettier -c ."
  39. },
  40. "engines": {
  41. "node": ">= 8.0.0"
  42. },
  43. "dependencies": {
  44. "lodash": "^4.18.1",
  45. "validator": "~13.15.23"
  46. },
  47. "devDependencies": {
  48. "@docusaurus/core": "^3.1.0",
  49. "@docusaurus/plugin-client-redirects": "^3.1.0",
  50. "@docusaurus/preset-classic": "^3.1.0",
  51. "@types/jest": "^26.0.20",
  52. "@types/lodash": "^4.14.168",
  53. "@typescript-eslint/eslint-plugin": "^7.18.0",
  54. "@typescript-eslint/parser": "^7.18.0",
  55. "eslint": "^8.30.0",
  56. "eslint-config-prettier": "^8.5.0",
  57. "eslint-plugin-import": "^2.26.0",
  58. "eslint-plugin-prettier": "^4.2.1",
  59. "jest": "^29.7.0",
  60. "prettier": "^2.8.1",
  61. "ts-jest": "^29.1.5",
  62. "typescript": "^5.7.2"
  63. },
  64. "keywords": [
  65. "express",
  66. "validator",
  67. "validation",
  68. "validate",
  69. "sanitize",
  70. "sanitization",
  71. "xss"
  72. ]
  73. }