-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
19 lines (19 loc) · 809 Bytes
/
Copy pathpackage.json
File metadata and controls
19 lines (19 loc) · 809 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
{
"name": "codex-dashboard",
"private": true,
"workspaces": [
"frontend",
"server"
],
"scripts": {
"dev": "pnpm -C server dev & pnpm -C frontend dev",
"dev:pl": "zsh -lc 'branch=\"$(git branch --show-current)\"; [[ -n \"$branch\" ]] || { echo \"Failed to detect current git branch.\" >&2; exit 1; }; base=\"${branch//\\//-}\"; portless \"${base}-api\" pnpm -C server dev --host & api_pid=$!; trap \"kill $api_pid\" EXIT INT TERM; PORTLESS_BASE=\"$base\" portless \"${base}-web\" pnpm -C frontend dev --host; wait'",
"build": "pnpm -C frontend build && pnpm -C server build",
"start": "pnpm -C server start && pnpm -C frontend start",
"lint": "pnpm -C frontend lint && pnpm -C server lint"
},
"devDependencies": {
"node-gyp": "^12.2.0"
},
"version": "1.2.0"
}