package.json 1.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. {
  2. "name": "@leichtgewicht/ip-codec",
  3. "version": "2.0.5",
  4. "description": "Small package to encode or decode IP addresses from buffers to strings.",
  5. "main": "index.cjs",
  6. "types": "types",
  7. "exports": {
  8. ".": {
  9. "types": "./types/index.d.ts",
  10. "import": "./index.mjs",
  11. "require": "./index.cjs"
  12. }
  13. },
  14. "scripts": {
  15. "lint": "standard && dtslint --localTs node_modules/typescript/lib types",
  16. "test": "npm run lint && npm run unit",
  17. "unit": "fresh-tape test.mjs",
  18. "coverage": "c8 npm run unit",
  19. "prepare": "npx @leichtgewicht/esm2umd ipCodec"
  20. },
  21. "repository": {
  22. "type": "git",
  23. "url": "git+https://github.com/martinheidegger/ip-codec.git"
  24. },
  25. "keywords": [
  26. "ip",
  27. "ipv4",
  28. "ipv6",
  29. "codec",
  30. "codecs",
  31. "buffer",
  32. "conversion"
  33. ],
  34. "author": "Martin Heidegger",
  35. "license": "MIT",
  36. "bugs": {
  37. "url": "https://github.com/martinheidegger/ip-codec/issues"
  38. },
  39. "homepage": "https://github.com/martinheidegger/ip-codec#readme",
  40. "devDependencies": {
  41. "@definitelytyped/dtslint": "0.2.19",
  42. "@leichtgewicht/esm2umd": "^0.4.0",
  43. "c8": "^9.1.0",
  44. "fresh-tape": "^5.5.3",
  45. "standard": "^17.1.0",
  46. "typescript": "^5.4.3"
  47. }
  48. }