2023-10-08 22:38:42 +00:00
|
|
|
{
|
2024-02-19 19:47:37 +00:00
|
|
|
"name": "open-webui",
|
2024-05-30 09:40:17 +00:00
|
|
|
"version": "0.2.0.dev3",
|
2023-10-08 22:38:42 +00:00
|
|
|
"private": true,
|
|
|
|
"scripts": {
|
2024-05-18 06:30:42 +00:00
|
|
|
"dev": "npm run pyodide:fetch && vite dev --host",
|
|
|
|
"build": "npm run pyodide:fetch && vite build",
|
2023-10-08 22:38:42 +00: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-04 21:44:24 +00:00
|
|
|
"lint": "npm run lint:frontend ; npm run lint:types ; npm run lint:backend",
|
|
|
|
"lint:frontend": "eslint . --fix",
|
2023-10-22 04:18:43 +00:00
|
|
|
"lint:types": "npm run check",
|
2024-01-03 22:33:49 +00:00
|
|
|
"lint:backend": "pylint backend/",
|
2024-05-11 09:43:53 +00:00
|
|
|
"format": "prettier --plugin-search-dir --write \"**/*.{js,ts,svelte,css,md,html,json}\"",
|
2024-05-22 04:39:30 +00:00
|
|
|
"format:backend": "black . --exclude \".venv/|/venv/\"",
|
2024-05-11 09:43:53 +00:00
|
|
|
"i18n:parse": "i18next --config i18next-parser.config.ts && prettier --write \"src/lib/i18n/**/*.{js,json}\"",
|
2024-05-10 12:31:17 +00:00
|
|
|
"cy:open": "cypress open",
|
2024-05-18 06:30:42 +00:00
|
|
|
"test:frontend": "vitest",
|
|
|
|
"pyodide:fetch": "node scripts/prepare-pyodide.js"
|
2023-10-08 22:38:42 +00:00
|
|
|
},
|
|
|
|
"devDependencies": {
|
|
|
|
"@sveltejs/adapter-auto": "^2.0.0",
|
2023-10-21 20:43:56 +00:00
|
|
|
"@sveltejs/adapter-static": "^2.0.3",
|
2024-01-05 04:13:50 +00:00
|
|
|
"@sveltejs/kit": "^1.30.0",
|
2023-10-24 08:52:19 +00:00
|
|
|
"@tailwindcss/typography": "^0.5.10",
|
2024-01-03 22:33:49 +00:00
|
|
|
"@types/bun": "latest",
|
|
|
|
"@typescript-eslint/eslint-plugin": "^6.17.0",
|
|
|
|
"@typescript-eslint/parser": "^6.17.0",
|
2023-10-08 22:38:42 +00:00
|
|
|
"autoprefixer": "^10.4.16",
|
2024-04-26 21:32:09 +00:00
|
|
|
"cypress": "^13.8.1",
|
2024-01-03 22:33:49 +00:00
|
|
|
"eslint": "^8.56.0",
|
2023-10-08 22:38:42 +00:00
|
|
|
"eslint-config-prettier": "^8.5.0",
|
2024-04-26 21:32:09 +00:00
|
|
|
"eslint-plugin-cypress": "^3.0.2",
|
2023-10-08 22:38:42 +00:00
|
|
|
"eslint-plugin-svelte": "^2.30.0",
|
2024-03-07 11:51:37 +00:00
|
|
|
"i18next-parser": "^8.13.0",
|
2023-10-08 22:38:42 +00: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 14:20:48 +00:00
|
|
|
"svelte-confetti": "^1.3.2",
|
2023-10-08 22:38:42 +00:00
|
|
|
"tailwindcss": "^3.3.3",
|
|
|
|
"tslib": "^2.4.1",
|
|
|
|
"typescript": "^5.0.0",
|
2024-05-10 12:31:17 +00:00
|
|
|
"vite": "^4.4.2",
|
|
|
|
"vitest": "^1.6.0"
|
2023-10-08 22:38:42 +00:00
|
|
|
},
|
|
|
|
"type": "module",
|
|
|
|
"dependencies": {
|
2024-05-17 03:49:28 +00:00
|
|
|
"@pyscript/core": "^0.4.32",
|
2023-10-08 22:38:42 +00:00
|
|
|
"@sveltejs/adapter-node": "^1.3.1",
|
2024-01-06 10:10:41 +00:00
|
|
|
"async": "^3.2.5",
|
2024-03-16 08:57:26 +00:00
|
|
|
"bits-ui": "^0.19.7",
|
2024-01-06 04:59:56 +00:00
|
|
|
"dayjs": "^1.11.10",
|
2024-04-30 19:42:55 +00:00
|
|
|
"eventsource-parser": "^1.1.2",
|
2023-10-19 05:57:55 +00:00
|
|
|
"file-saver": "^2.0.5",
|
2023-10-16 08:27:26 +00:00
|
|
|
"highlight.js": "^11.9.0",
|
2024-03-01 04:40:36 +00:00
|
|
|
"i18next": "^23.10.0",
|
|
|
|
"i18next-browser-languagedetector": "^7.2.0",
|
|
|
|
"i18next-resources-to-backend": "^1.2.0",
|
2023-10-16 08:27:26 +00:00
|
|
|
"idb": "^7.1.1",
|
2023-11-05 21:25:23 +00:00
|
|
|
"js-sha256": "^0.10.1",
|
2023-10-28 22:16:04 +00:00
|
|
|
"katex": "^0.16.9",
|
2023-10-08 22:38:42 +00:00
|
|
|
"marked": "^9.1.0",
|
2024-05-17 05:21:08 +00:00
|
|
|
"pyodide": "^0.26.0-alpha.4",
|
2024-03-01 09:18:07 +00:00
|
|
|
"svelte-sonner": "^0.3.19",
|
2023-12-14 22:24:56 +00:00
|
|
|
"tippy.js": "^6.3.7",
|
2023-10-16 08:27:26 +00:00
|
|
|
"uuid": "^9.0.1"
|
2023-10-08 22:38:42 +00:00
|
|
|
}
|
2024-05-22 04:39:45 +00:00
|
|
|
}
|