-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
59 lines (59 loc) · 4.24 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
{
"name": "bunsogs",
"version": "1.0.0",
"module": "src/index.ts",
"type": "module",
"scripts": {
"dev": "BUNSOGS_DEV=true bun src/index.ts",
"start": "bun src/index.ts",
"build-sql-defs": "sql-ts -c sql-ts-conf.json",
"bunsogs-cli": "bun ./cli/bunsogs-cli.ts",
"compile": "rm -rf releases && bun run compile:darwin:arm && bun run compile:darwin:x64 && bun run compile:linux:arm && bun run compile:linux:x64 && bun run compile:windows && bun run compile:cli:darwin:arm && bun run compile:cli:darwin:x64 && bun run compile:cli:linux:arm && bun run compile:cli:linux:x64 && bun run compile:cli:windows && bun run pack",
"compile:darwin:arm": "bun build src/index.ts --compile --outfile=releases/darwin_arm/bunsogs/bunsogs --target=bun-darwin-arm64 --minify && cp sogs.conf LICENSE releases/darwin_arm/bunsogs/ && mkdir releases/darwin_arm/bunsogs/plugins releases/darwin_arm/bunsogs/uploads",
"compile:darwin:x64": "bun build src/index.ts --compile --outfile=releases/darwin_x64/bunsogs/bunsogs --target=bun-darwin-x64 --minify && cp sogs.conf LICENSE releases/darwin_x64/bunsogs/ && mkdir releases/darwin_x64/bunsogs/plugins releases/darwin_x64/bunsogs/uploads",
"compile:linux:arm": "bun build src/index.ts --compile --outfile=releases/linux_arm/bunsogs/bunsogs --target=bun-linux-arm64 --minify && cp sogs.conf LICENSE releases/linux_arm/bunsogs/ && mkdir releases/linux_arm/bunsogs/plugins releases/linux_arm/bunsogs/uploads",
"compile:linux:x64": "bun build src/index.ts --compile --outfile=releases/linux_x64/bunsogs/bunsogs --target=bun-linux-x64 --baseline --minify && cp sogs.conf LICENSE releases/linux_x64/bunsogs/ && mkdir releases/linux_x64/bunsogs/plugins releases/linux_x64/bunsogs/uploads",
"compile:windows": "bun build src/index.ts --compile --outfile=releases/windows_x64/bunsogs/bunsogs --target=bun-windows-x64 --minify && cp sogs.conf LICENSE releases/windows_x64/bunsogs/ && mkdir releases/windows_x64/bunsogs/plugins releases/windows_x64/bunsogs/uploads",
"compile:cli:darwin:arm": "bun build cli/bunsogs-cli.ts --compile --outfile=releases/darwin_arm/bunsogs/bunsogs-cli --target=bun-darwin-arm64 --minify",
"compile:cli:darwin:x64": "bun build cli/bunsogs-cli.ts --compile --outfile=releases/darwin_x64/bunsogs/bunsogs-cli --target=bun-darwin-x64 --minify",
"compile:cli:linux:arm": "bun build cli/bunsogs-cli.ts --compile --outfile=releases/linux_arm/bunsogs/bunsogs-cli --target=bun-linux-arm64 --minify",
"compile:cli:linux:x64": "bun build cli/bunsogs-cli.ts --compile --outfile=releases/linux_x64/bunsogs/bunsogs-cli --target=bun-linux-x64 --minify",
"compile:cli:windows": "bun build cli/bunsogs-cli.ts --compile --outfile=releases/windows_x64/bunsogs/bunsogs-cli --target=bun-windows-x64 --minify",
"pack": "cd releases/darwin_arm/ && zip -r ../macos_arm_m1_silicon.zip bunsogs && cd ../../ && cd releases/darwin_x64/ && zip -r ../macos_x64_intel.zip bunsogs && cd ../../ && cd releases/linux_arm/ && zip -r ../linux_arm.zip bunsogs && cd ../../ && cd releases/linux_x64/ && zip -r ../linux_x64.zip bunsogs && cd ../../ && cd releases/windows_x64/ && zip -r ../windows_x64.zip bunsogs && cd ../../",
"compile:dev": "rm releases/darwin_arm/bunsogs/bunsogs && bun build src/index.ts --compile --outfile=releases/darwin_arm/bunsogs/bunsogs --target=bun-darwin-arm64 --minify --sourcemap"
},
"workspaces": [
"cli/*"
],
"devDependencies": {
"@rmp135/sql-ts": "^2.1.0",
"@types/bun": "^1.1.1",
"@types/libsodium-wrappers-sumo": "^0.7.8",
"@types/lodash": "^4.17.1",
"@types/uuid": "^10.0.0",
"@typescript-eslint/eslint-plugin": "^5.38.0",
"@typescript-eslint/parser": "^5.38.0",
"eslint": "^8.8.0"
},
"peerDependencies": {
"typescript": "^5.0.0"
},
"dependencies": {
"@session.js/blinded-session-id": "1.0.1",
"@session.js/types": "^1.0.9",
"@types/libsodium-wrappers": "^0.7.14",
"@types/prompts": "^2.4.9",
"bencode": "^4.0.0",
"bun-sqlite-migrations": "^1.0.2",
"chalk": "^5.3.0",
"glob": "^11.0.0",
"libsodium-wrappers": "^0.7.13",
"libsodium-wrappers-sumo": "^0.7.13",
"lodash": "^4.17.21",
"path-to-regexp": "^7.1.0",
"secure-json-parse": "^2.7.0",
"tweetnacl": "^1.0.3",
"uuid": "^10.0.0",
"zod": "^3.23.8"
}
}