-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
38 lines (38 loc) · 1.51 KB
/
Copy pathpackage.json
File metadata and controls
38 lines (38 loc) · 1.51 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
{
"name": "study-buddy",
"version": "1.0.0",
"private": true,
"main": "electron/main.js",
"workspaces": [
"frontend"
],
"scripts": {
"postinstall": "uv sync --directory backend",
"setup": "npm install",
"setup:node": "npm install --ignore-scripts",
"setup:backend": "uv sync --directory backend",
"setup:tts": "uv run --directory backend python -m app.benchmarks.tts_asset_setup --yes",
"dev": "concurrently -n frontend,backend -c cyan,yellow \"npm run dev --workspace frontend\" \"uv run --directory backend uvicorn app.main:app --reload --host 127.0.0.1 --port 8765 --ws-max-size 67108864\"",
"dev:docker": "concurrently -n frontend,backend -c cyan,yellow \"npm run dev --workspace frontend -- --host 0.0.0.0\" \"uv run --directory backend uvicorn app.main:app --reload --host 0.0.0.0 --port 8765 --ws-max-size 67108864\"",
"dev:electron": "concurrently \"npm run dev --workspace frontend\" \"cross-env NODE_ENV=development electron .\"",
"build": "npm run build --workspace frontend && electron-forge make",
"build:frontend": "npm run build --workspace frontend",
"test:frontend": "npm run test --workspace frontend -- --run",
"test:backend": "uv run --directory backend pytest tests/ -v"
},
"config": {
"forge": {
"packagerConfig": {
"extraResource": [
"assets"
]
}
}
},
"devDependencies": {
"@electron-forge/cli": "^7.4.0",
"concurrently": "^8.2.0",
"cross-env": "^7.0.3",
"electron": "^31.0.0"
}
}