package.json 2.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687
  1. {
  2. "name": "ip-address",
  3. "description": "A library for parsing IPv4 and IPv6 IP addresses in node and the browser.",
  4. "keywords": [
  5. "ipv6",
  6. "ipv4",
  7. "browser",
  8. "validation"
  9. ],
  10. "version": "9.0.5",
  11. "author": "Beau Gunderson <beau@beaugunderson.com> (https://beaugunderson.com/)",
  12. "license": "MIT",
  13. "main": "dist/ip-address.js",
  14. "types": "dist/ip-address.d.ts",
  15. "scripts": {
  16. "docs": "documentation build --github --output docs --format html ./ip-address.js",
  17. "build": "rm -rf dist; mkdir dist; tsc",
  18. "prepack": "npm run build",
  19. "release": "release-it",
  20. "test-ci": "nyc mocha",
  21. "test": "mocha",
  22. "watch": "mocha --watch"
  23. },
  24. "nyc": {
  25. "extension": [
  26. ".ts"
  27. ],
  28. "exclude": [
  29. "**/*.d.ts",
  30. ".eslintrc.js",
  31. "coverage/",
  32. "dist/",
  33. "test/",
  34. "tmp/"
  35. ],
  36. "reporter": [
  37. "html",
  38. "lcov",
  39. "text"
  40. ],
  41. "all": true
  42. },
  43. "engines": {
  44. "node": ">= 12"
  45. },
  46. "files": [
  47. "src",
  48. "dist"
  49. ],
  50. "repository": {
  51. "type": "git",
  52. "url": "git://github.com/beaugunderson/ip-address.git"
  53. },
  54. "dependencies": {
  55. "jsbn": "1.1.0",
  56. "sprintf-js": "^1.1.3"
  57. },
  58. "devDependencies": {
  59. "@types/chai": "^4.2.18",
  60. "@types/jsbn": "^1.2.31",
  61. "@types/mocha": "^10.0.1",
  62. "@types/sprintf-js": "^1.1.2",
  63. "@typescript-eslint/eslint-plugin": "^6.7.2",
  64. "@typescript-eslint/parser": "^6.7.2",
  65. "browserify": "^17.0.0",
  66. "chai": "^4.3.4",
  67. "codecov": "^3.8.2",
  68. "documentation": "^14.0.2",
  69. "eslint": "^8.50.0",
  70. "eslint-config-airbnb": "^19.0.4",
  71. "eslint-config-prettier": "^9.0.0",
  72. "eslint-plugin-filenames": "^1.3.2",
  73. "eslint-plugin-import": "^2.23.4",
  74. "eslint-plugin-jsx-a11y": "^6.4.1",
  75. "eslint-plugin-prettier": "^5.0.0",
  76. "eslint-plugin-react": "^7.24.0",
  77. "eslint-plugin-react-hooks": "^4.2.0",
  78. "eslint-plugin-sort-imports-es6-autofix": "^0.6.0",
  79. "mocha": "^10.2.0",
  80. "nyc": "^15.1.0",
  81. "prettier": "^3.0.3",
  82. "release-it": "^16.2.0",
  83. "source-map-support": "^0.5.19",
  84. "ts-node": "^10.0.0",
  85. "typescript": "^5.2.2"
  86. }
  87. }