package.json 2.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576
  1. {
  2. "name": "validator",
  3. "description": "String validation and sanitization",
  4. "version": "13.7.0",
  5. "sideEffects": false,
  6. "homepage": "https://github.com/validatorjs/validator.js",
  7. "files": [
  8. "index.js",
  9. "es",
  10. "lib",
  11. "README.md",
  12. "LICENCE",
  13. "validator.js",
  14. "validator.min.js"
  15. ],
  16. "keywords": [
  17. "validator",
  18. "validation",
  19. "validate",
  20. "sanitization",
  21. "sanitize",
  22. "sanitisation",
  23. "sanitise",
  24. "assert"
  25. ],
  26. "author": "Chris O'Hara <cohara87@gmail.com>",
  27. "contributors": [
  28. "Anthony Nandaa (https://github.com/profnandaa)"
  29. ],
  30. "main": "index.js",
  31. "bugs": {
  32. "url": "https://github.com/validatorjs/validator.js/issues"
  33. },
  34. "repository": {
  35. "type": "git",
  36. "url": "git+https://github.com/validatorjs/validator.js.git"
  37. },
  38. "devDependencies": {
  39. "@babel/cli": "^7.0.0",
  40. "@babel/core": "^7.0.0",
  41. "@babel/preset-env": "^7.0.0",
  42. "@babel/register": "^7.0.0",
  43. "babel-eslint": "^10.0.1",
  44. "babel-plugin-add-module-exports": "^1.0.0",
  45. "eslint": "^4.19.1",
  46. "eslint-config-airbnb-base": "^12.1.0",
  47. "eslint-plugin-import": "^2.11.0",
  48. "mocha": "^6.2.3",
  49. "npm-run-all": "^4.1.5",
  50. "nyc": "^14.1.0",
  51. "rimraf": "^3.0.0",
  52. "rollup": "^0.47.0",
  53. "rollup-plugin-babel": "^4.0.1",
  54. "uglify-js": "^3.0.19"
  55. },
  56. "scripts": {
  57. "lint": "eslint src test",
  58. "lint:fix": "eslint --fix src test",
  59. "clean:node": "rimraf index.js lib",
  60. "clean:es": "rimraf es",
  61. "clean:browser": "rimraf validator*.js",
  62. "clean": "run-p clean:*",
  63. "minify": "uglifyjs validator.js -o validator.min.js --compress --mangle --comments /Copyright/",
  64. "build:browser": "node --require @babel/register build-browser && npm run minify",
  65. "build:es": "babel src -d es --env-name=es",
  66. "build:node": "babel src -d .",
  67. "build": "run-p build:*",
  68. "pretest": "npm run build && npm run lint",
  69. "test": "nyc --reporter=cobertura --reporter=text-summary mocha --require @babel/register --reporter dot"
  70. },
  71. "engines": {
  72. "node": ">= 0.10"
  73. },
  74. "license": "MIT"
  75. }