-
Notifications
You must be signed in to change notification settings - Fork 53
Expand file tree
/
Copy pathpackage.json
More file actions
44 lines (44 loc) · 1.82 KB
/
package.json
File metadata and controls
44 lines (44 loc) · 1.82 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
{
"name": "monolith",
"version": "2.5.0",
"private": true,
"workspaces": [
"client",
"server"
],
"scripts": {
"dev": "npx concurrently -n server,client -c blue,green \"npm run dev:server\" \"npm run dev:client\"",
"dev:client": "npm -w monolith-client run dev",
"dev:server": "npm -w monolith-server run dev",
"build": "npm -w monolith-client run build",
"deploy:server": "npm -w monolith-server run deploy",
"deploy:client": "node -e \"const {spawnSync}=require('node:child_process'); const result=spawnSync('npx',['wrangler','pages','deploy','dist','--project-name','monolith-client','--branch','main','--commit-dirty=true'],{cwd:'client',stdio:'inherit',shell:process.platform==='win32'}); process.exit(result.status ?? 1);\"",
"deploy:cloudflare": "node scripts/deploy-cloudflare.mjs",
"db:reconcile": "npm run db:reconcile:d1:local",
"db:reconcile:local": "npm run db:reconcile:d1:local",
"db:reconcile:d1:local": "node scripts/reconcile-d1-schema.mjs --local",
"db:reconcile:d1:remote": "node scripts/reconcile-d1-schema.mjs --remote",
"db:migrate:local": "npm -w monolith-server run db:migrate:local",
"db:migrate:remote": "npm -w monolith-server run db:migrate:remote",
"db:seed:local": "npm -w monolith-server run db:seed:local",
"db:seed:test-posts:local": "npm -w monolith-server run db:seed:test-posts:local",
"check": "npm -ws run check",
"lint": "npm -ws run lint"
},
"engines": {
"node": ">=20"
},
"devDependencies": {
"concurrently": "^9.0.0"
},
"overrides": {
"@babel/plugin-transform-modules-systemjs": "7.29.4",
"dompurify": "3.4.3",
"esbuild": "^0.25.0",
"express-rate-limit": "8.5.2",
"fast-uri": "3.1.2",
"fast-xml-builder": "1.1.7",
"ip-address": "10.2.0",
"serialize-javascript": "^7.0.5"
}
}