Repository navigation
Expand file tree
/
Copy pathpackage.json
More file actions
54 lines (54 loc) · 1.49 KB
/
Copy pathpackage.json
File metadata and controls
54 lines (54 loc) · 1.49 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
{
"name": "zero-rust",
"version": "0.5.2",
"description": "Generates the Rust row types, schema, and query builder of a Zero app for the Zero Rust client.",
"license": "Apache-2.0",
"repository": {
"type": "git",
"url": "git+https://github.com/wevm/zero.git",
"directory": "packages/zero-rust-cli"
},
"bin": {
"zero-rust": "./src/bin.ts"
},
"files": [
"dist"
],
"type": "module",
"publishConfig": {
"bin": {
"zero-rust": "./dist/bin.js"
}
},
"scripts": {
"build": "esbuild src/bin.ts --bundle --platform=node --format=esm --target=node22 --splitting --outdir=dist --external:@rocicorp/zero --external:typescript --external:incur",
"test": "vitest run",
"smoke": "node test/packed.ts",
"generate": "UPDATE_GENERATED=1 vitest run",
"check-types": "tsc",
"lint": "oxlint --quiet --config ../../oxlint.config.ts src/ test/",
"format": "oxfmt .",
"check-format": "oxfmt --check .",
"sync-version": "sh ../../rust/scripts/set-version.sh \"$(node -p 'require(\"./package.json\").version')\""
},
"dependencies": {
"incur": "0.7.1",
"typescript": "6.0.3"
},
"devDependencies": {
"@rocicorp/zero": "workspace:*",
"@types/node": "^22.19.19",
"esbuild": "0.28.2",
"oxfmt": "^0.74.0",
"vitest": "^5.0.5",
"zero-schema": "workspace:*",
"zerogen": "workspace:*",
"zql": "workspace:*"
},
"peerDependencies": {
"@rocicorp/zero": ">=1.11.0"
},
"engines": {
"node": ">=22.18"
}
}