package.json 2.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899
  1. {
  2. "_from": "validator@^10.4.0",
  3. "_id": "validator@10.11.0",
  4. "_inBundle": false,
  5. "_integrity": "sha512-X/p3UZerAIsbBfN/IwahhYaBbY68EN/UQBWHtsbXGT5bfrH/p4NQzUCG1kF/rtKaNpnJ7jAu6NGTdSNtyNIXMw==",
  6. "_location": "/validator",
  7. "_phantomChildren": {},
  8. "_requested": {
  9. "type": "range",
  10. "registry": true,
  11. "raw": "validator@^10.4.0",
  12. "name": "validator",
  13. "escapedName": "validator",
  14. "rawSpec": "^10.4.0",
  15. "saveSpec": null,
  16. "fetchSpec": "^10.4.0"
  17. },
  18. "_requiredBy": [
  19. "/express-validator"
  20. ],
  21. "_resolved": "https://registry.npmjs.org/validator/-/validator-10.11.0.tgz",
  22. "_shasum": "003108ea6e9a9874d31ccc9e5006856ccd76b228",
  23. "_spec": "validator@^10.4.0",
  24. "_where": "C:\\Users\\Mehdi\\Documents\\P_Tech\\Login-Register\\node_modules\\express-validator",
  25. "author": {
  26. "name": "Chris O'Hara",
  27. "email": "cohara87@gmail.com"
  28. },
  29. "bugs": {
  30. "url": "https://github.com/chriso/validator.js/issues"
  31. },
  32. "bundleDependencies": false,
  33. "contributors": [
  34. {
  35. "name": "Anthony Nandaa",
  36. "url": "https://github.com/profnandaa"
  37. }
  38. ],
  39. "deprecated": false,
  40. "description": "String validation and sanitization",
  41. "devDependencies": {
  42. "@babel/cli": "^7.0.0",
  43. "@babel/core": "^7.0.0",
  44. "@babel/preset-env": "^7.0.0",
  45. "@babel/register": "^7.0.0",
  46. "babel-eslint": "^10.0.1",
  47. "babel-plugin-add-module-exports": "^1.0.0",
  48. "eslint": "^4.19.1",
  49. "eslint-config-airbnb-base": "^12.1.0",
  50. "eslint-plugin-import": "^2.11.0",
  51. "mocha": "^5.1.1",
  52. "rollup": "^0.43.0",
  53. "rollup-plugin-babel": "^4.0.1",
  54. "uglify-js": "^3.0.19"
  55. },
  56. "engines": {
  57. "node": ">= 0.10"
  58. },
  59. "files": [
  60. "index.js",
  61. "lib",
  62. "README.md",
  63. "LICENCE",
  64. "validator.js",
  65. "validator.min.js"
  66. ],
  67. "homepage": "https://github.com/chriso/validator.js",
  68. "keywords": [
  69. "validator",
  70. "validation",
  71. "validate",
  72. "sanitization",
  73. "sanitize",
  74. "sanitisation",
  75. "sanitise",
  76. "assert"
  77. ],
  78. "license": "MIT",
  79. "main": "index.js",
  80. "name": "validator",
  81. "repository": {
  82. "type": "git",
  83. "url": "git+https://github.com/chriso/validator.js.git"
  84. },
  85. "scripts": {
  86. "build": "npm run build:browser && npm run build:node",
  87. "build:browser": "node --require @babel/register build-browser && npm run minify",
  88. "build:node": "babel src -d .",
  89. "clean": "npm run clean:node && npm run clean:browser",
  90. "clean:browser": "rm -rf validator*.js",
  91. "clean:node": "rm -rf index.js lib",
  92. "lint": "eslint src test",
  93. "lint:fix": "eslint --fix src test",
  94. "minify": "uglifyjs validator.js -o validator.min.js --compress --mangle --comments /Copyright/",
  95. "pretest": "npm run lint && npm run build",
  96. "test": "mocha --require @babel/register --reporter dot"
  97. },
  98. "version": "10.11.0"
  99. }