-
-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathpackage.json
More file actions
138 lines (138 loc) · 3.85 KB
/
Copy pathpackage.json
File metadata and controls
138 lines (138 loc) · 3.85 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
128
129
130
131
132
133
134
135
136
137
138
{
"name": "polaris",
"version": "0.9.7",
"description": "Ainara Polaris - Ainara AI Companion Framework Desktop Integration",
"main": "polaris/main.js",
"author": {
"name": "Rubén Gómez",
"email": "rgomez@khromalabs.org",
"url": "https://khromalabs.org"
},
"license": "LGPL-3.0-or-later",
"repository": "github:khromalabs/ainara",
"bugs": "https://github.com/khromalabs/ainara/issues",
"dependencies": {
"@ricky0123/vad-web": "^0.0.22",
"dompurify": "^3.3.0",
"electron-updater": "^6.6.2",
"eventsource-client": "^1.1.3",
"ffmpeg-static": "^5.2.0",
"fluent-ffmpeg": "^2.1.3",
"lightweight-charts": "^5.0.8",
"marked": "^16.4.1",
"net": "^1.0.2",
"node-fetch": "^2.7.0",
"node-notifier": "^10.0.1",
"ollama": "^0.5.15",
"semver": "^7.7.1",
"tablesort": "^5.6.0"
},
"devDependencies": {
"@eove/eslint-config-electron": "^2.0.1",
"@eslint/js": "^9.20.0",
"electron": "^34.0.2",
"electron-builder": "^26.0.12",
"eslint": "^9.20.1",
"eslint-config-prettier": "^10.0.1",
"eslint-formatter-compact": "^8.40.0",
"globals": "^16.0.0"
},
"scripts": {
"start": "electron .",
"build": "electron-builder build",
"build:win": "electron-builder build --win nsis --publish always",
"build:win:appx": "electron-builder build --win appx --publish always",
"build:mac:x64": "electron-builder build --mac --x64 --publish always",
"build:mac:arm64": "electron-builder build --mac --arm64 --publish always",
"build:linux": "electron-builder build --linux --publish always"
},
"build": {
"appId": "app.ainara.polaris",
"publish": [
{
"provider": "github",
"owner": "khromalabs",
"repo": "ainara"
}
],
"productName": "Ainara Polaris",
"directories": {
"output": "dist",
"buildResources": "polaris/resources"
},
"files": [
"polaris/**/*",
"package.json"
],
"mac": {
"target": [
{
"target": "dmg"
}
],
"artifactName": "${productName}-${version}-${arch}.${ext}",
"icon": "polaris/resources/icon.icns",
"category": "public.app-category.productivity",
"identity": "-",
"entitlements": "entitlements.mac.plist",
"entitlementsInherit": "entitlements.mac.plist",
"hardenedRuntime": true,
"gatekeeperAssess": false,
"extendInfo": {
"NSMicrophoneUsageDescription": "This app needs access to your microphone to enable voice commands and interaction."
},
"extraResources": [
{
"from": "dist/servers",
"to": "bin/servers",
"filter": [
"**/*",
"!**/_internal/resources/bin/windows/**",
"!**/_internal/resources/bin/linux/**"
]
}
]
},
"win": {
"target": [
"nsis",
"appx"
],
"icon": "polaris/resources/icon.ico",
"extraResources": [
{
"from": "dist/servers",
"to": "bin/servers",
"filter": [
"**/*",
"!**/_internal/resources/bin/macos/**",
"!**/_internal/resources/bin/linux/**"
]
}
]
},
"appx": {
"identityName": "Khromalabs.AinaraPolaris",
"publisherDisplayName": "Khromalabs",
"publisher": "CN=81427736-62D6-46C2-8466-EA597C0FFB41",
"backgroundColor": "#464646",
"customManifestPath": "polaris/resources/appxmanifest.xml"
},
"linux": {
"target": "AppImage",
"icon": "polaris/assets/icon.png",
"category": "Utility",
"extraResources": [
{
"from": "dist/servers",
"to": "bin/servers",
"filter": [
"**/*",
"!**/_internal/resources/bin/windows/**",
"!**/_internal/resources/bin/macos/**"
]
}
]
}
}
}