-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
60 lines (60 loc) · 2.52 KB
/
package.json
File metadata and controls
60 lines (60 loc) · 2.52 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
{
"name": "timetable_manager_backend",
"module": "src/index.ts",
"type": "module",
"scripts": {
"start": "if command -v pm2 &> /dev/null; then (pm2 describe backend-dist > /dev/null && pm2 restart backend-dist) || pm2 start bun --name backend-dist -- run start:backend; (pm2 describe frontend-dist > /dev/null && pm2 restart frontend-dist) || pm2 start bun --name frontend-dist -- run start:frontend; else bun add -g pm2 && bun run dev; fi",
"start:frontend": "bunx --bun vite",
"start:backend": "bun run src/backend/index.ts",
"dev": "if command -v pm2 &> /dev/null; then (pm2 describe backend > /dev/null && pm2 restart backend) || pm2 start bun --name backend -- run dev:backend; (pm2 describe frontend > /dev/null && pm2 restart frontend) || pm2 start bun --name frontend -- run dev:frontend; else bun add -g pm2 && bun run dev; fi",
"stop": "if command -v pm2 &> /dev/null; then pm2 stop backend & pm2 stop frontend & pm2 stop backend-dist & pm2 stop frontend-dist; fi",
"dev:frontend": "bunx --bun vite",
"dev:backend": "bun run --hot src/backend/index.ts",
"build": "bun lint && tsc && vite build",
"lint": "eslint . --ext ts,tsx --report-unused-disable-directives --max-warnings 100",
"preview": "vite preview",
"test": "echo Tests Passed!"
},
"peerDependencies": {
"typescript": "^5.0.0"
},
"dependencies": {
"@elysiajs/cors": "latest",
"@elysiajs/eden": "^1.0.11",
"@elysiajs/swagger": "^1.0.3",
"@emotion/react": "^11.11.4",
"@emotion/styled": "^11.11.0",
"@fontsource/roboto": "^5.0.12",
"@mui/icons-material": "^5.15.14",
"@mui/material": "^5.15.14",
"@types/papaparse": "^5.3.14",
"elysia": "latest",
"mysql2": "^3.9.0",
"papaparse": "^5.4.1",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react-router-dom": "^6.22.3",
"react-to-print": "^2.15.1",
"sequelize": "^6.37.1",
"uniqolor": "^1.1.1",
"upload-js": "^2.24.3",
"use-immer": "^0.9.0"
},
"devDependencies": {
"@types/randomcolor": "^0.5.9",
"@types/react": "^18.2.43",
"@types/react-dom": "^18.2.17",
"@typescript-eslint/eslint-plugin": "^7.3.1",
"@typescript-eslint/parser": "^7.3.1",
"@vitejs/plugin-react-swc": "^3.5.0",
"bun-types": "latest",
"eslint": "^8.55.0",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-prettier": "^5.1.3",
"eslint-plugin-react": "^7.34.1",
"eslint-plugin-react-hooks": "^4.6.0",
"eslint-plugin-react-refresh": "^0.4.5",
"typescript": "^5.2.2",
"vite": "^5.0.8"
}
}