forked from rocicorp/replicache
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
50 lines (50 loc) · 2.08 KB
/
Copy pathpackage.json
File metadata and controls
50 lines (50 loc) · 2.08 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
{
"name": "replicache",
"description": "Offline-First for Every Application",
"version": "2.0.2",
"repository": "github:rocicorp/replicache-sdk-js",
"scripts": {
"test": "web-test-runner src/replicache.test.ts --playwright --browsers chromium firefox",
"test:watch": "web-test-runner src/replicache.test.ts --playwright --browsers chromium firefox webkit --watch",
"format": "prettier --write '{src,sample,perf}/**/*.{js,jsx,json,ts,tsx,html,css,md,mjs}' '*.{js,jsx,json,ts,tsx,html,css,md,mjs}'",
"check-format": "prettier --check '{src,sample,perf}/**/*.{js,jsx,json,ts,tsx,html,css,md,mjs}' '*.{js,jsx,json,ts,tsx,html,css,md,mjs}'",
"lint": "eslint --ext .ts src/",
"doc": "typedoc --name Replicache --mode library --exclude node_modules --exclude src/*.test.ts --excludeNotExported --excludePrivate --excludeProtected --out docs --excludeExternals src/mod.ts",
"build": "tsc && rm -rf out/wasm && mkdir out/wasm && cp -R src/wasm/* out/wasm",
"build:watch": "tsc --watch",
"start:diff-server": "bin/diff-server --db=/tmp/diffs serve",
"postinstall": "rm -f node_modules/fetch-mock/esm/client.d.ts && tool/get-deps.sh",
"prepublishOnly": "tool/validate-binaries-for-publish.js && npm run lint && npm run test && rm -rf out && npm run build",
"perf": "node perf/runner.mjs"
},
"bin": {
"diff-server": "bin/diff-server"
},
"devDependencies": {
"@esm-bundle/chai": "^4.1.5",
"@types/mocha": "^8.0.3",
"@types/sinon": "^9.0.5",
"@typescript-eslint/eslint-plugin": "^4.5.0",
"@typescript-eslint/parser": "^4.5.0",
"@web/dev-server": "0.0.10",
"@web/dev-server-esbuild": "^0.2.4",
"@web/test-runner": "^0.7.23",
"@web/test-runner-playwright": "^0.5.6",
"benchmark": "^2.1.4",
"eslint": "^7.11.0",
"fetch-mock": "^9.10.7",
"get-port": "^5.1.1",
"playwright": "^1.4.1",
"prettier": "^2.1.2",
"sinon": "^9.0.3",
"typedoc": "^0.17.0-3",
"typescript": "^4.0.3"
},
"module": "out/mod.js",
"types": "out/mod.js",
"dependencies": {},
"files": [
"out",
"tool/get-deps.sh"
]
}