@liveblocks/core
v2.10.0 liveblocks multiplayer live-cursors collaborative
dev
tsup --watch
lint
eslint src/
test
jest --silent --verbose --color=always
build
tsup && node dist/index.mjs
format
(eslint --fix src/ || true) && prettier --write src/
showdeps
depcruise src --include-only '^src' --exclude='__tests__' --output-type dot | dot -T svg > /tmp/dependency-graph.svg && open /tmp/dependency-graph.svg
test:e2e
jest --silent --verbose --color=always --config=./jest.config.e2e.js
test:deps
depcruise src --exclude __tests__
test:types
ls test-d/* | xargs -n1 tsd --files
test:watch
jest --silent --verbose --color=always --watch
lint:package
publint --strict && attw --pack
showdeps:high-level
depcruise src --include-only '^src' --exclude='(^src/index.ts|shallow.ts|__tests__)' --collapse='^src/(refs|lib|compat|types|crdts|protocol)' --output-type dot | dot -T svg > /tmp/dependency-graph.svg && open /tmp/dependency-graph.svg