2022-11-02 05:56:11 +00:00
|
|
|
{
|
|
|
|
"name": "@waku/dns-discovery",
|
2022-11-04 03:54:12 +00:00
|
|
|
"version": "0.0.2",
|
2022-11-02 05:56:11 +00:00
|
|
|
"description": "DNS Peer Discovery (EIP-1459)",
|
|
|
|
"types": "./dist/index.d.ts",
|
|
|
|
"module": "./dist/index.js",
|
|
|
|
"exports": {
|
|
|
|
".": {
|
|
|
|
"types": "./dist/index.d.ts",
|
|
|
|
"import": "./dist/index.js"
|
|
|
|
}
|
|
|
|
},
|
2022-11-03 03:42:01 +00:00
|
|
|
"typesVersions": {
|
|
|
|
"*": {
|
|
|
|
"*": [
|
|
|
|
"dist/*"
|
|
|
|
]
|
|
|
|
}
|
|
|
|
},
|
2022-11-02 05:56:11 +00:00
|
|
|
"type": "module",
|
|
|
|
"author": "Waku Team",
|
|
|
|
"homepage": "https://github.com/waku-org/js-waku/tree/master/packages/dns-discovery#readme",
|
|
|
|
"repository": {
|
|
|
|
"type": "git",
|
|
|
|
"url": "https://github.com/waku-org/js-waku.git"
|
|
|
|
},
|
|
|
|
"bugs": {
|
|
|
|
"url": "https://github.com/waku-org/js-waku/issues"
|
|
|
|
},
|
|
|
|
"license": "MIT OR Apache-2.0",
|
|
|
|
"keywords": [
|
|
|
|
"waku",
|
|
|
|
"decentralized",
|
|
|
|
"secure",
|
|
|
|
"communication",
|
|
|
|
"web3",
|
|
|
|
"ethereum",
|
|
|
|
"dapps",
|
|
|
|
"privacy"
|
|
|
|
],
|
|
|
|
"scripts": {
|
|
|
|
"build": "run-s build:**",
|
|
|
|
"build:esm": "tsc",
|
|
|
|
"build:bundle": "rollup --config rollup.config.js",
|
|
|
|
"fix": "run-s fix:*",
|
|
|
|
"fix:prettier": "prettier . --write",
|
|
|
|
"fix:lint": "eslint src --ext .ts --ext .cjs --fix",
|
|
|
|
"check": "run-s check:*",
|
|
|
|
"check:lint": "eslint src --ext .ts",
|
|
|
|
"check:prettier": "prettier . --list-different",
|
|
|
|
"check:spelling": "cspell \"{README.md,src/**/*.ts}\"",
|
|
|
|
"check:tsc": "tsc -p tsconfig.dev.json",
|
|
|
|
"prepublish": "npm run build",
|
2022-11-04 03:42:24 +00:00
|
|
|
"reset-hard": "git clean -dfx -e .idea && git reset --hard && npm i && npm run build"
|
2022-11-02 05:56:11 +00:00
|
|
|
},
|
|
|
|
"engines": {
|
|
|
|
"node": ">=16"
|
|
|
|
},
|
2022-11-03 03:11:42 +00:00
|
|
|
"dependencies": {
|
|
|
|
"@waku/enr": "*",
|
|
|
|
"@waku/byte-utils": "*",
|
2022-12-13 04:23:39 +00:00
|
|
|
"@waku/libp2p-utils": "*",
|
2022-11-03 03:11:42 +00:00
|
|
|
"hi-base32": "^0.5.1",
|
|
|
|
"debug": "^4.3.4",
|
|
|
|
"dns-query": "^0.11.2",
|
2022-11-03 03:42:01 +00:00
|
|
|
"uint8arrays": "^4.0.2",
|
2022-11-03 03:11:42 +00:00
|
|
|
"@libp2p/interface-peer-discovery": "^1.0.0",
|
|
|
|
"@libp2p/interface-peer-info": "^1.0.1",
|
|
|
|
"@libp2p/interfaces": "^3.0.2",
|
|
|
|
"@libp2p/peer-id": "^1.1.10"
|
|
|
|
},
|
2022-11-02 05:56:11 +00:00
|
|
|
"devDependencies": {
|
2022-11-03 03:11:42 +00:00
|
|
|
"@multiformats/multiaddr": "^11.0.6",
|
|
|
|
"@libp2p/peer-id-factory": "^1.0.15",
|
|
|
|
"chai": "^4.3.4",
|
2022-11-02 05:56:11 +00:00
|
|
|
"@rollup/plugin-commonjs": "^22.0.0",
|
|
|
|
"@rollup/plugin-json": "^4.1.0",
|
|
|
|
"@rollup/plugin-node-resolve": "^13.3.0",
|
|
|
|
"@typescript-eslint/eslint-plugin": "^5.8.1",
|
|
|
|
"@typescript-eslint/parser": "^5.8.1",
|
2022-12-08 15:15:36 +00:00
|
|
|
"cspell": "^6.17.0",
|
2022-11-02 05:56:11 +00:00
|
|
|
"eslint": "^8.6.0",
|
|
|
|
"eslint-config-prettier": "^8.3.0",
|
|
|
|
"eslint-plugin-eslint-comments": "^3.2.0",
|
|
|
|
"eslint-plugin-functional": "^4.0.2",
|
|
|
|
"eslint-plugin-import": "^2.25.3",
|
|
|
|
"eslint-plugin-prettier": "^4.0.0",
|
|
|
|
"npm-run-all": "^4.1.5",
|
|
|
|
"prettier": "^2.1.1",
|
|
|
|
"rollup": "^2.75.0",
|
|
|
|
"typescript": "^4.6.3"
|
|
|
|
},
|
|
|
|
"typedoc": {
|
|
|
|
"entryPoint": "./src/index.ts"
|
|
|
|
},
|
|
|
|
"files": [
|
|
|
|
"dist",
|
|
|
|
"bundle",
|
2022-11-03 10:37:55 +00:00
|
|
|
"src/**/*.ts",
|
2022-11-02 05:56:11 +00:00
|
|
|
"!**/*.spec.*",
|
|
|
|
"!**/*.json",
|
|
|
|
"CHANGELOG.md",
|
|
|
|
"LICENSE",
|
|
|
|
"README.md"
|
|
|
|
]
|
|
|
|
}
|