Repository navigation
Expand file tree
/
Copy pathpackage.json
More file actions
40 lines (40 loc) · 1.49 KB
/
Copy pathpackage.json
File metadata and controls
40 lines (40 loc) · 1.49 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
{
"name": "tinystudy",
"version": "1.0.0",
"private": true,
"description": "TinyStudy - a lightweight, reward-driven learning card SaaS",
"type": "module",
"workspaces": [
"apps/*"
],
"scripts": {
"dev": "concurrently --kill-others-on-fail -n API,WEB -c green,cyan \"npm run dev -w @tinystudy/api\" \"npm run dev -w @tinystudy/web\"",
"dev:api": "npm run dev -w @tinystudy/api",
"dev:web": "npm run dev -w @tinystudy/web",
"build": "npm run build -w @tinystudy/web && npm run build -w @tinystudy/api",
"start": "npm run start -w @tinystudy/api",
"setup": "node scripts/setup.mjs",
"seed": "npm run prisma:seed -w @tinystudy/api",
"db:generate": "node scripts/db-command.mjs generate",
"db:push": "node scripts/db-command.mjs db push",
"db:migrate": "node scripts/db-command.mjs migrate deploy",
"lint": "npm run lint -w @tinystudy/web && npm run lint -w @tinystudy/api",
"typecheck": "npm run typecheck -w @tinystudy/web && npm run typecheck -w @tinystudy/api",
"test": "npm run test -w @tinystudy/web && npm run test -w @tinystudy/api",
"pm2:start": "pm2 start ecosystem.config.cjs --env production",
"pm2:restart": "pm2 restart tinystudy-api --update-env",
"clean": "node scripts/clean.mjs"
},
"devDependencies": {
"concurrently": "^9.2.0",
"dotenv": "^17.2.0",
"pm2": "^6.0.8",
"prompts": "^2.4.2",
"prisma": "^6.13.0",
"tsx": "^4.20.3",
"typescript": "^5.8.3"
},
"engines": {
"node": ">=22"
}
}