-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpackage.json
More file actions
73 lines (73 loc) · 2.29 KB
/
Copy pathpackage.json
File metadata and controls
73 lines (73 loc) · 2.29 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
{
"name": "@browser-network/database",
"version": "0.3.1",
"description": "A type of distributed database built on top of the distributed browser-network",
"main": "./dist/src/index.js",
"types": "./dist/src/index.d.ts",
"engines": {
"node": ">=22.15.0"
},
"files": [
"dist/**/*",
"umd/**/*"
],
"scripts": {
"test": "sh -c '(cd ../switchboard && npm run build >/dev/null && PORT=5678 node dist/index.js >/dev/null 2>&1) & switchboard=$!; trap \"kill $switchboard 2>/dev/null\" EXIT; sleep 1; ./node_modules/.bin/tap --ts --no-timeout --no-coverage test/*.ts'",
"clean": "shx rm -rf dist build umd; shx mkdir umd",
"compile:ts": "tsc",
"compile:pack": "rollup --config rollup.config.mjs",
"compile:pack:min": "echo 'Minified UMD output is produced by compile:pack'",
"build": "npm run clean; npm-run-all compile:**",
"build:watch": "nodemon -e ts,json -i dist -x 'npm run compile:ts && npm run compile:pack'",
"start:dev": "node serve.js & npm run build:watch",
"release": "npm run build && np --no-cleanup --no-tests --no-yarn --message=\"New release! Version: %s\""
},
"repository": {
"type": "git",
"url": "git@github.com:browser-network/database.git"
},
"publishConfig": {
"access": "public"
},
"author": "Aaron Sullivan (aasullivan1618@gmail.com)",
"homepage": "https://github.com/browser-network/database#readme",
"keywords": [
"distributed",
"browser",
"network",
"decentralized",
"peer",
"p2p",
"webrtc",
"crypto",
"cryptographic"
],
"license": "MIT",
"dependencies": {
"@browser-network/crypto": "file:../crypto",
"@browser-network/network": "file:../network"
},
"devDependencies": {
"@rollup/plugin-alias": "5.1.1",
"@rollup/plugin-commonjs": "28.0.9",
"@rollup/plugin-node-resolve": "16.0.3",
"@rollup/plugin-replace": "6.0.2",
"@rollup/plugin-terser": "0.4.4",
"@rollup/plugin-typescript": "12.3.0",
"@types/node": "^16",
"@types/tap": "^15.0.7",
"nodemon": "^2.0.15",
"np": "^7.6.0",
"npm-run-all": "^4.1.5",
"rollup": "4.52.5",
"shx": "^0.3.4",
"tap": "^16.1.0",
"tap-spec": "^5.0.0",
"ts-node": "^10.7.0",
"tslib": "2.8.1",
"typescript": "^4.4.4"
},
"overrides": {
"wrtc": "npm:@roamhq/wrtc@^0.9.1"
}
}