2022-10-30 10:02:12 +00:00
|
|
|
{
|
2022-11-02 05:39:08 +00:00
|
|
|
"name": "@waku/root",
|
2022-10-30 10:02:12 +00:00
|
|
|
"private": true,
|
2022-12-02 12:21:24 +00:00
|
|
|
"type": "module",
|
2022-10-30 10:02:12 +00:00
|
|
|
"workspaces": [
|
2023-05-09 18:15:37 +00:00
|
|
|
"packages/interfaces",
|
2023-02-06 05:52:36 +00:00
|
|
|
"packages/utils",
|
2024-01-24 12:54:03 +00:00
|
|
|
"packages/message-hash",
|
2022-12-13 01:31:27 +00:00
|
|
|
"packages/proto",
|
|
|
|
"packages/enr",
|
2022-12-02 03:04:26 +00:00
|
|
|
"packages/core",
|
2023-05-11 08:38:00 +00:00
|
|
|
"packages/relay",
|
2023-01-27 02:42:43 +00:00
|
|
|
"packages/peer-exchange",
|
2022-12-02 03:04:26 +00:00
|
|
|
"packages/dns-discovery",
|
|
|
|
"packages/message-encryption",
|
2023-06-05 11:40:13 +00:00
|
|
|
"packages/sdk",
|
2023-02-28 03:55:17 +00:00
|
|
|
"packages/tests",
|
2023-09-22 12:34:16 +00:00
|
|
|
"packages/browser-tests",
|
2023-02-28 03:55:17 +00:00
|
|
|
"packages/build-utils"
|
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",
|
2022-12-02 03:04:26 +00:00
|
|
|
"build": "npm run build --workspaces --if-present",
|
2023-01-30 09:30:31 +00:00
|
|
|
"build:esm": "npm run build:esm --workspaces --if-present",
|
2022-10-30 21:56:48 +00:00
|
|
|
"size": "npm run build && size-limit",
|
2023-04-03 21:39:59 +00: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 19:05:22 +00: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 11:00:18 +00:00
|
|
|
"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 03:04:26 +00:00
|
|
|
"proto": "npm run proto --workspaces --if-present",
|
2022-12-01 09:19:14 +00:00
|
|
|
"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",
|
2023-03-29 08:36:37 +00:00
|
|
|
"doc:cname": "echo 'js.waku.org' > docs/CNAME",
|
|
|
|
"publish": "node ./ci/publish.js"
|
2022-10-30 10:12:01 +00:00
|
|
|
},
|
2022-10-30 10:02:12 +00:00
|
|
|
"devDependencies": {
|
2023-02-13 16:22:57 +00:00
|
|
|
"@size-limit/preset-big-lib": "^8.2.4",
|
2023-09-21 08:57:37 +00:00
|
|
|
"@typescript-eslint/eslint-plugin": "^6.6.0",
|
2023-10-12 15:48:51 +00:00
|
|
|
"@typescript-eslint/parser": "^6.7.5",
|
2024-01-16 17:29:24 +00:00
|
|
|
"eslint": "^8.56.0",
|
2023-08-11 13:14:02 +00:00
|
|
|
"eslint-config-prettier": "^9.0.0",
|
|
|
|
"eslint-plugin-eslint-comments": "^3.2.0",
|
2023-08-15 03:52:58 +00:00
|
|
|
"eslint-plugin-functional": "^6.0.0",
|
2023-08-11 13:14:02 +00:00
|
|
|
"eslint-plugin-import": "^2.27.5",
|
2023-11-21 22:10:28 +00:00
|
|
|
"eslint-plugin-prettier": "^5.0.1",
|
2023-11-23 23:36:14 +00:00
|
|
|
"gh-pages": "^6.1.0",
|
2023-02-10 02:00:30 +00:00
|
|
|
"husky": "^8.0.3",
|
2023-09-22 15:48:07 +00:00
|
|
|
"karma": "^6.4.2",
|
|
|
|
"karma-chrome-launcher": "^3.2.0",
|
|
|
|
"karma-firefox-launcher": "^2.1.2",
|
|
|
|
"karma-mocha": "^2.0.1",
|
|
|
|
"karma-webkit-launcher": "^2.1.0",
|
2023-11-14 05:23:15 +00:00
|
|
|
"karma-webpack": "github:codymikol/karma-webpack#2337a82beb078c0d8e25ae8333a06249b8e72828",
|
|
|
|
"lint-staged": "^14.0.1",
|
2024-01-15 16:02:26 +00:00
|
|
|
"playwright": "^1.40.1",
|
2023-12-14 07:28:31 +00:00
|
|
|
"size-limit": "^11.0.1",
|
2023-11-14 05:23:15 +00:00
|
|
|
"ts-loader": "^9.4.2",
|
2024-01-19 11:53:42 +00:00
|
|
|
"ts-node": "^10.9.2",
|
2023-11-14 05:23:15 +00:00
|
|
|
"typedoc": "^0.25.1",
|
2023-11-28 15:56:42 +00:00
|
|
|
"typescript": "^5.3.2"
|
2022-11-03 23:04:38 +00:00
|
|
|
},
|
2022-10-30 10:12:01 +00:00
|
|
|
"lint-staged": {
|
2023-02-28 03:55:17 +00:00
|
|
|
"*.{ts,js}": [
|
2022-10-30 10:12:01 +00:00
|
|
|
"eslint --fix"
|
|
|
|
]
|
2022-10-30 10:02:12 +00:00
|
|
|
}
|
|
|
|
}
|