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": [
|
2023-02-06 11:22:36 +05:30
|
|
|
"packages/utils",
|
2022-12-13 12:31:27 +11:00
|
|
|
"packages/proto",
|
|
|
|
"packages/interfaces",
|
|
|
|
"packages/enr",
|
2022-12-07 11:35:30 +05:30
|
|
|
"packages/peer-exchange",
|
2022-12-02 14:04:26 +11:00
|
|
|
"packages/core",
|
|
|
|
"packages/dns-discovery",
|
|
|
|
"packages/message-encryption",
|
|
|
|
"packages/create",
|
|
|
|
"packages/tests"
|
2022-10-30 21:02:12 +11:00
|
|
|
],
|
2022-10-30 21:12:01 +11:00
|
|
|
"scripts": {
|
2022-10-30 21:16:02 +11:00
|
|
|
"prepare": "husky install",
|
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",
|
2022-12-02 14:04:26 +11:00
|
|
|
"fix": "npm run fix --workspaces --if-present",
|
|
|
|
"check": "npm run check --workspaces --if-present",
|
2022-12-02 14:14:11 +11:00
|
|
|
"check:ws": "[ $(ls -1 ./packages|wc -l) -eq $(cat package.json | jq '.workspaces | length') ] || exit 1 # check no packages left behind",
|
2022-12-02 14:04:26 +11:00
|
|
|
"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",
|
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-02-07 14:55:32 +11:00
|
|
|
"doc:cname": "echo 'js.waku.org' > docs/CNAME"
|
2022-10-30 21:12:01 +11:00
|
|
|
},
|
2022-10-30 21:02:12 +11:00
|
|
|
"devDependencies": {
|
2023-02-10 13:00:30 +11:00
|
|
|
"@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",
|
2022-12-21 00:48:16 +11:00
|
|
|
"typedoc-plugin-resolve-crossmodule-references": "^0.3.3"
|
2022-11-04 10:04:38 +11:00
|
|
|
},
|
2022-10-30 21:12:01 +11:00
|
|
|
"lint-staged": {
|
|
|
|
"*.ts": [
|
|
|
|
"eslint --fix"
|
|
|
|
],
|
2022-12-12 22:14:26 +11:00
|
|
|
"*.{ts,json,js,md,cjs}": [
|
2022-10-30 21:12:01 +11:00
|
|
|
"prettier --write"
|
|
|
|
]
|
2022-10-30 21:02:12 +11:00
|
|
|
}
|
|
|
|
}
|