replicache

v11.1.0
Realtime sync for any backend stack

lint

eslint --ext .ts,.tsx,.js,.jsx src/ perf/

perf

npm run build-perf && node perf/runner.js

test

web-test-runner

build

rm -rf out && npm run build-dts && node tool/build.mjs

format

prettier --write '{doc,src,sample,perf}/**/*.{js,jsx,json,ts,tsx,html,css,md}' '*.{cjs,js,jsx,json,ts,tsx,html,css,md}'

prepack

npm run lint && npm run test && npm run build

prepare

rm -f node_modules/fetch-mock/esm/client.d.ts

build-dts

rm -rf out/.dts/ && tsc --emitDeclarationOnly --outDir out/.dts/ && rollup --config rollup.config.js && rm -rf out/.dts

build-perf

node tool/build.mjs --perf

test:watch

web-test-runner --watch

check-types

tsc --noEmit && npm run build && tsc --noEmit --project perf/tsconfig.json && tsc --noEmit tool/cli.ts

check-format

prettier --check '{doc,src,sample,perf}/**/*.{js,jsx,json,ts,tsx,html,css,md}' '*.{cjs,js,jsx,json,ts,tsx,html,css,md}'

build-bundle-sizes

rm -rf out && npm run build-dts && node tool/build.mjs --bundle-sizes

Metadata

Downloads