js-waku/package.json
Arseniy Klempner 0df18b2a75
feat: create @waku/run package for local dev env (#2678)
* feat: create @waku/run package for local dev env

* chore: add @waku/run to release please config

* feat: test @waku/run with playwright

* fix: don't run waku/run tests in CI

* fix: cache images so docker-compose can work offline

* feat: set nodekey and staticnode flags for each nwaku node

* fix: use constants for node ids

* chore: set directories for running via npx

* fix: remove .env, support env vars for nwaku ports

* fix: use separate db (same instance) for each node

* feat: add command to test dev env

* chore: use package version in container name

* fix: replace hardcoded WS/REST ports with constants/env vars

* chore: clean up README

* fix: refactor config printing into own function

* fix: add run package to release please manifest

* fix: defer to root folder gitignore/cspell

* fix: update node version and remove tsx

* fix: remove browser tests and express dep

* fix: replace magic values with constants

* fix: move to root .gitignore

* fix: move cspell to root
2025-10-22 21:38:28 -07:00

85 lines
3.1 KiB
JSON

{
"name": "@waku/root",
"private": true,
"type": "module",
"workspaces": [
"packages/proto",
"packages/interfaces",
"packages/utils",
"packages/enr",
"packages/core",
"packages/discovery",
"packages/message-encryption",
"packages/sds",
"packages/rln",
"packages/sdk",
"packages/relay",
"packages/run",
"packages/tests",
"packages/reliability-tests",
"packages/browser-tests",
"packages/build-utils",
"packages/react"
],
"scripts": {
"prepare": "husky",
"build": "npm run build --workspaces --if-present",
"build:esm": "npm run build:esm --workspaces --if-present",
"size": "npm run build && size-limit",
"fix": "run-s fix:*",
"fix:workspaces": "npm run fix --workspaces --if-present",
"check": "run-s check:*",
"check:workspaces": "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": "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",
"test:longevity": "npm --prefix packages/reliability-tests run test:longevity",
"test:high-throughput": "npm --prefix packages/reliability-tests run test:high-throughput",
"test:throughput-sizes": "npm --prefix packages/reliability-tests run test:throughput-sizes",
"test:network-latency": "npm --prefix packages/reliability-tests run test:network-latency",
"test:low-bandwidth": "npm --prefix packages/reliability-tests run test:low-bandwidth",
"test:packet-loss": "npm --prefix packages/reliability-tests run test:packet-loss",
"proto": "npm run proto --workspaces --if-present",
"deploy": "node ci/deploy.js",
"doc": "run-s doc:*",
"doc:html": "typedoc --options typedoc.cjs",
"doc:cname": "echo 'js.waku.org' > docs/CNAME",
"publish": "node ./ci/publish.js",
"sync-rln-tree": "node ./packages/tests/src/sync-rln-tree.js"
},
"devDependencies": {
"@size-limit/preset-big-lib": "^11.0.2",
"@typescript-eslint/eslint-plugin": "^6.6.0",
"@typescript-eslint/parser": "^6.21.0",
"eslint": "^8.56.0",
"eslint-config-prettier": "^9.0.0",
"eslint-plugin-eslint-comments": "^3.2.0",
"eslint-plugin-functional": "^6.0.1",
"eslint-plugin-import": "^2.27.5",
"eslint-plugin-prettier": "^5.1.3",
"gh-pages": "^6.1.1",
"husky": "^9.0.11",
"karma": "^6.4.2",
"karma-chrome-launcher": "^3.2.0",
"karma-firefox-launcher": "^2.1.3",
"karma-mocha": "^2.0.1",
"karma-webkit-launcher": "^2.4.0",
"karma-webpack": "github:codymikol/karma-webpack#2337a82beb078c0d8e25ae8333a06249b8e72828",
"lint-staged": "^15.4.3",
"playwright": "^1.40.1",
"size-limit": "^11.0.1",
"ts-loader": "9.5.2",
"ts-node": "10.9.2",
"typedoc": "0.28.5",
"typescript": "5.8.3",
"wscat": "^6.0.1"
},
"lint-staged": {
"*.{ts,js}": [
"eslint --fix"
]
},
"version": ""
}