-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpackage.json
41 lines (41 loc) · 1.56 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
{
"name": "tobeit67",
"version": "0.0.0",
"private": true,
"workspaces": [
"apps/*",
"packages/*"
],
"scripts": {
"prebuild": "turbo run build",
"build": "npm i -g pnpm && pnpm config set auto-install-peers true && turbo run build",
"dev": "pnpm run update:env && pnpm run compose:dev && turbo run dev --parallel",
"dev:home": "turbo run dev --filter=home",
"dev:cms": "turbo run dev --filter=cms",
"dev:regis": "turbo run dev --filter=regis",
"compose:dev": "docker-compose -f docker-compose.dev.yml up -d",
"compose:prod": "docker-compose -f docker-compose.yml --env-file .env up -d --build",
"lint": "turbo run lint",
"format": "prettier --write \"**/*.{ts,tsx,md}\"",
"home:dev": "",
"presetup": "cp .env.example .env.template",
"setup": "pnpm i && pnpm run setup:env && pnpm run compose:prod && pnpm run db:migrate && pnpm run db:generate && pnpm run compose:prod",
"setup:env": "cp .env.template .env && pnpm run update:env",
"update:env": "cp .env apps/regis/.env && cp .env apps/cms/.env && cp .env apps/home/.env",
"db:migrate": "npx prisma migrate dev --schema apps/regis/prisma/schema.prisma",
"db:generate": "npx prisma generate --schema apps/regis/prisma/schema.prisma",
"db:migrate:deploy": "npx prisma migrate deploy --schema apps/regis/prisma/schema.prisma"
},
"devDependencies": {
"prettier": "latest",
"prisma": "4.4.0",
"turbo": "latest"
},
"engines": {
"node": ">=14.0.0"
},
"dependencies": {
"yarn": "^1.22.19"
},
"packageManager": "[email protected]"
}