2022-10-30 21:02:12 +11:00
|
|
|
{
|
2022-11-02 16:39:08 +11:00
|
|
|
"name": "@waku/root",
|
2022-10-30 21:02:12 +11:00
|
|
|
"private": true,
|
2022-12-02 13:21:24 +01:00
|
|
|
"type": "module",
|
2022-10-30 21:02:12 +11:00
|
|
|
"workspaces": [
|
2024-04-01 16:47:47 +05:30
|
|
|
"packages/proto",
|
2023-05-09 20:15:37 +02:00
|
|
|
"packages/interfaces",
|
2023-02-06 11:22:36 +05:30
|
|
|
"packages/utils",
|
2022-12-13 12:31:27 +11:00
|
|
|
"packages/enr",
|
2022-12-02 14:04:26 +11:00
|
|
|
"packages/core",
|
2024-03-12 15:56:49 +05:30
|
|
|
"packages/discovery",
|
2022-12-02 14:04:26 +11:00
|
|
|
"packages/message-encryption",
|
2025-02-18 16:46:33 +05:30
|
|
|
"packages/sds",
|
|
|
|
|
"packages/rln",
|
2025-09-09 12:43:48 +10:00
|
|
|
"packages/sdk",
|
|
|
|
|
"packages/relay",
|
2025-10-22 21:38:28 -07:00
|
|
|
"packages/run",
|
2023-02-28 14:55:17 +11:00
|
|
|
"packages/tests",
|
2025-06-05 11:19:00 +03:00
|
|
|
"packages/reliability-tests",
|
2023-09-22 14:34:16 +02:00
|
|
|
"packages/browser-tests",
|
2025-10-08 15:37:49 +02:00
|
|
|
"packages/build-utils",
|
|
|
|
|
"packages/react"
|
2022-10-30 21:02:12 +11:00
|
|
|
],
|
2022-10-30 21:12:01 +11:00
|
|
|
"scripts": {
|
2024-08-22 18:01:29 +02:00
|
|
|
"prepare": "husky",
|
2022-12-02 14:04:26 +11:00
|
|
|
"build": "npm run build --workspaces --if-present",
|
2023-01-30 20:30:31 +11:00
|
|
|
"build:esm": "npm run build:esm --workspaces --if-present",
|
2022-10-31 08:56:48 +11:00
|
|
|
"size": "npm run build && size-limit",
|
2023-04-03 23:39:59 +02:00
|
|
|
"fix": "run-s fix:*",
|
|
|
|
|
"fix:workspaces": "npm run fix --workspaces --if-present",
|
|
|
|
|
"check": "run-s check:*",
|
|
|
|
|
"check:workspaces": "npm run check --workspaces --if-present",
|
2023-06-08 12:05:22 -07:00
|
|
|
"check:ws": "[ $(ls -1 ./packages|wc -l) -eq $(cat package.json | jq '.workspaces | length') ] || exit 1 # check no packages left behind",
|
2024-01-02 16:30:18 +05:30
|
|
|
"test": "NODE_ENV=test npm run test --workspaces --if-present",
|
|
|
|
|
"test:browser": "NODE_ENV=test npm run test:browser --workspaces --if-present",
|
|
|
|
|
"test:node": "NODE_ENV=test npm run test:node --workspaces --if-present",
|
2025-06-05 11:19:00 +03:00
|
|
|
"test:longevity": "npm --prefix packages/reliability-tests run test:longevity",
|
2025-07-14 11:38:42 +03:00
|
|
|
"test:high-throughput": "npm --prefix packages/reliability-tests run test:high-throughput",
|
|
|
|
|
"test:throughput-sizes": "npm --prefix packages/reliability-tests run test:throughput-sizes",
|
2025-07-29 10:17:43 +03:00
|
|
|
"test:network-latency": "npm --prefix packages/reliability-tests run test:network-latency",
|
|
|
|
|
"test:low-bandwidth": "npm --prefix packages/reliability-tests run test:low-bandwidth",
|
|
|
|
|
"test:packet-loss": "npm --prefix packages/reliability-tests run test:packet-loss",
|
2022-12-02 14:04:26 +11:00
|
|
|
"proto": "npm run proto --workspaces --if-present",
|
2022-12-01 10:19:14 +01:00
|
|
|
"deploy": "node ci/deploy.js",
|
2022-11-02 15:05:12 +11:00
|
|
|
"doc": "run-s doc:*",
|
2023-02-09 14:45:32 +11:00
|
|
|
"doc:html": "typedoc --options typedoc.cjs",
|
2023-03-29 10:36:37 +02:00
|
|
|
"doc:cname": "echo 'js.waku.org' > docs/CNAME",
|
2025-10-27 17:02:48 -07:00
|
|
|
"publish": "node ./ci/publish.js"
|
2022-10-30 21:12:01 +11:00
|
|
|
},
|
2022-10-30 21:02:12 +11:00
|
|
|
"devDependencies": {
|
2024-03-01 17:16:08 +01:00
|
|
|
"@size-limit/preset-big-lib": "^11.0.2",
|
2023-09-21 10:57:37 +02:00
|
|
|
"@typescript-eslint/eslint-plugin": "^6.6.0",
|
2024-02-07 23:40:06 +01:00
|
|
|
"@typescript-eslint/parser": "^6.21.0",
|
2024-01-16 18:29:24 +01:00
|
|
|
"eslint": "^8.56.0",
|
2023-08-11 15:14:02 +02:00
|
|
|
"eslint-config-prettier": "^9.0.0",
|
|
|
|
|
"eslint-plugin-eslint-comments": "^3.2.0",
|
2024-02-27 23:07:28 +01:00
|
|
|
"eslint-plugin-functional": "^6.0.1",
|
2023-08-11 15:14:02 +02:00
|
|
|
"eslint-plugin-import": "^2.27.5",
|
2024-03-06 01:03:10 +01:00
|
|
|
"eslint-plugin-prettier": "^5.1.3",
|
2024-03-21 23:28:36 +01:00
|
|
|
"gh-pages": "^6.1.1",
|
2024-03-23 00:25:50 +01:00
|
|
|
"husky": "^9.0.11",
|
2023-09-22 17:48:07 +02:00
|
|
|
"karma": "^6.4.2",
|
|
|
|
|
"karma-chrome-launcher": "^3.2.0",
|
2024-03-14 16:50:09 +05:30
|
|
|
"karma-firefox-launcher": "^2.1.3",
|
2023-09-22 17:48:07 +02:00
|
|
|
"karma-mocha": "^2.0.1",
|
2024-02-12 23:40:47 +01:00
|
|
|
"karma-webkit-launcher": "^2.4.0",
|
2023-11-13 21:23:15 -08:00
|
|
|
"karma-webpack": "github:codymikol/karma-webpack#2337a82beb078c0d8e25ae8333a06249b8e72828",
|
2025-12-24 15:06:04 +00:00
|
|
|
"lint-staged": "^16.2.7",
|
2024-01-15 17:02:26 +01:00
|
|
|
"playwright": "^1.40.1",
|
2023-12-14 12:58:31 +05:30
|
|
|
"size-limit": "^11.0.1",
|
2025-06-22 17:41:23 +02:00
|
|
|
"ts-loader": "9.5.2",
|
|
|
|
|
"ts-node": "10.9.2",
|
|
|
|
|
"typedoc": "0.28.5",
|
|
|
|
|
"typescript": "5.8.3",
|
2025-04-18 22:51:07 +02:00
|
|
|
"wscat": "^6.0.1"
|
2022-11-04 10:04:38 +11:00
|
|
|
},
|
2022-10-30 21:12:01 +11:00
|
|
|
"lint-staged": {
|
2023-02-28 14:55:17 +11:00
|
|
|
"*.{ts,js}": [
|
2022-10-30 21:12:01 +11:00
|
|
|
"eslint --fix"
|
|
|
|
|
]
|
2025-10-21 16:35:01 +11:00
|
|
|
},
|
|
|
|
|
"version": ""
|
2022-10-30 21:02:12 +11:00
|
|
|
}
|