js-waku/package.json

69 lines
2.2 KiB
JSON
Raw Normal View History

2022-10-30 10:02:12 +00:00
{
"name": "@waku/root",
2022-10-30 10:02:12 +00:00
"private": true,
"type": "module",
2022-10-30 10:02:12 +00:00
"workspaces": [
"packages/interfaces",
"packages/utils",
"packages/proto",
"packages/enr",
"packages/core",
"packages/relay",
2023-03-10 04:50:24 +00:00
"packages/message-hash",
"packages/peer-exchange",
"packages/dns-discovery",
"packages/message-encryption",
"packages/sdk",
"packages/tests",
"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",
"build": "npm run build --workspaces --if-present",
"build:esm": "npm run build:esm --workspaces --if-present",
2022-10-30 21:56:48 +00:00
"size": "npm run build && size-limit",
"fix": "run-s fix:*",
"fix:workspaces": "npm run fix --workspaces --if-present",
"fix:prettier": "prettier ./packages --write",
"check": "run-s check:*",
"check:workspaces": "npm run check --workspaces --if-present",
"check:prettier": "prettier ./packages --list-different",
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",
"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",
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",
"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": {
"@size-limit/preset-big-lib": "^8.2.4",
"@typescript-eslint/eslint-plugin": "^6.2.1",
"@typescript-eslint/parser": "^6.0.0",
"eslint": "^8.47.0",
"eslint-config-prettier": "^9.0.0",
"eslint-plugin-eslint-comments": "^3.2.0",
"eslint-plugin-functional": "^6.0.0",
"eslint-plugin-import": "^2.27.5",
"eslint-plugin-prettier": "^5.0.0",
"gh-pages": "^5.0.0",
"husky": "^8.0.3",
"lint-staged": "^13.2.2",
"prettier": "^3.0.0",
"size-limit": "^8.1.2",
"typedoc": "^0.23.26",
"typedoc-plugin-resolve-crossmodule-references": "^0.3.3"
},
2022-10-30 10:12:01 +00:00
"lint-staged": {
"*.{ts,js}": [
2022-10-30 10:12:01 +00:00
"eslint --fix"
],
2022-12-12 11:14:26 +00:00
"*.{ts,json,js,md,cjs}": [
2022-10-30 10:12:01 +00:00
"prettier --write"
]
2022-10-30 10:02:12 +00:00
}
}