-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtaskfile.yaml
More file actions
125 lines (99 loc) · 2.79 KB
/
taskfile.yaml
File metadata and controls
125 lines (99 loc) · 2.79 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
version: '3'
tasks:
frontend:install:
desc: "Install frontend dependencies"
cmds:
- cd frontend && npm install
backend:install:
desc: "Install backend dependencies"
cmds:
- cd backend && npm install
frontend:format-check:
desc: "Check frontend code formatting"
cmds:
- cd frontend && npm run format:check
backend:format-check:
desc: "Check backend code formatting"
cmds:
- cd backend && npm run format:check
backend:test:
desc: "Run backend tests"
cmds:
- cd backend && npm run test
frontend:start:
desc: "Start the frontend development server"
cmds:
- cd frontend && npm run start
frontend:start:tunnel:
desc: "Start the frontend development server"
cmds:
- cd frontend && npm run start:tunnel
frontend:android:
desc: "Start the frontend development server for Android"
cmds:
- cd frontend && npm run android
frontend:ios:
desc: "Start the frontend development server for iOS"
cmds:
- cd frontend && npm run ios
frontend:web:
desc: "Start the frontend development server for Web"
cmds:
- cd frontend && npm run web
frontend:format:
desc: "Format frontend code"
cmds:
- cd frontend && npm run format
frontend:format-check:
desc: "Check frontend code formatting"
cmds:
- cd frontend && npm run format:check
backend:start:
desc: "Start the backend server"
cmds:
- cd backend && npm run start
backend:dev:
desc: "Start the backend server in development mode"
cmds:
- cd backend && npm run dev
backend:test:
desc: "Run backend tests"
cmds:
- cd backend && npm run test
backend:build:
desc: "Build the backend"
cmds:
- cd backend && npm run build
backend:format:
desc: "Format backend code"
cmds:
- cd backend && npm run format
backend:format-check:
desc: "Check backend code formatting"
cmds:
- cd backend && npm run format:check
mongo:start:
desc: "Start MongoDB with Nodemon"
cmds:
- cd backend && nodemon --exec 'mongodb-memory-server'
format:
desc: "Format both frontend and backend code"
deps: [frontend:format, backend:format]
format-check:
desc: "Check formatting for both frontend and backend"
deps: [frontend:format-check, backend:format-check]
build:
desc: "Build the backend"
deps: [backend:build]
start:
desc: "Start both frontend and backend servers"
deps: [frontend:start, backend:start]
start:tunnel:
desc: "Start both frontend and backend servers"
deps: [frontend:start:tunnel, backend:start]
install:
desc: "Install frontend and backend dependencies"
deps: [frontend:install, backend:install]
test:
desc: "Run backend tests"
deps: [backend:test]