-
Notifications
You must be signed in to change notification settings - Fork 6
/
package.json
41 lines (41 loc) · 1.59 KB
/
package.json
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
{
"scripts": {
"format": "prettier --log-level warn --write \"./{js,samples,styles}/**/*.{js,css}\"",
"build": "vite build",
"build:use-remote-models": "vite build -- use-remote-models",
"dev": "vite --port 9999 --host -- use-remote-models",
"css-update": "npx tailwindcss -i ./style/tailwind-input.css -o ./style/tailwind.css --watch",
"generate-ssl": "openssl req -newkey rsa:2048 -new -nodes -x509 -days 3650 -keyout key.pem -out cert.pem",
"prod:github": "npm run build:use-remote-models && node build_scripts.js --github",
"prod:use-remote-models": "npm run build:use-remote-models && node build_scripts.js --use-remote-models",
"prod": "npm run build && node build_scripts.js",
"startup": "cd ./dist && http-server -S -C ../cert.pem -K ../key.pem -o",
"lint": "eslint .",
"lint-fix": "eslint . --fix"
},
"type": "module",
"devDependencies": {
"@eslint/js": "^9.6.0",
"@vitejs/plugin-basic-ssl": "^1.1.0",
"adm-zip": "^0.5.12",
"eslint": "^9.6.0",
"eslint-config-google": "^0.14.0",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-prettier": "^5.1.3",
"fs-extra": "^11.2.0",
"globals": "^15.8.0",
"http-server": "^14.1.1",
"mkdirp": "^3.0.1",
"prettier": "^3.2.5",
"tailwindcss": "^3.4.1",
"vite": "^5.4.8",
"vite-plugin-top-level-await": "^1.4.1"
},
"dependencies": {
"@mediapipe/tasks-genai": "0.10.14",
"@xenova/transformers": "github:xenova/transformers.js#aadeed936af7cc9049e1d238fd4ec70545dfd508",
"dompurify": "3.1.3",
"highlight.js": "11.9.0",
"marked": "12.0.1"
}
}