package.json 1.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576
  1. {
  2. "name": "@adraffy/ens-normalize",
  3. "version": "1.10.1",
  4. "description": "Ethereum Name Service (ENS) Name Normalizer",
  5. "keywords": [
  6. "ENS",
  7. "ENSIP-1",
  8. "ENSIP-15",
  9. "Ethereum",
  10. "UTS-46",
  11. "UTS-51",
  12. "IDNA",
  13. "Name",
  14. "Normalize",
  15. "Normalization",
  16. "NFC",
  17. "NFD"
  18. ],
  19. "exports": {
  20. ".": {
  21. "types": "./dist/index.d.ts",
  22. "import": "./dist/index.mjs",
  23. "default": "./dist/index.cjs"
  24. },
  25. "./xnf": {
  26. "types": "./dist/index.d.ts",
  27. "import": "./dist/index-xnf.mjs",
  28. "default": "./dist/index-xnf.cjs"
  29. }
  30. },
  31. "types": "./dist/index.d.ts",
  32. "typesVersions": {
  33. "*": {
  34. "*": [
  35. "./dist/index.d.ts"
  36. ]
  37. }
  38. },
  39. "main": "./dist/index.cjs",
  40. "module": "./dist/index.mjs",
  41. "files": [
  42. "./dist"
  43. ],
  44. "repository": {
  45. "type": "git",
  46. "url": "git+https://github.com/adraffy/ens-normalize.js.git"
  47. },
  48. "license": "MIT",
  49. "bugs": {
  50. "url": "https://github.com/adraffy/ens-normalize.js/issues"
  51. },
  52. "homepage": "https://github.com/adraffy/ens-normalize.js#readme",
  53. "author": {
  54. "name": "raffy.eth",
  55. "email": "raffy@me.com",
  56. "url": "http://raffy.antistupid.com"
  57. },
  58. "scripts": {
  59. "unicode": "node derive/download.js",
  60. "labels": "node validate/download-labels.js",
  61. "derive": "node derive/make.js",
  62. "make": "node src/make.js",
  63. "validate": "node validate/make.js",
  64. "test": "node test/coder.js && node test/nf.js && node test/validate.js && node test/init.js",
  65. "build": "rollup -c",
  66. "rebuild": "npm run derive && npm run make && npm run validate && npm run test && npm run build",
  67. "order": "node validate/dump-group-order.js save && npm run rebuild",
  68. "pack": "node ./src/prepost.js pack",
  69. "pub": "node ./src/prepost.js publish"
  70. },
  71. "devDependencies": {
  72. "@rollup/plugin-alias": "^5.0.0",
  73. "@rollup/plugin-terser": "^0.4.0",
  74. "rollup": "^3.24.1"
  75. }
  76. }