mirror of
https://github.com/logos-messaging/js-waku.git
synced 2026-01-05 07:13:11 +00:00
* upgrade libp2p version, partially update protocols, rename to IBaseProtocol * complete transition for protocols * complete transition of connection maanger * finish sdk * complete core * complete relay * complete peer-exchange * complete dns-discovery * add components field to Libp2p interface and use it in core * add type hack for Libp2p creation: * finish waku node test * complete relay test * complete peer exchange * complete dns peer discovery test * add missing dependency to relay * fix new peer store integration * improve initialization of pubsub * add catch for missing peer * update test and remove extra dependency * prevent error throw * fix edge case with peerStore * fix peer exchange * fix protocols used * fix test with another evnet * bump libp2p and interfaces * add missing package * fix peer-exchange problem * prefer libp2p peerDiscovery for integration tests * fix import * increate timeout * return test against Test fleet * remove await for peer:update * increase timeout * add await for peerStore * comment event for testing * fix lint * remove bind * fix stub * decouple to separate test case * move back to explicit build * remove only * do not test event
92 lines
2.4 KiB
JSON
92 lines
2.4 KiB
JSON
{
|
|
"name": "@waku/tests",
|
|
"private": true,
|
|
"version": "0.0.1",
|
|
"description": "Waku tests",
|
|
"types": "./dist/index.d.ts",
|
|
"module": "./dist/index.js",
|
|
"exports": {
|
|
".": {
|
|
"types": "./dist/index.d.ts",
|
|
"import": "./dist/index.js"
|
|
}
|
|
},
|
|
"type": "module",
|
|
"author": "Waku Team",
|
|
"homepage": "https://github.com/waku-org/js-waku/tree/master/packages/tests#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",
|
|
"fix": "run-s fix:*",
|
|
"fix:lint": "eslint src tests --fix",
|
|
"check": "run-s check:*",
|
|
"check:lint": "eslint src tests",
|
|
"check:spelling": "cspell \"{README.md,{tests,src}/**/*.ts}\"",
|
|
"check:tsc": "tsc -p tsconfig.dev.json",
|
|
"test": "run-s test:*",
|
|
"test:node": "node ./src/run-tests.js",
|
|
"reset-hard": "git clean -dfx -e .idea && git reset --hard && npm i && npm run build"
|
|
},
|
|
"engines": {
|
|
"node": ">=16"
|
|
},
|
|
"dependencies": {
|
|
"@libp2p/peer-id": "^2.0.4",
|
|
"@waku/core": "*",
|
|
"@waku/enr": "*",
|
|
"@waku/interfaces": "*",
|
|
"@waku/utils": "*",
|
|
"app-root-path": "^3.1.0",
|
|
"debug": "^4.3.4",
|
|
"dockerode": "^3.3.5",
|
|
"p-timeout": "^6.1.0",
|
|
"portfinder": "^1.0.32",
|
|
"sinon": "^15.2.0",
|
|
"tail": "^2.2.6"
|
|
},
|
|
"devDependencies": {
|
|
"@libp2p/bootstrap": "^8.0.0",
|
|
"@libp2p/interface-peer-discovery-compliance-tests": "^2.0.8",
|
|
"@libp2p/interface-peer-id": "^2.0.2",
|
|
"@types/chai": "^4.3.4",
|
|
"@types/dockerode": "^3.3.17",
|
|
"@types/mocha": "^10.0.1",
|
|
"@types/tail": "^2.2.1",
|
|
"@waku/sdk": "*",
|
|
"@typescript-eslint/eslint-plugin": "^5.57.0",
|
|
"@typescript-eslint/parser": "^5.59.8",
|
|
"@waku/dns-discovery": "*",
|
|
"@waku/message-encryption": "*",
|
|
"@waku/peer-exchange": "*",
|
|
"@waku/sdk": "*",
|
|
"chai": "^4.3.7",
|
|
"cspell": "^6.31.1",
|
|
"debug": "^4.3.4",
|
|
"mocha": "^10.2.0",
|
|
"npm-run-all": "^4.1.5",
|
|
"prettier": "^2.8.8",
|
|
"typescript": "^5.0.4",
|
|
"interface-datastore": "^8.2.3",
|
|
"libp2p": "^0.45.9",
|
|
"datastore-core": "^9.2.0"
|
|
}
|
|
}
|