mirror of https://github.com/status-im/js-waku.git
51 lines
1.6 KiB
JSON
51 lines
1.6 KiB
JSON
{
|
|
"name": "@waku/root",
|
|
"private": true,
|
|
"type": "module",
|
|
"workspaces": [
|
|
"packages/utils",
|
|
"packages/proto",
|
|
"packages/interfaces",
|
|
"packages/enr",
|
|
"packages/peer-exchange",
|
|
"packages/core",
|
|
"packages/dns-discovery",
|
|
"packages/message-encryption",
|
|
"packages/create",
|
|
"packages/tests"
|
|
],
|
|
"scripts": {
|
|
"prepare": "husky install",
|
|
"build": "npm run build --workspaces --if-present",
|
|
"build:esm": "npm run build:esm --workspaces --if-present",
|
|
"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",
|
|
"doc": "run-s doc:*",
|
|
"doc:html": "typedoc --options typedoc.cjs --treatWarningsAsErrors",
|
|
"doc:cname": "echo 'js.waku.org' > docs/CNAME"
|
|
},
|
|
"devDependencies": {
|
|
"@size-limit/preset-big-lib": "^8.1.0",
|
|
"husky": "^8.0.1",
|
|
"lint-staged": "^13.0.3",
|
|
"size-limit": "^8.1.0",
|
|
"typedoc": "^0.23.23",
|
|
"typedoc-plugin-resolve-crossmodule-references": "^0.3.3"
|
|
},
|
|
"lint-staged": {
|
|
"*.ts": [
|
|
"eslint --fix"
|
|
],
|
|
"*.{ts,json,js,md,cjs}": [
|
|
"prettier --write"
|
|
]
|
|
}
|
|
}
|