Repository navigation
Expand file tree
/
Copy pathpackage.json
More file actions
104 lines (104 loc) · 3.11 KB
/
Copy pathpackage.json
File metadata and controls
104 lines (104 loc) · 3.11 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
{
"name": "bastion",
"productName": "Bastion",
"version": "0.1.0",
"description": "Close your router's backdoors, see where your traffic goes, speed up your Wi-Fi, and let AI agents watch your network.",
"main": "electron/main.js",
"author": "Bastion contributors",
"license": "MIT",
"private": true,
"scripts": {
"start": "electron .",
"dev": "electron . --dev",
"preview": "node scripts/preview-server.js",
"check": "node scripts/check.js",
"engine:smoke": "node scripts/engine-smoke.js",
"dist": "electron-builder",
"dist:win": "electron-builder --win",
"dist:mac": "electron-builder --mac",
"icon": "electron scripts/make-icon.js"
},
"dependencies": {
"@anthropic-ai/sdk": "^1.3.0",
"@fontsource-variable/bricolage-grotesque": "^5.3.0",
"@fontsource/barlow": "^5.3.0",
"@fontsource/barlow-semi-condensed": "^5.3.0",
"@fontsource/jetbrains-mono": "^5.3.0",
"@fontsource/plus-jakarta-sans": "^5.3.0",
"@huggingface/transformers": "4.3.1",
"openai": "^7.45.1",
"three": "^0.187.0"
},
"devDependencies": {
"electron": "^45.1.0",
"electron-builder": "^26.18.0"
},
"build": {
"appId": "app.bastion.desktop",
"productName": "Bastion",
"directories": {
"output": "dist"
},
"files": [
"electron/**",
"engine/**",
"agents/**",
"renderer/**",
"package.json",
{
"from": "node_modules/three/examples/jsm",
"to": "node_modules/three/examples/jsm",
"filter": [
"**/*"
]
},
"!node_modules/onnxruntime-node/**",
"!node_modules/sharp/**",
"!node_modules/@img/**",
"!node_modules/onnxruntime-web/dist/!(ort-wasm-simd-threaded.asyncify.*)",
"!node_modules/@huggingface/transformers/src/**",
"!node_modules/@huggingface/transformers/dist/!(transformers.min.js)"
],
"artifactName": "${productName}-${os}-${arch}.${ext}",
"win": {
"target": [
{
"target": "nsis",
"arch": [
"x64",
"arm64"
]
}
],
"icon": "build/icon.png"
},
"nsis": {
"oneClick": false,
"allowToChangeInstallationDirectory": true,
"perMachine": false,
"buildUniversalInstaller": false,
"artifactName": "${productName}-setup-${arch}.${ext}"
},
"mac": {
"target": [
{
"target": "dmg",
"arch": [
"arm64",
"x64"
]
}
],
"category": "public.app-category.utilities",
"icon": "build/icon.png",
"identity": "-",
"artifactName": "${productName}-mac-${arch}.${ext}",
"extendInfo": {
"NSLocationUsageDescription": "Bastion reads your Wi-Fi network name and channel, which macOS treats as location data.",
"NSLocationWhenInUseUsageDescription": "Bastion reads your Wi-Fi network name and channel, which macOS treats as location data.",
"NSMicrophoneUsageDescription": "Bastion listens only while you hold the mic button, and turns your speech into text on this computer."
}
},
"npmRebuild": false
}
}