forked from vlcn-io/cr-sqlite
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
91 lines (91 loc) · 2.84 KB
/
package.json
File metadata and controls
91 lines (91 loc) · 2.84 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
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
{
"name": "@effect-native/libcrsql",
"version": "0.16.300-preview",
"description": "Pure-Nix CR-SQLite extension (.dylib/.so) for conflict-free replicated databases",
"main": "dist/index.js",
"types": "dist/index.d.ts",
"type": "module",
"exports": {
".": {
"react-native": "./dist/react-native.js",
"default": "./dist/index.js"
},
"./react-native": {
"import": "./dist/react-native.js",
"types": "./dist/react-native.d.ts"
},
"./package.json": "./package.json"
},
"scripts": {
"build": "nix build .#cr-sqlite",
"build:zig": "bash scripts/build-zig.sh",
"build:zig:all": "bash scripts/build-zig.sh all",
"bundle-lib": "nix run .#build-all-platforms",
"bundle-lib:zig": "bash scripts/bundle-zig-lib.sh",
"bundle-lib:linux-amd64": "bash scripts/build-linux-docker.sh amd64",
"bundle-lib:linux-arm64": "bash scripts/build-linux-docker.sh arm64",
"bundle-lib:linux": "bash scripts/build-linux-docker.sh both",
"bundle-lib:all": "npm run bundle-lib && npm run bundle-lib:linux && npm run bundle-lib:zig",
"get-path": "nix run .#print-path",
"check": "nix flake check",
"test": "npm run check",
"test:zig": "bun dist.test.ts",
"test:docker": "if command -v docker >/dev/null 2>&1 && docker info >/dev/null 2>&1; then docker build -t cr-sqlite-test . && docker run --rm cr-sqlite-test; else echo '⚠️ Docker not running - skipping Docker tests'; fi",
"test:vps": "./scripts/verify-vps.sh",
"sync-version": "tsx scripts/sync-version.ts",
"build-production": "node scripts/build-production.cjs",
"preversion": "npm run sync-version",
"version": "git add package.json",
"prepublishOnly": "npm run build-production && npm run test && npm run test:docker && npm run test:vps"
},
"bin": {
"@effect-native/libcrsql": "./dist/bin/libcrsql-extension-path.js",
"libcrsql-extension-path": "./dist/bin/libcrsql-extension-path.js"
},
"files": [
"dist/index.js",
"dist/index.d.ts",
"dist/react-native.js",
"dist/react-native.d.ts",
"dist/lib/",
"dist/bin/",
"README.md"
],
"keywords": [
"sqlite",
"sqlite3",
"cr-sqlite",
"crsqlite",
"crdt",
"conflict-free",
"replicated",
"extension",
"nix",
"dylib",
"shared-library"
],
"author": "Tom Aylott",
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/effect-native/cr-sqlite.git"
},
"engines": {
"node": ">=16.0.0"
},
"peerDependencies": {},
"dependencies": {},
"devDependencies": {
"@effect-native/libsqlite": "^3.50.2-1",
"@effect/platform": "^0.66.3",
"@effect/platform-bun": "^0.46.0",
"@types/bun": "latest",
"@types/node": "^22.0.0",
"effect": "^3.10.0",
"tsx": "^4.19.2",
"typescript": "^5.7.2"
},
"publishConfig": {
"access": "public"
}
}