forked from Rahuletto/ClassPro
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
41 lines (41 loc) · 1.52 KB
/
package.json
File metadata and controls
41 lines (41 loc) · 1.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
{
"name": "classpro-monorepo",
"version": "3.1.2",
"private": true,
"packageManager": "bun@1.1.38",
"workspaces": [
"frontend",
"backend"
],
"scripts": {
"dev": "bun run sync:env && concurrently \"bun run dev:frontend\" \"bun run dev:backend\"",
"dev:backend": "cd backend && go run src/main.go",
"dev:frontend": "cd frontend && bun run dev",
"sync:env": "copyfiles -E .env frontend && copyfiles -E .env backend",
"build": "bun run build:frontend && bun run build:backend",
"build:frontend": "cd frontend && bun run build",
"build:backend": "cd backend && go build -o bin/main src/main.go",
"start": "bun run start:frontend",
"start:frontend": "cd frontend && bun run start",
"start:backend": "node -e \"require('child_process').execSync(process.platform === 'win32' ? 'backend/bin/main.exe' : 'backend/bin/main', { stdio: 'inherit' })\"",
"lint": "cd frontend && bun run lint",
"install:all": "bun run install:frontend && bun run install:backend",
"install:frontend": "cd frontend && bun install",
"install:backend": "cd backend && go mod tidy",
"clean": "rimraf frontend/node_modules frontend/.next backend/bin",
"docker:build": "docker compose build",
"docker:up": "docker compose up",
"docker:down": "docker compose down"
},
"devDependencies": {
"@types/node": "^22.10.10",
"concurrently": "^8.2.2",
"copyfiles": "^2.4.1",
"rimraf": "^5.0.7"
},
"engines": {
"node": ">=18.0.0",
"bun": ">=1.1.0",
"go": ">=1.23.0"
}
}