-
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) · 1.01 KB
/
package.json
File metadata and controls
19 lines (19 loc) · 1.01 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
{
"name": "cc-demo",
"type": "module",
"version": "0.0.1",
"scripts": {
"devcontainer:build": "devcontainer build --workspace-folder .",
"devcontainer:rebuild": "devcontainer build --workspace-folder . --no-cache",
"devcontainer:up": "devcontainer up --workspace-folder .",
"devcontainer:notifier:up": "pgrep -f 'socat TCP-LISTEN:4545' >/dev/null || (nohup socat TCP-LISTEN:4545,reuseaddr,fork EXEC:.devcontainer/notifier.sh >/tmp/hostcmd.log 2>&1 & echo '🔔 Notifier started.')",
"devcontainer:notifier:stop": "pkill -f 'socat TCP-LISTEN:4545' && echo '🔕 Notifier stopped.'",
"devcontainer:shell": "devcontainer exec --workspace-folder . -- zsh",
"devcontainer:stop": "npm run devcontainer:notifier:stop; docker kill blog-dev-container && echo 'Dev container stopped.'",
"devcontainer:claude": "npm run devcontainer:notifier:up && npm run devcontainer:up && devcontainer exec --workspace-folder . -- sh -lc 'claude -c || claude'"
},
"dependencies": {
},
"devDependencies": {
}
}