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
53 lines (53 loc) · 2.26 KB
/
Copy pathpackage.json
File metadata and controls
53 lines (53 loc) · 2.26 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
{
"name": "replicache",
"description": "Offline-First for Every Application",
"version": "0.6.0",
"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}/**/*.{js,jsx,json,ts,tsx,html,css,md}' '*.{js,jsx,json,ts,tsx,html,css,md}'",
"check-format": "prettier --check '{src,sample}/**/*.{js,jsx,json,ts,tsx,html,css,md}' '*.{js,jsx,json,ts,tsx,html,css,md}'",
"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",
"build:cjs": "tsc --outDir out.cjs --module CommonJS && rm -rf out.cjs/wasm && mkdir out.cjs/wasm && cp -R src/wasm/* out.cjs/wasm",
"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 && rm -rf out.cjs && npm run build:cjs",
"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": "^3.0.2",
"@typescript-eslint/parser": "^3.0.2",
"@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.1.0",
"fetch-mock": "^9.10.7",
"get-port": "^5.1.1",
"playwright": "^1.4.1",
"prettier": "^2.0.0",
"sinon": "^9.0.3",
"typedoc": "^0.17.0-3",
"typescript": "^3.9.3"
},
"module": "out/mod.js",
"main": "out.cjs/mod.js",
"types": "out/mod.js",
"dependencies": {},
"files": [
"out",
"out.cjs",
"tool/get-deps.sh"
]
}