-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathpackage.json
More file actions
127 lines (127 loc) · 3.77 KB
/
Copy pathpackage.json
File metadata and controls
127 lines (127 loc) · 3.77 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
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
{
"name": "web-dc-api",
"version": "0.2.89",
"description": "一个革命性的去中心化 Web 开发 SDK,让您无需任何服务器即可构建完整的互联网应用",
"type": "module",
"sideEffects": false,
"main": "dist/cjs/index.cjs",
"module": "dist/esm/index.js",
"types": "dist/index.d.ts",
"exports": {
".": {
"types": "./dist/index.d.ts",
"import": "./dist/esm/index.js",
"require": "./dist/cjs/index.cjs"
},
"./sw.js": "./dist/sw.js",
"./package.json": "./package.json"
},
"repository": {
"type": "git",
"url": "git+https://github.com/dcnetio/web-dc-api.git"
},
"homepage": "https://github.com/dcnetio/web-dc-api#readme",
"files": [
"dist"
],
"scripts": {
"build:w": "npx rollup -c -w",
"build": "NODE_ENV=production npx rollup -c",
"build:analyze": "npx rollup -c && npx webpack-bundle-analyzer dist/esm/chunks/*.js",
"gen:dcnet-proto": "bash scripts/generate-dcnet-proto.sh",
"check:proto-sync": "bash scripts/check-proto-sync.sh",
"fix:pb": "node scripts/fix-pb.cjs",
"test": "echo \"Error: no test specified\" && exit 1",
"dev": "nodemon --watch lib --ext ts,tsx,js,jsx,json --ignore 'src/**/*.test.ts' --exec 'npx yalc publish --push'"
},
"author": "",
"license": "ISC",
"keywords": [],
"dependencies": {
"@dingrtc/rtm": "^1.1.14",
"@dingrtc/whiteboard": "^1.1.16",
"@helia/block-brokers": "^5.0.0",
"@helia/dag-cbor": "^5.0.0",
"@helia/interface": "^6.0.0",
"@helia/unixfs": "^7.0.0",
"@ipld/dag-cbor": "^9.2.2",
"@ipld/dag-pb": "^4.1.5",
"@libp2p/crypto": "5.1.17",
"@libp2p/interface": "^3.1.0",
"@libp2p/interface-keys": "^1.0.8",
"@libp2p/kad-dht": "16.2.6",
"@libp2p/peer-id": "6.0.8",
"@multiformats/multiaddr": "13.0.1",
"@noble/curves": "^1.6.0",
"@noble/hashes": "^2.0.1",
"@polkadot/api": "11.0.3",
"@scure/bip32": "^1.5.0",
"@scure/bip39": "^1.4.0",
"@stablelib/random": "^2.0.0",
"@textile/threads-id": "^0.6.1",
"ajv": "^8.18.0",
"async-mutex": "^0.5.0",
"blockstore-idb": "^3.0.1",
"canvg": "^4.0.3",
"comlink": "^4.4.2",
"datastore-idb": "^4.0.1",
"dingrtc": "^3.9.31",
"dompurify": "^3.4.0",
"grpc-libp2p-client": "^0.0.52",
"helia": "^6.0.0",
"html2canvas": "^1.4.1",
"jose": "^6.0.8",
"jwt-decode": "^4.0.0",
"libp2p": "^3.1.7",
"lru-cache": "^11.1.0",
"multiformats": "^13.3.2",
"protobufjs": "^7.5.0",
"tweetnacl": "^1.0.3",
"uint8arrays": "^5.1.0",
"ulid": "^2.3.0",
"vite-plugin-node-polyfills": "^0.26.0"
},
"directories": {
"lib": "lib",
"test": "test"
},
"overrides": {
"@libp2p/crypto": "5.1.17",
"@multiformats/multiaddr": "13.0.1",
"@libp2p/record": "4.0.12"
},
"devDependencies": {
"@babel/core": "^7.27.4",
"@babel/parser": "^7.28.4",
"@babel/preset-env": "^7.27.2",
"@babel/traverse": "^7.28.4",
"@babel/types": "^7.28.4",
"@rollup/plugin-babel": "^6.0.4",
"@rollup/plugin-commonjs": "^28.0.6",
"@rollup/plugin-inject": "^5.0.5",
"@rollup/plugin-json": "^6.1.0",
"@rollup/plugin-node-resolve": "^16.0.1",
"@rollup/plugin-replace": "^6.0.2",
"@rollup/plugin-terser": "^1.0.0",
"@rollup/plugin-typescript": "^12.1.2",
"@types/jsbn": "^1.2.33",
"buffer": "^6.0.3",
"cbor-x": "^1.6.0",
"core-js": "^3.43.0",
"crypto-js": "^4.2.0",
"ethers": "^6.14.1",
"lodash": "^4.17.23",
"mp4box": "^0.5.4",
"nodemon": "^3.1.9",
"process": "^0.11.10",
"rollup": "^4.60.0",
"rollup-plugin-dts": "^6.4.1",
"typescript": "^6.0.3",
"vite": "^7.1.2",
"vite-plugin-dts": "^4.5.4",
"webpack-bundle-analyzer": "^4.10.2"
},
"bugs": {
"url": "https://github.com/dcnetio/web-dc-api/issues"
}
}