package.json 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162
  1. {
  2. "name": "valid-data-url",
  3. "version": "3.0.1",
  4. "description": "Detect if a string is a data URL",
  5. "main": "index.js",
  6. "files": [
  7. "index.js"
  8. ],
  9. "engines": {
  10. "node": ">=10"
  11. },
  12. "license": "MIT",
  13. "author": {
  14. "name": "Alexey Kucherenko",
  15. "url": "https://github.com/killmenot"
  16. },
  17. "homepage": "https://github.com/killmenot/valid-data-url",
  18. "repository": {
  19. "type": "git",
  20. "url": "git@github.com:killmenot/valid-data-url.git"
  21. },
  22. "bugs": {
  23. "url": "https://github.com/killmenot/valid-data-url/issues"
  24. },
  25. "keywords": [
  26. "valid",
  27. "data-uri",
  28. "data-url",
  29. "data",
  30. "uri",
  31. "url",
  32. "datauri",
  33. "dataurl"
  34. ],
  35. "scripts": {
  36. "lint": "jshint index.js test.js",
  37. "test": "mocha",
  38. "coverage": "nyc --reporter=html --reporter=text mocha",
  39. "coveralls": "nyc report --reporter=text-lcov | coveralls"
  40. },
  41. "pre-commit": [
  42. "lint",
  43. "test"
  44. ],
  45. "nyc": {
  46. "all": true,
  47. "include": [
  48. "index.js"
  49. ],
  50. "exclude": [
  51. "test.js"
  52. ]
  53. },
  54. "devDependencies": {
  55. "chai": "^4.2.0",
  56. "coveralls": "^3.1.0",
  57. "jshint": "^2.12.0",
  58. "mocha": "^8.1.3",
  59. "nyc": "^15.1.0",
  60. "pre-commit": "^1.2.2"
  61. }
  62. }