-
Notifications
You must be signed in to change notification settings - Fork 24
/
package.json
55 lines (55 loc) · 2.54 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
{
"name": "repromodel",
"private": true,
"version": "0.0.0",
"type": "module",
"scripts": {
"dev": "vite --host",
"build": "vite build",
"lint": "eslint . --ext js,jsx --report-unused-disable-directives --max-warnings 0",
"preview": "vite preview",
"check-venv": "if [ ! -d \".venv\" ]; then python3 -m venv .venv; fi",
"check-venv-windows": "if not exist .venv\\ (python3 -m venv .venv)",
"install-deps": "npm install && ./.venv/bin/pip3 install -r repromodel_core/requirements.txt",
"install-deps-windows": "npm install && .\\.venv\\Scripts\\pip3 install -r repromodel_core\\requirements.txt",
"generate-choices": "./.venv/bin/python3 repromodel_core/generate_choices.py",
"generate-choices-windows": ".\\.venv\\Scripts\\python3 repromodel_core\\generate_choices.py",
"repromodel": "mkdir -p repromodel_core/logs && npm run check-venv && npm run install-deps && npm run generate-choices && concurrently --raw \"npm run dev-frontend\" \"npm run dev-backend\" 2>&1 | ./.venv/bin/python3 -u log_with_timestamp.py",
"repromodel-windows": "if not exist repromodel_core\\logs mkdir repromodel_core\\logs && npm run check-venv-windows && npm run install-deps-windows && npm run generate-choices-windows && concurrently --raw \"npm run dev-frontend\" \"npm run dev-backend-windows\" 2>&1 | .\\.venv\\Scripts\\python3 -u log_with_timestamp.py",
"dev-frontend": "npm run dev",
"dev-backend": "bash -c '. ./.venv/bin/activate && python3 repromodel_core/app.py'",
"dev-backend-windows": ".\\.venv\\Scripts\\activate && python3 repromodel_core\\app.py",
"repromodel-with-llm": "concurrently --raw \"ollama run llama3\" \"npm run repromodel\"",
"llm": "ollama run llama3"
},
"dependencies": {
"@emotion/react": "^11.11.4",
"@emotion/styled": "^11.11.5",
"@mui/icons-material": "^5.15.19",
"@mui/material": "^5.15.16",
"axios": "^1.6.8",
"concurrently": "^8.2.2",
"dedent": "^1.5.3",
"formik": "^2.4.6",
"ldrs": "^1.0.2",
"next": "^14.2.9",
"prismjs": "^1.29.0",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react-dropzone": "^14.2.3",
"react-select": "^5.8.0",
"react-simple-code-editor": "^0.13.1"
},
"devDependencies": {
"@types/react": "^18.2.66",
"@types/react-dom": "^18.2.22",
"@vitejs/plugin-react": "^4.2.1",
"concurrently": "^8.2.2",
"eslint": "^8.57.0",
"eslint-plugin-react": "^7.34.1",
"eslint-plugin-react-hooks": "^4.6.0",
"eslint-plugin-react-refresh": "^0.4.6",
"vite": "^5.2.0",
"wait-on": "^7.2.0"
}
}