2023-10-09 06:38:42 +08:00
|
|
|
{
|
2024-02-20 03:47:37 +08:00
|
|
|
"name": "open-webui",
|
2024-06-04 04:04:18 +08:00
|
|
|
"version": "0.2.3",
|
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-05-18 14:30:42 +08:00
|
|
|
"test:frontend": "vitest",
|
|
|
|
"pyodide:fetch": "node scripts/prepare-pyodide.js"
|
2023-10-09 06:38:42 +08:00
|
|
|
},
|
|
|
|
"devDependencies": {
|
|
|
|
"@sveltejs/adapter-auto": "^2.0.0",
|
2023-10-22 04:43:56 +08:00
|
|
|
"@sveltejs/adapter-static": "^2.0.3",
|
2024-01-05 12:13:50 +08:00
|
|
|
"@sveltejs/kit": "^1.30.0",
|
2023-10-24 16:52:19 +08:00
|
|
|
"@tailwindcss/typography": "^0.5.10",
|
2024-01-04 06:33:49 +08:00
|
|
|
"@types/bun": "latest",
|
|
|
|
"@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-04-27 05:32:09 +08:00
|
|
|
"cypress": "^13.8.1",
|
2024-01-04 06:33:49 +08:00
|
|
|
"eslint": "^8.56.0",
|
2023-10-09 06:38:42 +08:00
|
|
|
"eslint-config-prettier": "^8.5.0",
|
2024-04-27 05:32:09 +08:00
|
|
|
"eslint-plugin-cypress": "^3.0.2",
|
2023-10-09 06:38:42 +08:00
|
|
|
"eslint-plugin-svelte": "^2.30.0",
|
2024-03-07 19:51:37 +08:00
|
|
|
"i18next-parser": "^8.13.0",
|
2023-10-09 06:38:42 +08:00
|
|
|
"postcss": "^8.4.31",
|
|
|
|
"prettier": "^2.8.0",
|
|
|
|
"prettier-plugin-svelte": "^2.10.1",
|
|
|
|
"svelte": "^4.0.5",
|
|
|
|
"svelte-check": "^3.4.3",
|
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",
|
|
|
|
"typescript": "^5.0.0",
|
2024-05-10 20:31:17 +08:00
|
|
|
"vite": "^4.4.2",
|
|
|
|
"vitest": "^1.6.0"
|
2023-10-09 06:38:42 +08:00
|
|
|
},
|
|
|
|
"type": "module",
|
|
|
|
"dependencies": {
|
2024-05-17 11:49:28 +08:00
|
|
|
"@pyscript/core": "^0.4.32",
|
2023-10-09 06:38:42 +08:00
|
|
|
"@sveltejs/adapter-node": "^1.3.1",
|
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-01-06 12:59:56 +08:00
|
|
|
"dayjs": "^1.11.10",
|
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",
|
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-06-03 09:03:30 +08:00
|
|
|
"mermaid": "^10.9.1",
|
2024-05-17 13:21:08 +08:00
|
|
|
"pyodide": "^0.26.0-alpha.4",
|
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",
|
2023-10-16 16:27:26 +08:00
|
|
|
"uuid": "^9.0.1"
|
2023-10-09 06:38:42 +08:00
|
|
|
}
|
2024-06-02 13:01:53 +08:00
|
|
|
}
|