replicache

v5.1.0
Offline-First for Every Application

doc

typedoc src/mod.ts

lint

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

perf

node perf/runner.js

test

web-test-runner src/replicache.test.ts --playwright --browsers chromium firefox webkit

build

rollup --config rollup.config.js

format

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

prepack

npm run prepublishOnly

get-repc

tool/get-deps.sh && git restore bin/diff-server

build-dev

DEV=1 rollup --config rollup.config.js

test:watch

web-test-runner src/replicache.test.ts --playwright --browsers chromium firefox webkit --watch

build:watch

rollup --config rollup.config.js --watch

postinstall

rm -f node_modules/fetch-mock/esm/client.d.ts && tool/get-deps.sh

check-format

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

prepublishOnly

tool/validate-binaries-for-publish.cjs && npm run lint && npm run get-repc && npm run test && rm -rf out && npm run build && npm run build-dev

start:diff-server

bin/diff-server --db=/tmp/diffs serve

Metadata

Downloads