1.5 KB30 lines
Blame
1{
2 "name": "@grove/root",
3 "private": true,
4 "scripts": {
5 "ensure:hosts": "bash ./scripts/ensure-local-hosts.sh",
6 "predev": "npm run ensure:hosts && lsof -ti:3000 | xargs kill -9 2>/dev/null || true",
7 "predev:local": "npm run ensure:hosts",
8 "dev": "concurrently --kill-others -n web,collab -c green,cyan \"GROVE_API_URL=https://grove.host GROVE_HUB_API_URL=https://grove.host npm run dev -w web 2>&1 | tee web/.dev-server.log\" \"GROVE_API_URL=https://grove.host GROVE_HUB_API_URL=https://grove.host npm run dev -w collab\"",
9 "dev:local": "lsof -ti:3000,4000,4001,3333 | xargs kill -9 2>/dev/null || true && concurrently --kill-others -n api,hub,web,collab -c blue,magenta,green,cyan \"CORS_ORIGIN=http://grove.test:3000,http://canopy.grove.test:3000,http://ring.grove.test:3000,http://collab.grove.test:3333,http://localhost:3000 npm run dev -w api\" \"PORT=4001 RP_ID=grove.test ORIGIN=http://grove.test:3000 CORS_ORIGIN=http://grove.test:3000,http://canopy.grove.test:3000,http://ring.grove.test:3000,http://collab.grove.test:3333,http://localhost:3000 npm run dev -w hub-api\" \"GROVE_HUB_API_URL=http://localhost:4001 npm run dev -w web\" \"GROVE_HUB_API_URL=http://localhost:4001 npm run dev -w collab\""
10 },
11 "workspaces": [
12 "api",
13 "collab",
14 "hub-api",
15 "web",
16 "addons/shared",
17 "addons/components",
18 "addons/isl",
19 "addons/isl-server",
20 "addons/vscode"
21 ],
22 "overrides": {
23 "@stylexjs/babel-plugin": "0.4.1"
24 },
25 "devDependencies": {
26 "concurrently": "^9.2.1",
27 "vite": "5.4.12"
28 }
29}
30