package.json 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. {
  2. "name": "@leichtgewicht/ip-codec",
  3. "version": "2.0.4",
  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. "import": "./index.mjs",
  10. "require": "./index.cjs"
  11. }
  12. },
  13. "scripts": {
  14. "lint": "standard && dtslint --localTs node_modules/typescript/lib types",
  15. "test": "npm run lint && npm run unit",
  16. "unit": "fresh-tape test.mjs",
  17. "coverage": "c8 npm run unit",
  18. "prepare": "node ./scripts/esm2umd.mjs ipCodec"
  19. },
  20. "repository": {
  21. "type": "git",
  22. "url": "git+https://github.com/martinheidegger/ip-codec.git"
  23. },
  24. "keywords": [
  25. "ip",
  26. "ipv4",
  27. "ipv6",
  28. "codec",
  29. "codecs",
  30. "buffer",
  31. "conversion"
  32. ],
  33. "author": "Martin Heidegger",
  34. "license": "MIT",
  35. "bugs": {
  36. "url": "https://github.com/martinheidegger/ip-codec/issues"
  37. },
  38. "homepage": "https://github.com/martinheidegger/ip-codec#readme",
  39. "devDependencies": {
  40. "@definitelytyped/dtslint": "0.0.112",
  41. "c8": "^7.11.2",
  42. "esm2umd": "^0.2.0",
  43. "fresh-tape": "^5.5.3",
  44. "standard": "^17.0.0",
  45. "typescript": "^4.6.4"
  46. }
  47. }