-
Notifications
You must be signed in to change notification settings - Fork 12
Expand file tree
/
Copy pathpackage.json
More file actions
43 lines (43 loc) · 1.68 KB
/
package.json
File metadata and controls
43 lines (43 loc) · 1.68 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
{
"name": "whatsapp-rust-bridge",
"version": "0.5.3",
"description": "A high-performance utilities for WhatsApp, powered by Rust and WebAssembly.",
"author": "João Lucas <jlucaso@hotmail.com>",
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/jlucaso1/whatsapp-rust-bridge.git"
},
"type": "module",
"files": [
"dist/**/*",
"pkg/whatsapp_rust_bridge.d.ts"
],
"exports": {
".": {
"import": "./dist/index.js",
"types": "./dist/index.d.ts"
}
},
"scripts": {
"bench": "bun run build && bun run benches/binary.ts && bun run benches/signal.ts && bun run benches/curve.ts && bun run benches/crypto.ts",
"bench:node": "bun run build && node --expose-gc benches/binary.ts && node --expose-gc benches/signal.ts && node --expose-gc benches/curve.ts && node --expose-gc benches/crypto.ts",
"build:wasm": "wasm-pack build --target web --out-dir pkg --no-pack",
"build:ts": "bun build ts/index.ts --outfile dist/index.js",
"postbuild": "tsc -p tsconfig.json --outDir dist && rm -f dist/macro.d.ts",
"build": "bun run build:wasm && bun run build:ts && bun run postbuild",
"prepublishOnly": "bun run build"
},
"devDependencies": {
"@mitata/counters": "^0.0.8",
"@types/bun": "^1.3.2",
"@types/node": "^24.10.1",
"@whiskeysockets/libsignal-node": "git+https://github.com/whiskeysockets/libsignal-node",
"audio-decode": "^2.1.3",
"baileys": "^7.0.0-rc.9",
"mitata": "^1.0.34",
"sharp": "^0.34.5",
"typescript": "^5.9.3"
},
"private": false
}