-
-
Notifications
You must be signed in to change notification settings - Fork 4.2k
Expand file tree
/
Copy pathpackage.json
More file actions
154 lines (154 loc) · 5.86 KB
/
package.json
File metadata and controls
154 lines (154 loc) · 5.86 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
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
{
"name": "@repo/root",
"version": "0.0.0",
"packageManager": "bun@1.3.9",
"private": true,
"type": "module",
"engines": {
"bun": ">=1.3.0"
},
"workspaces": [
"apps/*",
"db",
"packages/*",
"scripts"
],
"scripts": {
"dev": "bun --filter @repo/web --filter @repo/api --filter @repo/app dev",
"lint": "eslint --cache --report-unused-disable-directives .",
"test": "vitest",
"typecheck": "tsc --build",
"build:types": "tsc --build",
"build": "bun --filter @repo/email --filter @repo/web --filter @repo/api --filter @repo/app build",
"generate:types": "bun wrangler types --config apps/api/wrangler.jsonc --include-runtime=false apps/api/types/cloudflare-env.d.ts && bun prettier --write apps/api/types/*-env.d.ts",
"prepare": "husky",
"docs:dev": "vitepress dev docs",
"docs:build": "vitepress build docs",
"docs:preview": "vitepress preview docs",
"docs:deploy": "gh-pages --dist docs/.vitepress/dist",
"app:dev": "bun --cwd apps/app dev",
"app:build": "bun --cwd apps/app build",
"app:test": "bun --cwd apps/app test",
"app:deploy": "bun --cwd apps/app deploy",
"web:dev": "bun --cwd apps/web dev",
"web:build": "bun --cwd apps/web build",
"web:test": "bun --cwd apps/web test",
"web:deploy": "bun --cwd apps/web deploy",
"api:dev": "bun --cwd apps/api dev",
"api:build": "bun --cwd apps/api build",
"api:build:docker": "docker build --tag api:latest -f ./apps/api/Dockerfile .",
"api:test": "bun --cwd apps/api test",
"api:deploy": "bun --cwd apps/api deploy",
"ui:add": "bun --cwd packages/ui add",
"ui:list": "bun --cwd packages/ui list",
"ui:update": "bun --cwd packages/ui update",
"ui:essentials": "bun --cwd packages/ui essentials",
"email:dev": "bun --cwd apps/email dev",
"email:build": "bun --cwd apps/email build",
"email:export": "bun --cwd apps/email export",
"db:generate": "bun --cwd db generate",
"db:generate:staging": "bun --cwd db generate:staging",
"db:generate:prod": "bun --cwd db generate:prod",
"db:migrate": "bun --cwd db migrate",
"db:migrate:staging": "bun --cwd db migrate:staging",
"db:migrate:prod": "bun --cwd db migrate:prod",
"db:push": "bun --cwd db push",
"db:push:staging": "bun --cwd db push:staging",
"db:push:prod": "bun --cwd db push:prod",
"db:studio": "bun --cwd db studio",
"db:studio:staging": "bun --cwd db studio:staging",
"db:studio:prod": "bun --cwd db studio:prod",
"db:seed": "bun --cwd db seed",
"db:seed:staging": "bun --cwd db seed:staging",
"db:seed:prod": "bun --cwd db seed:prod",
"db:export": "bun --cwd db export",
"db:export:staging": "bun --cwd db export:staging",
"db:export:prod": "bun --cwd db export:prod",
"db:check": "bun --cwd db check",
"db:typecheck": "bun --cwd db typecheck",
"infra:dev": "bun run infra:dev:edge:apply",
"infra:dev:edge:plan": "terraform -chdir=infra/envs/dev/edge plan",
"infra:dev:edge:apply": "terraform -chdir=infra/envs/dev/edge apply -auto-approve",
"infra:dev:edge:destroy": "terraform -chdir=infra/envs/dev/edge destroy -auto-approve",
"infra:preview": "bun run infra:preview:edge:apply",
"infra:preview:edge:plan": "terraform -chdir=infra/envs/preview/edge plan",
"infra:preview:edge:apply": "terraform -chdir=infra/envs/preview/edge apply -auto-approve",
"infra:preview:edge:destroy": "terraform -chdir=infra/envs/preview/edge destroy -auto-approve",
"infra:staging": "bun run infra:staging:edge:apply",
"infra:staging:edge:plan": "terraform -chdir=infra/envs/staging/edge plan",
"infra:staging:edge:apply": "terraform -chdir=infra/envs/staging/edge apply",
"infra:staging:edge:destroy": "terraform -chdir=infra/envs/staging/edge destroy",
"infra:prod": "bun run infra:prod:edge:apply",
"infra:prod:edge:plan": "terraform -chdir=infra/envs/prod/edge plan",
"infra:prod:edge:apply": "terraform -chdir=infra/envs/prod/edge apply",
"infra:prod:edge:destroy": "terraform -chdir=infra/envs/prod/edge destroy"
},
"devDependencies": {
"@emotion/babel-plugin": "^11.13.5",
"@emotion/eslint-plugin": "^11.12.0",
"@eslint-react/eslint-plugin": "^2.12.4",
"@eslint/js": "^9.0.0",
"@types/eslint": "^9.6.1",
"@typescript-eslint/eslint-plugin": "^8.55.0",
"@typescript-eslint/parser": "^8.55.0",
"@ws-kit/zod": "^0.10.2",
"eslint": "^9.39.2",
"eslint-config-prettier": "^10.1.8",
"eslint-import-resolver-typescript": "^4.4.4",
"eslint-plugin-import": "^2.32.0",
"eslint-plugin-jsx-a11y": "^6.10.2",
"eslint-plugin-react": "^7.37.5",
"eslint-plugin-react-hooks": "^7.0.1",
"gh-pages": "^6.3.0",
"globals": "^17.3.0",
"graphql": "^16.12.0",
"happy-dom": "^20.6.2",
"husky": "^9.1.7",
"jiti": "^2.6.1",
"lint-staged": "^16.2.7",
"mermaid": "^11.12.3",
"npm-check": "^6.0.1",
"prettier": "^3.8.1",
"react": "^19.2.4",
"relay-config": "^12.0.1",
"srcpack": "^0.1.15",
"typescript": "~5.9.3",
"typescript-eslint": "^8.56.0",
"typescript-language-server": "^5.1.3",
"vite": "~7.3.1",
"vitepress": "2.0.0-alpha.16",
"vitepress-plugin-llms": "^1.11.0",
"vitest": "~4.0.18",
"wrangler": "^4.66.0"
},
"prettier": {
"printWidth": 80,
"tabWidth": 2,
"useTabs": false,
"semi": true,
"singleQuote": false,
"quoteProps": "as-needed",
"jsxSingleQuote": false,
"trailingComma": "all",
"bracketSpacing": true,
"bracketSameLine": false,
"arrowParens": "always",
"endOfLine": "lf",
"overrides": [
{
"files": "*.jsonc",
"options": {
"trailingComma": "none"
}
}
]
},
"lint-staged": {
"*.{js,jsx,ts,tsx,mjs,cjs}": [
"bunx eslint --max-warnings=0 --report-unused-disable-directives"
],
"*": [
"bunx prettier --check --ignore-unknown"
]
}
}