-
Notifications
You must be signed in to change notification settings - Fork 15
/
package.json
80 lines (80 loc) · 2.67 KB
/
package.json
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
{
"name": "@orbitdb/voyager",
"version": "0.0.3",
"description": "A storage service OrbitDB databases.",
"main": "./src/index.js",
"type": "module",
"author": "OrbitDB",
"license": "MIT",
"bin": {
"voyager": "./src/bin/cli.js"
},
"engines": {
"node": ">=20.0.0"
},
"repository": {
"type": "git",
"url": "https://github.com/orbitdb/voyager"
},
"bugs": {
"url": "https://github.com/orbitdb/voyager/issues"
},
"homepage": "https://github.com/orbitdb/voyager#readme",
"keywords": [
"orbitdb",
"pinning",
"storage",
"database",
"replication",
"helia",
"libp2p"
],
"devDependencies": {
"c8": "^10.1.2",
"it-drain": "^3.0.7",
"mocha": "^10.8.2",
"os-browserify": "^0.3.0",
"path-browserify": "^1.0.1",
"playwright-test": "^14.1.7",
"rimraf": "^6.0.1",
"standard": "^17.1.2",
"stream-browserify": "^3.0.0",
"webpack": "^5.96.1",
"webpack-cli": "^5.1.4"
},
"scripts": {
"build:tests": "rm -f test/browser/bundle.js* && webpack --config ./conf/webpack.tests.config.js",
"test": "mocha -config ./test/.mocharc.json",
"test:ci": "c8 npm run test",
"lint": "standard",
"lint:fix": "standard --fix",
"copy:fixtures1": "rm -rf ./host1 && mkdir -p ./host1/voyager/host/keystore && cp -Rf test/fixtures/keystore1/** ./host1/voyager/host/keystore/",
"copy:fixtures2": "rm -rf ./host2 && mkdir -p ./host2/voyager/host/keystore && cp -Rf test/fixtures/keystore2/** ./host2/voyager/host/keystore/",
"start:relay": "node ./test/utils/relay.js",
"start:relay:background": "node ./test/utils/relay.js &",
"start:host1": "npm run copy:fixtures1 && node ./src/bin/cli.js daemon -p 54321 -w 55441 --allow --directory ./host1 -vv",
"start:host2": "npm run copy:fixtures2 && node ./src/bin/cli.js daemon -p 54322 -w 55442 --allow --directory ./host2 -vv",
"start:host1:background": "npm run copy:fixtures1 && node ./src/bin/cli.js daemon -p 54321 -w 55441 --allow --directory ./host1 &",
"start:host2:background": "npm run copy:fixtures2 && node ./src/bin/cli.js daemon -p 54322 -w 55442 --allow --directory ./host2 &",
"test:browser": "npm run build:tests && ./node_modules/.bin/playwright-test test/browser/bundle.js --runner mocha"
},
"standard": {
"env": [
"mocha"
]
},
"dependencies": {
"@chainsafe/libp2p-gossipsub": "^14.1.0",
"@libp2p/logger": "^5.1.4",
"@orbitdb/core": "^2.4.3",
"@orbitdb/set-db": "^1.1.1",
"blockstore-level": "^2.0.1",
"datastore-level": "^11.0.1",
"helia": "^5.1.1",
"it-all": "^3.0.6",
"it-pipe": "^3.0.1",
"libp2p": "^2.3.1",
"uint8arrays": "^5.1.0",
"yargs": "^17.7.2"
}
}