Files
editor/package.json
T
2694bcf555 chore: add clean:cache and restart scripts (#363)
Add `bun clean:cache` to clear .turbo / .next / .swc / node_modules
caches across apps, packages, and tooling — mirrors the command in the
private-editor root so a stale-cache reset works the same in both repos.
Also add a `restart` convenience: kill → clean:cache → dev.

Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-03 13:18:41 -04:00

57 lines
2.1 KiB
JSON

{
"name": "editor",
"private": true,
"scripts": {
"build": "turbo run build",
"dev": "set -a && . ./.env 2>/dev/null; set +a; turbo run dev --env-mode=loose",
"lint": "biome lint",
"lint:fix": "biome lint --write",
"format": "biome format --write",
"format:check": "biome format",
"check": "biome check",
"check:fix": "biome check --write",
"check-types": "turbo run check-types",
"kill": "lsof -ti:3002 | xargs kill -9 2>/dev/null || echo 'No processes found on port 3002'",
"clean:cache": "rm -rf apps/*/.next apps/*/.swc apps/*/.turbo packages/*/.turbo tooling/*/.turbo .turbo node_modules/.cache",
"restart": "bun kill && bun clean:cache && bun dev",
"release": "gh workflow run release.yml -f package=all -f bump=patch",
"release:viewer": "gh workflow run release.yml -f package=viewer -f bump=patch",
"release:core": "gh workflow run release.yml -f package=core -f bump=patch",
"release:editor": "gh workflow run release.yml -f package=editor -f bump=patch",
"release:mcp": "gh workflow run release.yml -f package=mcp -f bump=patch",
"release:minor": "gh workflow run release.yml -f package=all -f bump=minor",
"release:major": "gh workflow run release.yml -f package=all -f bump=major"
},
"devDependencies": {
"@biomejs/biome": "^2.4.6",
"dotenv-cli": "^11.0.0",
"turbo": "^2.8.15",
"typescript": "6.0.2",
"ultracite": "^7.2.5"
},
"engines": {
"node": ">=18"
},
"packageManager": "bun@1.3.0",
"overrides": {
"@types/react": "19.2.14",
"@types/react-dom": "19.2.3",
"@types/three": "0.184.0"
},
"optionalDependencies": {
"@tailwindcss/oxide-darwin-arm64": "4.3.0",
"@tailwindcss/oxide-darwin-x64": "4.3.0",
"@tailwindcss/oxide-linux-arm64-gnu": "4.3.0",
"@tailwindcss/oxide-linux-x64-gnu": "4.3.0",
"lightningcss-darwin-arm64": "1.32.0",
"lightningcss-darwin-x64": "1.32.0",
"lightningcss-linux-arm64-gnu": "1.32.0",
"lightningcss-linux-x64-gnu": "1.32.0"
},
"workspaces": [
"apps/*",
"packages/*",
"tooling/*"
]
}