-
Notifications
You must be signed in to change notification settings - Fork 8
Expand file tree
/
Copy pathpackage.json
More file actions
42 lines (42 loc) · 3.19 KB
/
package.json
File metadata and controls
42 lines (42 loc) · 3.19 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
{
"name": "file-brain-monorepo",
"private": true,
"workspaces": [
"apps/website",
"apps/file-brain/frontend",
"packages/shared"
],
"scripts": {
"dev:website": "npm run dev --workspace=@file-brain/website",
"build:website": "npm run build --workspace=@file-brain/website",
"start:website": "npm run start --workspace=@file-brain/website",
"install:website": "npm install --workspace=@file-brain/website",
"dev:app": "cd apps/file-brain && poetry run python -m file_brain.main --mode dev",
"start:app": "cd apps/file-brain && poetry run python -m file_brain.main --mode prod",
"install:app": "npm install --workspace=@file-brain/app && cd apps/file-brain && poetry install",
"package:app": "npm run build:app-frontend && rm -rf apps/file-brain/file_brain/frontend/dist && cp -r apps/file-brain/frontend/dist apps/file-brain/file_brain/frontend/ && cd apps/file-brain && poetry build",
"build:app-frontend": "npm run build --workspace=@file-brain/app",
"docker:up": "cd apps/file-brain/file_brain && TYPESENSE_DATA_DIR=$HOME/.local/share/file-brain/typesense-data docker compose up -d",
"docker:down": "cd apps/file-brain/file_brain && TYPESENSE_DATA_DIR=$HOME/.local/share/file-brain/typesense-data docker compose down",
"clean:containers": "cd apps/file-brain/file_brain && TYPESENSE_DATA_DIR=$HOME/.local/share/file-brain/typesense-data docker compose rm -sf && echo '✅ Containers removed (project only)'",
"clean:images": "cd apps/file-brain/file_brain && TYPESENSE_DATA_DIR=$HOME/.local/share/file-brain/typesense-data docker compose down --rmi local && echo '✅ Images removed (project only)'",
"clean:images-full": "cd apps/file-brain/file_brain && TYPESENSE_DATA_DIR=$HOME/.local/share/file-brain/typesense-data docker compose down --rmi local && docker image prune -af && echo '✅ Images and dependencies removed (shows realistic pull progress)'",
"clean:docker": "cd apps/file-brain/file_brain && TYPESENSE_DATA_DIR=$HOME/.local/share/file-brain/typesense-data docker compose down -v --rmi local && echo '✅ Docker cleaned: containers, volumes, and images removed (project only)'",
"clean:db": "rm -f ~/.local/share/file-brain/file_brain.db && echo '✅ Database removed'",
"clean:typesense": "sudo rm -rf ~/.local/share/file-brain/typesense-data && echo '✅ Typesense data removed'",
"clean:all": "npm run clean:docker && npm run clean:db && npm run clean:typesense && echo '✅ Full cleanup complete - ready for fresh wizard test'",
"clean:all-full": "npm run clean:images-full && npm run clean:db && npm run clean:typesense && echo '✅ Complete cleanup with dependencies - realistic wizard test'",
"db:revision": "cd apps/file-brain && poetry run alembic revision --autogenerate -m",
"db:upgrade": "cd apps/file-brain && poetry run alembic upgrade head",
"db:downgrade": "cd apps/file-brain && poetry run alembic downgrade -1",
"db:history": "cd apps/file-brain && poetry run alembic history",
"db:current": "cd apps/file-brain && poetry run alembic current",
"test:app": "cd apps/file-brain && poetry run pytest"
},
"devDependencies": {
"typescript": "^5.1.0"
},
"dependencies": {
"posthog-js": "^1.324.1"
}
}