package.json 2.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293
  1. {
  2. "_from": "validator@5.7.0",
  3. "_id": "validator@5.7.0",
  4. "_inBundle": false,
  5. "_integrity": "sha1-eoelgUa2laxIYHEUHAxJ1n2gXlw=",
  6. "_location": "/validator",
  7. "_phantomChildren": {},
  8. "_requested": {
  9. "type": "version",
  10. "registry": true,
  11. "raw": "validator@5.7.0",
  12. "name": "validator",
  13. "escapedName": "validator",
  14. "rawSpec": "5.7.0",
  15. "saveSpec": null,
  16. "fetchSpec": "5.7.0"
  17. },
  18. "_requiredBy": [
  19. "/anchor"
  20. ],
  21. "_resolved": "http://registry.npm.taobao.org/validator/download/validator-5.7.0.tgz",
  22. "_shasum": "7a87a58146b695ac486071141c0c49d67da05e5c",
  23. "_spec": "validator@5.7.0",
  24. "_where": "E:\\dev\\007\\node_module\\node10\\node_modules\\anchor",
  25. "author": {
  26. "name": "Chris O'Hara",
  27. "email": "cohara87@gmail.com"
  28. },
  29. "bugs": {
  30. "url": "http://github.com/chriso/validator.js/issues"
  31. },
  32. "bundleDependencies": false,
  33. "deprecated": false,
  34. "description": "String validation and sanitization",
  35. "devDependencies": {
  36. "babel-cli": "^6.9.0",
  37. "babel-plugin-add-module-exports": "^0.2.1",
  38. "babel-preset-es2015": "^6.9.0",
  39. "babel-preset-es2015-rollup": "^1.1.1",
  40. "coveralls": "^2.11.9",
  41. "eslint": "^2.11.1",
  42. "eslint-config-airbnb": "^9.0.1",
  43. "eslint-plugin-import": "^1.8.1",
  44. "istanbul": "^0.4.3",
  45. "mocha": "^2.5.3",
  46. "rollup": "^0.29.1",
  47. "rollup-plugin-babel": "^2.5.1",
  48. "uglify-js": "^2.6.2"
  49. },
  50. "engines": {
  51. "node": ">= 0.10"
  52. },
  53. "files": [
  54. "index.js",
  55. "lib",
  56. "README.md",
  57. "LICENCE",
  58. "validator.js",
  59. "validator.min.js"
  60. ],
  61. "homepage": "http://github.com/chriso/validator.js",
  62. "keywords": [
  63. "validator",
  64. "validation",
  65. "validate",
  66. "sanitization",
  67. "sanitize",
  68. "sanitisation",
  69. "sanitise",
  70. "assert"
  71. ],
  72. "license": "MIT",
  73. "main": "index.js",
  74. "name": "validator",
  75. "repository": {
  76. "type": "git",
  77. "url": "git+ssh://git@github.com/chriso/validator.js.git"
  78. },
  79. "scripts": {
  80. "build": "npm run build:browser && npm run build:node",
  81. "build:browser": "babel-node build-browser && npm run minify",
  82. "build:node": "babel src -d . --presets es2015 --plugins add-module-exports",
  83. "clean": "npm run clean:node && npm run clean:browser",
  84. "clean:browser": "rm -rf validator*.js",
  85. "clean:node": "rm -rf index.js lib",
  86. "coveralls": "istanbul cover _mocha --report lcovonly -x validator.js -- -R spec && cat ./coverage/lcov.info | coveralls && rm -rf ./coverage",
  87. "lint": "eslint src test",
  88. "minify": "uglifyjs validator.js -o validator.min.js --compress --mangle --comments '/Copyright/'",
  89. "pretest": "npm run lint && npm run build",
  90. "test": "mocha --reporter spec"
  91. },
  92. "version": "5.7.0"
  93. }