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
63 lines (63 loc) · 2.51 KB
/
Copy pathpackage.json
File metadata and controls
63 lines (63 loc) · 2.51 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
51
52
53
54
55
56
57
58
59
60
61
62
63
{
"name": "replicache",
"description": "Offline-First for Every Application",
"version": "3.1.0",
"repository": "github:rocicorp/replicache-sdk-js",
"license": "BSL-1.1",
"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}' '*.{js,jsx,json,ts,tsx,html,css,md}'",
"check-format": "prettier --check '{src,sample,perf}/**/*.{js,jsx,json,ts,tsx,html,css,md}' '*.{js,jsx,json,ts,tsx,html,css,md}'",
"lint": "eslint --ext .ts,.tsx,.js,.jsx src/ perf/",
"doc": "typedoc --name Replicache --mode library --exclude node_modules --exclude src/*.test.ts --excludeNotExported --excludePrivate --excludeProtected --out docs --excludeExternals src/mod.ts",
"build": "rollup --config rollup.config.js",
"build-dev": "DEV=1 rollup --config rollup.config.js",
"build:watch": "rollup --config rollup.config.js --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 && npm run build-dev",
"prepack": "npm run prepublishOnly",
"perf": "node perf/runner.js"
},
"bin": {
"diff-server": "bin/diff-server"
},
"devDependencies": {
"@esm-bundle/chai": "^4.1.5",
"@rollup/plugin-alias": "^3.1.1",
"@rollup/plugin-replace": "^2.3.3",
"@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",
"@wessberg/rollup-plugin-ts": "^1.3.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",
"rollup": "^2.32.1",
"rollup-plugin-copy": "^3.3.0",
"sinon": "^9.0.3",
"typedoc": "^0.17.0-3",
"typescript": "^4.0.3"
},
"type": "module",
"module": "out/replicache.js",
"types": "out/replicache.js",
"dependencies": {},
"files": [
"out",
"tool/get-deps.sh"
],
"exports": {
".": "./out/replicache.js",
"./dev": "./out/replicache.dev.js"
}
}