js-waku/package.json

51 lines
1.5 KiB
JSON
Raw Normal View History

2022-10-30 10:02:12 +00:00
{
"name": "@waku/root",
2022-10-30 10:02:12 +00:00
"private": true,
"type": "module",
2022-10-30 10:02:12 +00:00
"workspaces": [
"packages/utils",
"packages/proto",
"packages/interfaces",
"packages/enr",
feat!: implement peer exchange (#1027) * wip -- yet to test * update: draft * wip * support passing flags manually to nwaku node * refactor peer-exchange test * switch response from uint8array to ENR * rm: unnecesary logs * implement clas * fix: for loop * init-wip: directories * setup: new package & fix circular deps * bind a response handler * wip: refactor & update test * test logs * wip code - debugging * address: comments * Update packages/core/src/lib/waku_peer_exchange/peer_discovery.ts Co-authored-by: fryorcraken.eth <110212804+fryorcraken@users.noreply.github.com> * Update packages/core/src/lib/waku_peer_exchange/peer_discovery.ts Co-authored-by: fryorcraken.eth <110212804+fryorcraken@users.noreply.github.com> * address: comments * address: comments * address: comments * address: comments * address: comments * fix: test build * refactor * fix: build * comply with API * numPeers: use number instead of bigint * fix: build * Update packages/peer-exchange/package.json Co-authored-by: fryorcraken.eth <110212804+fryorcraken@users.noreply.github.com> * Update packages/peer-exchange/src/waku_peer_exchange.ts Co-authored-by: fryorcraken.eth <110212804+fryorcraken@users.noreply.github.com> * Update packages/peer-exchange/src/waku_peer_exchange.ts Co-authored-by: fryorcraken.eth <110212804+fryorcraken@users.noreply.github.com> * Update packages/peer-exchange/src/waku_peer_exchange.ts Co-authored-by: fryorcraken.eth <110212804+fryorcraken@users.noreply.github.com> * address: comments, add eslint config * Update packages/peer-exchange/.eslintrc.cjs Co-authored-by: fryorcraken.eth <110212804+fryorcraken@users.noreply.github.com> * Update packages/peer-exchange/src/index.ts Co-authored-by: fryorcraken.eth <110212804+fryorcraken@users.noreply.github.com> * address comments * test works with test fleet * rm: only for px test => run all tests * fix: tests * reorder packages for build, and fix imports * remove: px test doesnt work with local nodes * chore: move proto into a separate package * fix: proto dir * fix: build * fix: ci * add: index for proto * fix: ci * Update packages/proto/package.json Co-authored-by: fryorcraken.eth <110212804+fryorcraken@users.noreply.github.com> * address comments * chore: run failing test with higher timeout * chore: run failing test with higher timeout * fix: ci Co-authored-by: fryorcraken.eth <110212804+fryorcraken@users.noreply.github.com>
2022-12-07 06:05:30 +00:00
"packages/peer-exchange",
"packages/core",
"packages/dns-discovery",
"packages/message-encryption",
"packages/create",
"packages/tests"
2022-10-30 10:02:12 +00:00
],
2022-10-30 10:12:01 +00:00
"scripts": {
2022-10-30 10:16:02 +00:00
"prepare": "husky install",
"build": "npm run build --workspaces --if-present",
"build:esm": "npm run build:esm --workspaces --if-present",
2022-10-30 21:56:48 +00:00
"size": "npm run build && size-limit",
"fix": "npm run fix --workspaces --if-present",
"check": "npm run check --workspaces --if-present",
"check:ws": "[ $(ls -1 ./packages|wc -l) -eq $(cat package.json | jq '.workspaces | length') ] || exit 1 # check no packages left behind",
"test": "npm run test --workspaces --if-present",
"test:browser": "npm run test:browser --workspaces --if-present",
"test:node": "npm run test:node --workspaces --if-present",
"proto": "npm run proto --workspaces --if-present",
"deploy": "node ci/deploy.js",
2022-11-02 04:05:12 +00:00
"doc": "run-s doc:*",
2023-02-09 03:45:32 +00:00
"doc:html": "typedoc --options typedoc.cjs",
"doc:cname": "echo 'js.waku.org' > docs/CNAME"
2022-10-30 10:12:01 +00:00
},
2022-10-30 10:02:12 +00:00
"devDependencies": {
"@size-limit/preset-big-lib": "^8.1.2",
"husky": "^8.0.3",
"lint-staged": "^13.1.1",
"size-limit": "^8.1.2",
"typedoc": "^0.23.24",
"typedoc-plugin-resolve-crossmodule-references": "^0.3.3"
},
2022-10-30 10:12:01 +00:00
"lint-staged": {
"*.ts": [
"eslint --fix"
],
2022-12-12 11:14:26 +00:00
"*.{ts,json,js,md,cjs}": [
2022-10-30 10:12:01 +00:00
"prettier --write"
]
2022-10-30 10:02:12 +00:00
}
}