forked from libre-webui/libre-webui
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
156 lines (156 loc) · 11.7 KB
/
Copy pathpackage.json
File metadata and controls
156 lines (156 loc) · 11.7 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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
{
"name": "libre-webui",
"version": "0.29.0",
"description": "A local-first workspace for chat, private knowledge, artifacts, and isolated model-driven work.",
"bin": {
"libre-webui": "bin/cli.js"
},
"files": [
"bin",
"backend/package.json",
"backend/dist",
"frontend/dist",
"plugins/*.json",
"scripts/postinstall.js",
"deploy/work-computer",
"README.md",
"LICENSE"
],
"workspaces": [
"frontend",
"backend"
],
"scripts": {
"dev": "concurrently \"npm run dev:backend\" \"npm run dev:frontend\"",
"dev:host": "concurrently \"npm run dev:backend\" \"cd frontend && npm run dev -- --host --port 8080\"",
"dev:frontend": "cd frontend && npm run dev",
"dev:backend": "cd backend && npm run dev",
"build": "npm run build:frontend && npm run build:backend",
"build:frontend": "cd frontend && npm run build",
"build:backend": "cd backend && npm run build",
"recovery:check": "node backend/dist/cli/recoveryInventory.js",
"recovery:backup": "node backend/dist/cli/recoveryBackup.js",
"migrate:postgres": "node backend/dist/cli/migrateSqliteToPostgres.js",
"worker": "node backend/dist/worker.js",
"test:package": "node --test scripts/test-deprecated-dependencies.mjs && node --test scripts/test-typescript-toolchain.mjs && node --test scripts/test-helm-versioning.mjs && node --test scripts/test-helm-work.mjs && node --test scripts/test-tts-example-security.mjs && npm run test:unit --workspace=frontend && npm run build && node --test scripts/test-persistence-boundary.mjs scripts/test-persistence-contract.mjs scripts/test-schema-migrations.mjs scripts/test-postgres-persistence.mjs scripts/test-document-indexing-postgres.mjs && node --test scripts/test-platform-coordination.mjs scripts/test-platform-storage.mjs scripts/test-memory-reliability.mjs && npm run test:team-storage && node --test scripts/test-durable-jobs.mjs scripts/test-account-retirement.mjs scripts/test-integrated-backup.mjs scripts/test-team-backup.mjs && node --test scripts/test-health-probes.mjs scripts/test-recovery-inventory.mjs scripts/test-recovery-drills.mjs && node --test scripts/test-structured-logging.mjs scripts/test-opentelemetry.mjs && node --test scripts/test-webpage-fetch-security.mjs && node --test scripts/test-web-search.mjs && node --test scripts/test-content-resource-limits.mjs && node --test scripts/test-calendar.mjs && node --test scripts/test-calendar-team.mjs && node --test scripts/test-notes.mjs && node --test scripts/test-automation-schedule.mjs && node --test scripts/test-automations.mjs && node --test scripts/test-prompts.mjs scripts/test-skills.mjs && node --test scripts/test-resource-sharing.mjs && node --test scripts/test-channels.mjs && node --test scripts/test-notifications.mjs && node --test scripts/test-web-push.mjs && node --test scripts/test-tool-gateway.mjs scripts/test-tool-approvals.mjs && node --test scripts/test-chat-tool-loop.mjs scripts/test-assistant-profiles.mjs && node --test scripts/test-registration-policy.mjs && node --test scripts/test-user-approval.mjs && node --test scripts/test-turnstile-auth.mjs && node --test scripts/test-oauth-security.mjs && node --test scripts/test-auth-sessions.mjs && node --test scripts/test-mfa.mjs && node --test scripts/test-api-tokens.mjs && node --test scripts/test-openai-compat.mjs && node --test scripts/test-authorization.mjs && node --test scripts/test-security-audit.mjs && node --test scripts/test-oidc-provider.mjs && node --test scripts/test-password-security.mjs && node --test scripts/test-live-deployment-security.mjs && node --test scripts/test-websocket-tickets.mjs && node --test scripts/test-capability-contracts.mjs scripts/test-global-capability-contracts.mjs && node --test scripts/test-ollama-model-defaults.mjs && node --test scripts/test-ollama-library.mjs && node --test scripts/test-huggingface-hub-routes.mjs && node --test scripts/test-chat-context.mjs && node --test scripts/test-thinking-level.mjs && node --test scripts/test-model-catalog.mjs && node --test scripts/test-title-generation.mjs && node --test scripts/test-context-compaction.mjs && node --test scripts/test-chat-cancellation.mjs && node --test scripts/test-prompt-queue.mjs && node --test scripts/test-multi-model-compare.mjs && node --test scripts/test-chat-fork.mjs && node --test scripts/test-workspace-search.mjs && node --test scripts/test-rag-retrieval.mjs && node --test scripts/test-document-extractors.mjs && node --test scripts/test-media-extraction.mjs && node --test scripts/test-hybrid-retrieval.mjs && node --test scripts/test-chat-rest-responses.mjs && node --test scripts/test-plugin-endpoint-routing.mjs && node --test scripts/test-plugin-capability-routing.mjs && node --test scripts/test-plugin-usage-analytics.mjs && node --test scripts/test-cost-governance.mjs && node --test scripts/test-evaluations.mjs && node --test scripts/test-system-diagnostics.mjs && node --test scripts/test-openrouter-attribution.mjs && node --test scripts/test-openrouter-media-routing.mjs && node --test scripts/test-chat-provider-selection.mjs && node --test scripts/test-agent-cli-chat.mjs && node --test scripts/test-codex-oauth.mjs && node --test scripts/test-provider-api-modes.mjs && node --test scripts/test-plugin-variable-overrides.mjs && node --test scripts/test-plugin-model-refresh.mjs && node --test scripts/test-plugin-model-context.mjs && node --test scripts/test-stt-routing.mjs && node --test scripts/test-tts-routing.mjs && node --test scripts/test-voice-profiles-security.mjs && node --test scripts/test-image-generation-routing.mjs && node --test scripts/test-image-editing.mjs && node --test scripts/test-data-archive.mjs && node --test scripts/test-work-host-workspace.mjs && node --test scripts/test-work-runtime.mjs && node --test scripts/test-work-access.mjs && node --test scripts/test-work-admin.mjs && node --test scripts/test-work-idle.mjs && node --test scripts/test-work-policies.mjs && node --test scripts/test-work-kubernetes.mjs && node --test scripts/test-work-preview-proxy.mjs && node --test scripts/test-artifact-sandbox.mjs && node --test scripts/test-work-terminal.mjs && node --test scripts/test-work-provider.mjs && node --test scripts/test-work-agent-guidance.mjs && node --test scripts/test-work-agent-loop.mjs && node --test scripts/test-work-computer-live.mjs && node --test scripts/test-work-events.mjs && node --test scripts/test-package-layout.mjs && node --test scripts/test-release-notes.mjs && node --test scripts/test-release-status.mjs && node --test scripts/test-docker-layout.mjs && node --test scripts/test-pr-quality-gates.mjs scripts/test-security-workflow.mjs && node --test scripts/test-homebrew-publishing.mjs && node --test scripts/test-forgejo-release-mirror.mjs",
"bench:work-computer": "node scripts/bench-work-computer.mjs",
"test:team-storage": "node scripts/test-platform-storage-team-adapters.mjs && node scripts/test-sqlite-team-storage-migration.mjs",
"test:team-platform": "node --test scripts/test-team-platform.mjs",
"test:e2e": "npm run e2e --workspace=frontend",
"test:work": "npm run build:backend && node --test scripts/test-account-retirement.mjs && node --test scripts/test-work-host-workspace.mjs && node --test scripts/test-work-runtime.mjs && node --test scripts/test-work-access.mjs && node --test scripts/test-work-admin.mjs && node --test scripts/test-work-idle.mjs && node --test scripts/test-work-policies.mjs && node --test scripts/test-work-kubernetes.mjs && node --test scripts/test-work-preview-proxy.mjs && node --test scripts/test-work-terminal.mjs && node --test scripts/test-work-provider.mjs && node --test scripts/test-work-agent-guidance.mjs && node --test scripts/test-work-agent-loop.mjs && node --test scripts/test-work-events.mjs",
"security:audit": "npm audit --audit-level=moderate",
"release:check": "npm run format:check && npm run lint && npm run security:audit && npm run test:package && npm run npm:publish:dry-run",
"start": "cd backend && npm start",
"install:all": "npm install && cd frontend && npm install && cd ../backend && npm install",
"format": "node scripts/add-headers.js && prettier --write \"frontend/src/**/*.{ts,tsx,js,jsx,json,css,md}\" \"frontend/e2e/**/*.{ts,tsx,js,jsx,json,md}\" \"frontend/playwright.config.ts\" \"backend/src/**/*.{ts,js,json,md}\" \"*.{json,md,yml,yaml}\" \".github/**/*.{yml,yaml}\"",
"format:check": "prettier --check \"frontend/src/**/*.{ts,tsx,js,jsx,json,css,md}\" \"frontend/e2e/**/*.{ts,tsx,js,jsx,json,md}\" \"frontend/playwright.config.ts\" \"backend/src/**/*.{ts,js,json,md}\" \"*.{json,md,yml,yaml}\" \".github/**/*.{yml,yaml}\"",
"add-headers": "node scripts/add-headers.js",
"lint": "npm run lint:frontend && npm run lint:backend",
"lint:frontend": "cd frontend && npm run lint",
"lint:backend": "cd backend && npm run lint",
"lint:fix": "npm run lint:fix:frontend && npm run lint:fix:backend",
"lint:fix:frontend": "cd frontend && npm run lint:fix",
"lint:fix:backend": "cd backend && npm run lint:fix",
"setup-hooks": "git config core.hooksPath .githooks && git config commit.template .gitmessage",
"postinstall": "node scripts/postinstall.js",
"release": "node scripts/release.js",
"release:patch": "node scripts/release.js patch",
"release:minor": "node scripts/release.js minor",
"release:major": "node scripts/release.js major",
"release:mirror:forgejo": "node scripts/mirror-forgejo-releases.mjs",
"changelog": "node scripts/generate-changelog.js",
"prepublishOnly": "npm run build",
"npm:publish:dry-run": "npm publish --dry-run --access public",
"npm:publish": "npm publish --access public"
},
"repository": {
"type": "git",
"url": "git+https://github.com/libre-webui/libre-webui.git"
},
"bugs": {
"url": "https://github.com/libre-webui/libre-webui/issues"
},
"homepage": "https://librewebui.org",
"engines": {
"node": ">=22.22.0"
},
"overrides": {
"prismjs": "^1.30.0",
"@isaacs/brace-expansion": ">=5.0.1",
"react": "19.2.8",
"react-dom": "19.2.8",
"@types/react": "19.2.18",
"@types/react-dom": "19.2.4",
"lodash": "^4.18.1",
"refractor": {
"prismjs": "^1.30.0"
},
"react-syntax-highlighter": {
"prismjs": "^1.30.0",
"refractor": {
"prismjs": "^1.30.0"
}
},
"minimatch": ">=10.2.1",
"brace-expansion": "^5.0.9",
"ip-address": "10.4.0",
"js-yaml": "^4.3.1",
"shell-quote": "1.10.0"
},
"devDependencies": {
"@eslint/js": "^9.39.4",
"@types/react": "19.2.18",
"@types/react-dom": "19.2.4",
"@typescript-eslint/eslint-plugin": "^8.51.0",
"@typescript-eslint/parser": "^8.34.0",
"@typescript/native": "npm:typescript@^7.0.2",
"concurrently": "^10.0.1",
"eslint": "^9.39.4",
"prettier": "^3.7.4",
"typescript": "npm:@typescript/typescript6@^6.0.2"
},
"keywords": [
"llm",
"ollama",
"chat",
"webui",
"ai",
"open-source",
"self-hosted",
"local-ai",
"rag",
"agents",
"artifacts"
],
"author": "Libre WebUI Contributors <contact@librewebui.org>",
"license": "Apache-2.0",
"dependencies": {
"@aws-sdk/client-s3": "^3.1109.0",
"@aws-sdk/lib-storage": "^3.1109.0",
"@kubernetes/client-node": "^2.0.0",
"axios": "^1.13.2",
"bcrypt": "^6.0.0",
"better-sqlite3": "^13.0.2",
"cors": "^2.8.5",
"dotenv": "^17.2.3",
"express": "^5.2.1",
"express-rate-limit": "^8.2.1",
"helmet": "^8.1.0",
"ipaddr.js": "^2.4.0",
"jsonwebtoken": "^9.0.3",
"morgan": "^1.10.0",
"multer": "^2.2.0",
"parse5": "^8.0.1",
"pdfjs-dist": "^6.0.227",
"pg": "^8.23.0",
"react": "19.2.8",
"react-dom": "19.2.8",
"redis": "^6.2.1",
"sanitize-filename": "^1.6.3",
"sonner": "^2.0.7",
"tar": "7.5.22",
"undici": "^8.10.0",
"uuid": "^14.0.0",
"ws": "^8.14.2"
}
}