-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
58 lines (58 loc) · 2.05 KB
/
Copy pathpackage.json
File metadata and controls
58 lines (58 loc) · 2.05 KB
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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
{
"name": "word-by-word-translator",
"private": true,
"version": "0.1.0-beta.1",
"description": "Local-first word-by-word English to Chinese translator for macOS and the web",
"license": "MIT",
"type": "module",
"engines": {
"node": ">=22.13.0"
},
"scripts": {
"dev": "concurrently -k -n api,web -c yellow,cyan \"tsx watch server/index.ts\" \"vite --host 0.0.0.0\"",
"dev:web": "vite --host 0.0.0.0",
"dev:site": "vite site --host 0.0.0.0 --port 4317",
"build": "tsc -b && vite build",
"start": "NODE_ENV=production tsx server/index.ts",
"typecheck": "tsc -b",
"test": "vitest run",
"test:unit": "vitest run server/tokenize.test.ts",
"test:api": "vitest run server/app.test.ts",
"test:smoke": "playwright test",
"test:site": "playwright test --config playwright.site.config.ts",
"check": "npm run typecheck && npm test && npm run build",
"desktop:check": "cargo fmt --manifest-path src-tauri/Cargo.toml -- --check && cargo clippy --manifest-path src-tauri/Cargo.toml --all-targets -- -D warnings && cargo test --manifest-path src-tauri/Cargo.toml && cargo check --manifest-path src-tauri/Cargo.toml",
"desktop:build:app": "tauri build --bundles app",
"tauri": "tauri"
},
"dependencies": {
"@tauri-apps/api": "^2.11.1",
"@tauri-apps/plugin-global-shortcut": "^2.3.1",
"express": "^5.1.0",
"express-rate-limit": "^8.6.2",
"lucide-react": "^1.31.0",
"mammoth": "^1.9.0",
"multer": "^2.2.0",
"pdf-parse": "^1.1.1",
"pdfjs-dist": "^6.2.108",
"react": "^19.1.1",
"react-dom": "^19.1.1"
},
"devDependencies": {
"@playwright/test": "^1.62.1",
"@tauri-apps/cli": "^2.11.4",
"@types/express": "^5.0.3",
"@types/multer": "^2.2.0",
"@types/node": "^26.2.0",
"@types/react": "^19.1.10",
"@types/react-dom": "^19.1.7",
"@vitejs/plugin-react": "^4.7.0",
"concurrently": "^10.0.5",
"tsx": "^4.20.3",
"typescript": "~7.0.2",
"vite": "^7.1.1",
"vitest": "^4.1.10",
"supertest": "^7.1.4",
"@types/supertest": "^7.2.1"
}
}