2023-10-09 06:38:42 +08:00
|
|
|
{
|
2024-02-20 03:47:37 +08:00
|
|
|
"name": "open-webui",
|
2024-11-23 11:22:35 +08:00
|
|
|
"version": "0.4.4",
|
2023-10-09 06:38:42 +08:00
|
|
|
"private": true,
|
|
|
|
"scripts": {
|
2024-05-18 14:30:42 +08:00
|
|
|
"dev": "npm run pyodide:fetch && vite dev --host",
|
|
|
|
"build": "npm run pyodide:fetch && vite build",
|
2023-10-09 06:38:42 +08:00
|
|
|
"preview": "vite preview",
|
|
|
|
"check": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json",
|
|
|
|
"check:watch": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json --watch",
|
2024-01-05 05:44:24 +08:00
|
|
|
"lint": "npm run lint:frontend ; npm run lint:types ; npm run lint:backend",
|
|
|
|
"lint:frontend": "eslint . --fix",
|
2023-10-22 12:18:43 +08:00
|
|
|
"lint:types": "npm run check",
|
2024-01-04 06:33:49 +08:00
|
|
|
"lint:backend": "pylint backend/",
|
2024-05-11 17:43:53 +08:00
|
|
|
"format": "prettier --plugin-search-dir --write \"**/*.{js,ts,svelte,css,md,html,json}\"",
|
2024-05-22 12:39:30 +08:00
|
|
|
"format:backend": "black . --exclude \".venv/|/venv/\"",
|
2024-05-11 17:43:53 +08:00
|
|
|
"i18n:parse": "i18next --config i18next-parser.config.ts && prettier --write \"src/lib/i18n/**/*.{js,json}\"",
|
2024-05-10 20:31:17 +08:00
|
|
|
"cy:open": "cypress open",
|
2024-06-12 16:32:22 +08:00
|
|
|
"test:frontend": "vitest --passWithNoTests",
|
2024-05-18 14:30:42 +08:00
|
|
|
"pyodide:fetch": "node scripts/prepare-pyodide.js"
|
2023-10-09 06:38:42 +08:00
|
|
|
},
|
|
|
|
"devDependencies": {
|
2024-08-05 23:00:30 +08:00
|
|
|
"@sveltejs/adapter-auto": "3.2.2",
|
|
|
|
"@sveltejs/adapter-static": "^3.0.2",
|
|
|
|
"@sveltejs/kit": "^2.5.20",
|
|
|
|
"@sveltejs/vite-plugin-svelte": "^3.1.1",
|
|
|
|
"@tailwindcss/typography": "^0.5.13",
|
2024-01-04 06:33:49 +08:00
|
|
|
"@typescript-eslint/eslint-plugin": "^6.17.0",
|
|
|
|
"@typescript-eslint/parser": "^6.17.0",
|
2023-10-09 06:38:42 +08:00
|
|
|
"autoprefixer": "^10.4.16",
|
2024-10-06 02:18:58 +08:00
|
|
|
"cypress": "^13.15.0",
|
2024-01-04 06:33:49 +08:00
|
|
|
"eslint": "^8.56.0",
|
2024-08-05 23:00:30 +08:00
|
|
|
"eslint-config-prettier": "^9.1.0",
|
|
|
|
"eslint-plugin-cypress": "^3.4.0",
|
|
|
|
"eslint-plugin-svelte": "^2.43.0",
|
2024-08-07 23:39:00 +08:00
|
|
|
"i18next-parser": "^9.0.1",
|
2023-10-09 06:38:42 +08:00
|
|
|
"postcss": "^8.4.31",
|
2024-08-05 23:00:30 +08:00
|
|
|
"prettier": "^3.3.3",
|
|
|
|
"prettier-plugin-svelte": "^3.2.6",
|
2024-11-21 14:46:51 +08:00
|
|
|
"sass-embedded": "^1.81.0",
|
2024-08-05 23:00:30 +08:00
|
|
|
"svelte": "^4.2.18",
|
|
|
|
"svelte-check": "^3.8.5",
|
2024-02-22 22:20:48 +08:00
|
|
|
"svelte-confetti": "^1.3.2",
|
2023-10-09 06:38:42 +08:00
|
|
|
"tailwindcss": "^3.3.3",
|
|
|
|
"tslib": "^2.4.1",
|
2024-08-05 23:00:30 +08:00
|
|
|
"typescript": "^5.5.4",
|
|
|
|
"vite": "^5.3.5",
|
2024-05-10 20:31:17 +08:00
|
|
|
"vitest": "^1.6.0"
|
2023-10-09 06:38:42 +08:00
|
|
|
},
|
|
|
|
"type": "module",
|
|
|
|
"dependencies": {
|
2024-06-11 06:24:26 +08:00
|
|
|
"@codemirror/lang-javascript": "^6.2.2",
|
|
|
|
"@codemirror/lang-python": "^6.1.6",
|
2024-10-06 03:38:09 +08:00
|
|
|
"@codemirror/language-data": "^6.5.1",
|
2024-06-11 06:24:26 +08:00
|
|
|
"@codemirror/theme-one-dark": "^6.1.2",
|
2024-10-24 13:35:12 +08:00
|
|
|
"@huggingface/transformers": "^3.0.0",
|
2024-11-04 17:16:51 +08:00
|
|
|
"@mediapipe/tasks-vision": "^0.10.17",
|
2024-05-17 11:49:28 +08:00
|
|
|
"@pyscript/core": "^0.4.32",
|
2024-08-05 23:00:30 +08:00
|
|
|
"@sveltejs/adapter-node": "^2.0.0",
|
2024-11-21 14:46:51 +08:00
|
|
|
"@tiptap/core": "^2.10.0",
|
2024-11-21 14:56:26 +08:00
|
|
|
"@tiptap/extension-code-block-lowlight": "^2.10.0",
|
2024-11-21 14:46:51 +08:00
|
|
|
"@tiptap/extension-highlight": "^2.10.0",
|
|
|
|
"@tiptap/extension-placeholder": "^2.10.0",
|
|
|
|
"@tiptap/extension-typography": "^2.10.0",
|
|
|
|
"@tiptap/pm": "^2.10.0",
|
|
|
|
"@tiptap/starter-kit": "^2.10.0",
|
2024-09-15 06:30:56 +08:00
|
|
|
"@xyflow/svelte": "^0.1.19",
|
2024-01-06 18:10:41 +08:00
|
|
|
"async": "^3.2.5",
|
2024-03-16 16:57:26 +08:00
|
|
|
"bits-ui": "^0.19.7",
|
2024-06-11 05:49:03 +08:00
|
|
|
"codemirror": "^6.0.1",
|
2024-06-17 16:42:04 +08:00
|
|
|
"crc-32": "^1.2.2",
|
2024-01-06 12:59:56 +08:00
|
|
|
"dayjs": "^1.11.10",
|
2024-08-15 06:08:15 +08:00
|
|
|
"dompurify": "^3.1.6",
|
2024-05-01 03:42:55 +08:00
|
|
|
"eventsource-parser": "^1.1.2",
|
2023-10-19 13:57:55 +08:00
|
|
|
"file-saver": "^2.0.5",
|
2024-08-02 04:47:53 +08:00
|
|
|
"fuse.js": "^7.0.0",
|
2023-10-16 16:27:26 +08:00
|
|
|
"highlight.js": "^11.9.0",
|
2024-03-01 12:40:36 +08:00
|
|
|
"i18next": "^23.10.0",
|
|
|
|
"i18next-browser-languagedetector": "^7.2.0",
|
|
|
|
"i18next-resources-to-backend": "^1.2.0",
|
2023-10-16 16:27:26 +08:00
|
|
|
"idb": "^7.1.1",
|
2023-11-06 05:25:23 +08:00
|
|
|
"js-sha256": "^0.10.1",
|
2023-10-29 06:16:04 +08:00
|
|
|
"katex": "^0.16.9",
|
2023-10-09 06:38:42 +08:00
|
|
|
"marked": "^9.1.0",
|
2024-10-23 02:23:33 +08:00
|
|
|
"mermaid": "^10.9.3",
|
2024-09-21 09:33:06 +08:00
|
|
|
"paneforge": "^0.0.6",
|
2024-10-07 03:51:29 +08:00
|
|
|
"panzoom": "^9.4.3",
|
2024-10-19 05:55:39 +08:00
|
|
|
"prosemirror-commands": "^1.6.0",
|
|
|
|
"prosemirror-example-setup": "^1.2.3",
|
|
|
|
"prosemirror-history": "^1.4.1",
|
|
|
|
"prosemirror-keymap": "^1.2.2",
|
|
|
|
"prosemirror-markdown": "^1.13.1",
|
|
|
|
"prosemirror-model": "^1.23.0",
|
|
|
|
"prosemirror-schema-basic": "^1.2.3",
|
|
|
|
"prosemirror-schema-list": "^1.4.1",
|
|
|
|
"prosemirror-state": "^1.4.3",
|
|
|
|
"prosemirror-view": "^1.34.3",
|
2024-06-18 05:26:10 +08:00
|
|
|
"pyodide": "^0.26.1",
|
|
|
|
"socket.io-client": "^4.2.0",
|
2024-06-01 04:11:04 +08:00
|
|
|
"sortablejs": "^1.15.2",
|
2024-03-01 17:18:07 +08:00
|
|
|
"svelte-sonner": "^0.3.19",
|
2023-12-15 06:24:56 +08:00
|
|
|
"tippy.js": "^6.3.7",
|
2024-06-17 17:26:07 +08:00
|
|
|
"turndown": "^7.2.0",
|
2023-10-16 16:27:26 +08:00
|
|
|
"uuid": "^9.0.1"
|
2024-08-05 23:00:30 +08:00
|
|
|
},
|
|
|
|
"engines": {
|
2024-10-06 04:01:35 +08:00
|
|
|
"node": ">=18.13.0 <=22.x.x",
|
2024-08-05 23:00:30 +08:00
|
|
|
"npm": ">=6.0.0"
|
2023-10-09 06:38:42 +08:00
|
|
|
}
|
2024-09-26 10:11:13 +08:00
|
|
|
}
|