-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
52 lines (52 loc) · 1.42 KB
/
package.json
File metadata and controls
52 lines (52 loc) · 1.42 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
{
"name": "@plures/pluresdb",
"version": "3.0.1",
"description": "P2P Graph Database — Local-first, offline-first. One codebase: native Rust, Node.js (N-API), browser (WASM), Deno (WASM).",
"type": "module",
"main": "dist/node/index.js",
"types": "dist/node/index.d.ts",
"exports": {
".": {
"types": "./dist/types/index.d.ts",
"node": {
"import": "./dist/node/index.mjs",
"require": "./dist/node/index.js"
},
"browser": "./dist/wasm/pluresdb.js",
"deno": "./dist/wasm/pluresdb.js",
"default": "./dist/node/index.js"
},
"./wasm": {
"types": "./dist/types/wasm.d.ts",
"import": "./dist/wasm/pluresdb.js",
"default": "./dist/wasm/pluresdb.js"
}
},
"files": [
"dist/",
"README.md",
"LICENSE"
],
"scripts": {
"build:node": "cd crates/pluresdb-node && npm install && npm run build",
"build:wasm": "cd crates/pluresdb-wasm && wasm-pack build --target web --out-dir ../../dist/wasm",
"build:all": "npm run build:node && npm run build:wasm",
"build": "npm run build:node",
"test": "cargo test --workspace",
"test:wasm": "wasm-pack test --headless --chrome crates/pluresdb-wasm"
},
"keywords": [
"database",
"crdt",
"local-first",
"p2p",
"graph",
"wasm",
"rust"
],
"license": "BSL-1.1",
"repository": "https://github.com/plures/pluresdb",
"engines": {
"node": ">=24"
}
}