-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
48 lines (48 loc) · 2.35 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
{
"name": "ChatWorkstation-app",
"version": "1.0.0",
"description": "Opensource AI Chat software, your offline AI assistant ChatWorkstation <ChatWorkstation>.",
"main": "src/main.js",
"scripts": {
"start": "electron ./src/main.js",
"postinstall": "cd third_party/open_webui && yarn",
"ui:build": "cd third_party/open_webui && npm run build",
"ui:copy": "cross-env VIRTUAL_ENV=.venv && %VIRTUAL_ENV%\\Scripts\\python .\\build_tools\\file_copy.py .\\third_party\\open_webui\\build\\ .\\dist\\ChatWorkstation\\build && %VIRTUAL_ENV%\\Scripts\\python .\\build_tools\\file_copy.py .\\third_party\\open_webui\\static\\ .\\dist\\ChatWorkstation\\_internal\\static",
"backend:build": "cross-env VIRTUAL_ENV=.venv && %VIRTUAL_ENV%\\Scripts\\pyinstaller start.spec && %VIRTUAL_ENV%\\Scripts\\python .\\build_tools\\file_copy.py .\\.env .\\dist\\ChatWorkstation\\",
"backend:test": "cross-env VIRTUAL_ENV=.venv && %VIRTUAL_ENV%\\Scripts\\python start.py",
"backend:run": "cross-env-shell dist/ChatWorkstation/Backend",
"backend:addtional-files-comsile": "cross-env VIRTUAL_ENV=.venv && cross-env CPOYSCRIPT=%VIRTUAL_ENV%\\Scripts\\python build_tools\\files_compile_copy.py && %CPOYSCRIPT% .\\third_party\\open_webui\\backend\\apps\\webui\\internal .\\dist\\ChatWorkstation\\_internal\\apps\\webui\\internal\\ && %CPOYSCRIPT% .\\third_party\\open_webui\\backend\\static\\fonts .\\dist\\ChatWorkstation\\_internal\\static\\fonts",
"pyodide:fetch": "cd third_party/open_webui && node scripts/prepare-pyodide.js",
"backend:compilelibs": "cross-env VIRTUAL_ENV=.venv && %VIRTUAL_ENV%\\Scripts\\python build_tools/lib_compiler.py && %VIRTUAL_ENV%\\Scripts\\python build_tools/lib_copy.py"
},
"keywords": [
"ChatGPT",
"Assistant",
"Offline",
"AI",
"Model",
"Chat"
],
"author": "Travis Tang",
"license": "ISC",
"devDependencies": {
"copyfiles": "^2.4.1",
"cpx": "^1.5.0",
"cross-env": "^7.0.3",
"cross-env-shell": "^7.0.3",
"electron": "^31.3.0"
},
"dependencies": {
"@electron/remote": "^2.1.2",
"@radix-ui/themes": "^3.1.1",
"axios": "^1.7.2",
"electron-is-dev": "^3.0.1",
"fs": "^0.0.1-security",
"node-polyfill-webpack-plugin": "^4.0.0",
"path-browserify": "^1.0.1",
"pyodide": "^0.26.1",
"react-app-rewired": "^2.2.1",
"tree-kill": "^1.2.2",
"vite": "^5.3.3"
}
}