2022-11-02 16:56:11 +11:00
{
2024-02-16 20:43:32 +05:30
"name" : "@waku/discovery" ,
"version" : "0.0.1" ,
"description" : "Peer Discoveries for Waku. This package provides DNS Peer Discovery (EIP-1459), Peer Exchange Discovery (https://rfc.vac.dev/spec/34/) and Local Discovery." ,
2022-11-02 16:56:11 +11:00
"types" : "./dist/index.d.ts" ,
"module" : "./dist/index.js" ,
"exports" : {
"." : {
"types" : "./dist/index.d.ts" ,
"import" : "./dist/index.js"
}
} ,
"type" : "module" ,
"author" : "Waku Team" ,
2024-02-16 20:52:36 +05:30
"homepage" : "https://github.com/waku-org/js-waku/tree/master/packages/discovery#readme" ,
2022-11-02 16:56:11 +11:00
"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:*" ,
2023-02-28 14:55:17 +11:00
"fix:lint" : "eslint src *.js --fix" ,
2022-11-02 16:56:11 +11:00
"check" : "run-s check:*" ,
"check:lint" : "eslint src --ext .ts" ,
"check:spelling" : "cspell \"{README.md,src/**/*.ts}\"" ,
"check:tsc" : "tsc -p tsconfig.dev.json" ,
"prepublish" : "npm run build" ,
2023-02-11 22:25:11 +01:00
"reset-hard" : "git clean -dfx -e .idea && git reset --hard && npm i && npm run build" ,
2024-01-02 16:30:18 +05:30
"test" : "NODE_ENV=test run-s test:*" ,
"test:node" : "NODE_ENV=test TS_NODE_PROJECT=./tsconfig.dev.json mocha" ,
"test:browser" : "NODE_ENV=test karma start karma.conf.cjs"
2022-11-02 16:56:11 +11:00
} ,
"engines" : {
2023-09-22 14:37:34 +05:30
"node" : ">=18"
2022-11-02 16:56:11 +11:00
} ,
2022-11-03 14:11:42 +11:00
"dependencies" : {
2024-01-11 09:27:39 +11:00
"@waku/enr" : "0.0.20" ,
2024-02-16 20:43:32 +05:30
"@waku/interfaces" : "^0.0.21" ,
"@waku/proto" : "^0.0.6" ,
2024-01-11 09:27:39 +11:00
"@waku/utils" : "0.0.14" ,
2023-01-19 22:49:11 +01:00
"debug" : "^4.3.4" ,
2022-11-03 14:11:42 +11:00
"dns-query" : "^0.11.2" ,
2023-02-09 13:21:03 +11:00
"hi-base32" : "^0.5.1" ,
2024-02-07 01:38:10 +01:00
"uint8arrays" : "^5.0.1"
2022-11-03 14:11:42 +11:00
} ,
2022-11-02 16:56:11 +11:00
"devDependencies" : {
2024-01-15 16:12:01 -08:00
"@libp2p/peer-id" : "^4.0.4" ,
2024-01-24 18:51:56 +05:30
"@libp2p/peer-id-factory" : "^4.0.5" ,
2023-03-20 21:39:40 +00:00
"@multiformats/multiaddr" : "^12.0.0" ,
2023-11-27 12:11:15 +01:00
"@rollup/plugin-commonjs" : "^25.0.7" ,
2023-02-10 13:14:02 +11:00
"@rollup/plugin-json" : "^6.0.0" ,
2023-10-23 13:20:20 +05:30
"@rollup/plugin-node-resolve" : "^15.2.3" ,
2023-11-27 12:26:31 +01:00
"@types/chai" : "^4.3.11" ,
2024-02-16 20:43:32 +05:30
"@types/node-localstorage" : "^1.3.3" ,
2023-03-02 15:24:08 +11:00
"@waku/build-utils" : "*" ,
2023-11-27 12:26:31 +01:00
"chai" : "^4.3.10" ,
2024-02-16 20:43:32 +05:30
"chai-as-promised" : "^7.1.1" ,
2024-02-05 22:57:20 +01:00
"cspell" : "^8.3.2" ,
2024-02-13 22:21:57 +05:30
"mocha" : "^10.3.0" ,
2024-02-16 20:43:32 +05:30
"node-localstorage" : "^3.0.5" ,
2022-11-02 16:56:11 +11:00
"npm-run-all" : "^4.1.5" ,
2024-02-16 20:43:32 +05:30
"rollup" : "^4.9.5" ,
"sinon" : "^17.0.1"
2022-11-02 16:56:11 +11:00
} ,
"files" : [
"dist" ,
"bundle" ,
2022-11-03 21:37:55 +11:00
"src/**/*.ts" ,
2022-11-02 16:56:11 +11:00
"!**/*.spec.*" ,
"!**/*.json" ,
"CHANGELOG.md" ,
"LICENSE" ,
"README.md"
]
}