package.json 2.67 KB
Newer Older
Timothy J. Baek's avatar
Timothy J. Baek committed
1
{
Timothy J. Baek's avatar
rename  
Timothy J. Baek committed
2
	"name": "open-webui",
Timothy J. Baek's avatar
Timothy J. Baek committed
3
	"version": "0.3.12",
Timothy J. Baek's avatar
Timothy J. Baek committed
4
5
	"private": true,
	"scripts": {
6
7
		"dev": "npm run pyodide:fetch && vite dev --host",
		"build": "npm run pyodide:fetch && vite build",
Timothy J. Baek's avatar
Timothy J. Baek committed
8
9
10
		"preview": "vite preview",
		"check": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json",
		"check:watch": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json --watch",
11
12
		"lint": "npm run lint:frontend ; npm run lint:types ; npm run lint:backend",
		"lint:frontend": "eslint . --fix",
13
		"lint:types": "npm run check",
14
		"lint:backend": "pylint backend/",
15
		"format": "prettier --plugin-search-dir --write \"**/*.{js,ts,svelte,css,md,html,json}\"",
Timothy J. Baek's avatar
Timothy J. Baek committed
16
		"format:backend": "black . --exclude \".venv/|/venv/\"",
17
		"i18n:parse": "i18next --config i18next-parser.config.ts && prettier --write \"src/lib/i18n/**/*.{js,json}\"",
18
		"cy:open": "cypress open",
Timothy J. Baek's avatar
Timothy J. Baek committed
19
		"test:frontend": "vitest --passWithNoTests",
20
		"pyodide:fetch": "node scripts/prepare-pyodide.js"
Timothy J. Baek's avatar
Timothy J. Baek committed
21
22
	},
	"devDependencies": {
Candido Sales Gomes's avatar
Candido Sales Gomes committed
23
24
25
26
27
		"@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",
28
29
30
		"@types/bun": "latest",
		"@typescript-eslint/eslint-plugin": "^6.17.0",
		"@typescript-eslint/parser": "^6.17.0",
Timothy J. Baek's avatar
Timothy J. Baek committed
31
		"autoprefixer": "^10.4.16",
32
		"cypress": "^13.8.1",
33
		"eslint": "^8.56.0",
Candido Sales Gomes's avatar
Candido Sales Gomes committed
34
35
36
		"eslint-config-prettier": "^9.1.0",
		"eslint-plugin-cypress": "^3.4.0",
		"eslint-plugin-svelte": "^2.43.0",
Timothy J. Baek's avatar
Timothy J. Baek committed
37
		"i18next-parser": "^9.0.1",
Timothy J. Baek's avatar
Timothy J. Baek committed
38
		"postcss": "^8.4.31",
Candido Sales Gomes's avatar
Candido Sales Gomes committed
39
40
41
42
		"prettier": "^3.3.3",
		"prettier-plugin-svelte": "^3.2.6",
		"svelte": "^4.2.18",
		"svelte-check": "^3.8.5",
Jannik Streidl's avatar
Jannik Streidl committed
43
		"svelte-confetti": "^1.3.2",
Timothy J. Baek's avatar
Timothy J. Baek committed
44
45
		"tailwindcss": "^3.3.3",
		"tslib": "^2.4.1",
Candido Sales Gomes's avatar
Candido Sales Gomes committed
46
47
		"typescript": "^5.5.4",
		"vite": "^5.3.5",
48
		"vitest": "^1.6.0"
Timothy J. Baek's avatar
Timothy J. Baek committed
49
50
51
	},
	"type": "module",
	"dependencies": {
Timothy J. Baek's avatar
Timothy J. Baek committed
52
53
54
		"@codemirror/lang-javascript": "^6.2.2",
		"@codemirror/lang-python": "^6.1.6",
		"@codemirror/theme-one-dark": "^6.1.2",
Timothy J. Baek's avatar
Timothy J. Baek committed
55
		"@pyscript/core": "^0.4.32",
Candido Sales Gomes's avatar
Candido Sales Gomes committed
56
		"@sveltejs/adapter-node": "^2.0.0",
Anuraag Jain's avatar
Anuraag Jain committed
57
		"async": "^3.2.5",
Timothy J. Baek's avatar
Timothy J. Baek committed
58
		"bits-ui": "^0.19.7",
Timothy J. Baek's avatar
Timothy J. Baek committed
59
		"codemirror": "^6.0.1",
Timothy J. Baek's avatar
refac  
Timothy J. Baek committed
60
		"crc-32": "^1.2.2",
Timothy J. Baek's avatar
Timothy J. Baek committed
61
		"dayjs": "^1.11.10",
62
		"eventsource-parser": "^1.1.2",
63
		"file-saver": "^2.0.5",
64
		"fuse.js": "^7.0.0",
65
		"highlight.js": "^11.9.0",
66
67
68
		"i18next": "^23.10.0",
		"i18next-browser-languagedetector": "^7.2.0",
		"i18next-resources-to-backend": "^1.2.0",
69
		"idb": "^7.1.1",
Timothy J. Baek's avatar
Timothy J. Baek committed
70
		"js-sha256": "^0.10.1",
Timothy J. Baek's avatar
Timothy J. Baek committed
71
		"katex": "^0.16.9",
Timothy J. Baek's avatar
Timothy J. Baek committed
72
		"marked": "^9.1.0",
73
		"mermaid": "^10.9.1",
Timothy J. Baek's avatar
Timothy J. Baek committed
74
75
		"pyodide": "^0.26.1",
		"socket.io-client": "^4.2.0",
Timothy J. Baek's avatar
Timothy J. Baek committed
76
		"sortablejs": "^1.15.2",
Jannik Streidl's avatar
Jannik Streidl committed
77
		"svelte-sonner": "^0.3.19",
Timothy J. Baek's avatar
Timothy J. Baek committed
78
		"tippy.js": "^6.3.7",
Timothy J. Baek's avatar
Timothy J. Baek committed
79
		"turndown": "^7.2.0",
80
		"uuid": "^9.0.1"
Candido Sales Gomes's avatar
Candido Sales Gomes committed
81
82
83
84
	},
	"engines": {
		"node": ">=18.13.0 <=21.x.x",
		"npm": ">=6.0.0"
Timothy J. Baek's avatar
Timothy J. Baek committed
85
	}
Timothy J. Baek's avatar
Timothy J. Baek committed
86
}