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",
|
2024-01-24 18:24:03 +05:30
|
|
|
"packages/message-hash",
|
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",
|
2023-06-05 17:10:13 +05:30
|
|
|
"packages/sdk",
|
2024-08-31 15:18:51 +02:00
|
|
|
"packages/relay",
|
2023-02-28 14:55:17 +11:00
|
|
|
"packages/tests",
|
2023-09-22 14:34:16 +02:00
|
|
|
"packages/browser-tests",
|
2024-04-02 13:53:06 +02:00
|
|
|
"packages/build-utils",
|
|
|
|
"packages/react-native-polyfills"
|
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",
|
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",
|
2024-05-01 19:58:28 -07:00
|
|
|
"publish": "node ./ci/publish.js",
|
|
|
|
"sync-rln-tree": "node ./packages/tests/src/sync-rln-tree.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",
|
2024-02-12 22:52:19 +01:00
|
|
|
"lint-staged": "^15.2.2",
|
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",
|
2024-02-29 22:28:51 +01:00
|
|
|
"ts-loader": "^9.5.1",
|
2024-01-19 12:53:42 +01:00
|
|
|
"ts-node": "^10.9.2",
|
2024-02-26 22:10:09 +01:00
|
|
|
"typedoc": "^0.25.9",
|
2024-03-04 23:49:47 +01:00
|
|
|
"typescript": "^5.3.3"
|
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"
|
|
|
|
]
|
2022-10-30 21:02:12 +11:00
|
|
|
}
|
|
|
|
}
|