-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathpackage.json
More file actions
95 lines (95 loc) · 3.02 KB
/
package.json
File metadata and controls
95 lines (95 loc) · 3.02 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
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
{
"name": "hackdesk",
"description": "📝 A hackable HackMD desktop application",
"private": true,
"version": "0.0.7",
"type": "module",
"engines": {
"node": ">=20.19",
"pnpm": ">=8"
},
"scripts": {
"dev": "tauri dev",
"build": "tauri build",
"frontend:dev": "vite",
"frontend:build": "tsc && vite build",
"frontend:preview": "vite preview",
"lint:ts": "eslint . --fix --cache",
"lint:rs": "cd src-tauri && cargo fmt && cargo clippy --fix --allow-dirty --allow-staged && cd -",
"lint:cargo": "cargo clippy --manifest-path src-tauri/Cargo.toml -- -D warnings",
"check": "pnpm run lint:ts && pnpm run lint:cargo",
"version:check": "node scripts/check-version.js",
"prerelease": "pnpm run version:check",
"test": "pnpm run test:rust && pnpm run test:frontend",
"test:frontend": "vitest run",
"test:rust": "cd src-tauri && cargo test",
"test:ui": "vitest --ui",
"test:coverage": "vitest --coverage",
"release": "npx standard-version && git push --follow-tags",
"docs:dev": "vitepress dev docs",
"docs:build": "vitepress build docs",
"docs:preview": "vitepress preview docs"
},
"author": "Michael Wang <michael19920327@gmail.com> (https://github.com/EastSun5566)",
"repository": {
"type": "git",
"url": "https://github.com/EastSun5566/hackdesk"
},
"license": "AGPL-3.0",
"dependencies": {
"@hookform/resolvers": "^5.2.2",
"@monaco-editor/react": "^4.7.0",
"@radix-ui/react-dialog": "^1.1.15",
"@tanstack/react-query": "^5.90.10",
"@tauri-apps/api": "^2.9.0",
"@tauri-apps/plugin-fs": "^2.4.4",
"@tauri-apps/plugin-opener": "^2.5.2",
"@tauri-apps/plugin-store": "^2.4.2",
"clsx": "^2.1.1",
"cmdk": "^1.1.1",
"fuse.js": "^7.1.0",
"lucide-react": "^0.291.0",
"react": "^18.3.1",
"react-dom": "^18.3.1",
"react-hook-form": "^7.71.1",
"react-router-dom": "^6.30.2",
"sonner": "^2.0.7",
"tailwind-merge": "^2.6.0",
"tailwindcss-animate": "^1.0.7",
"zod": "^4.3.5"
},
"devDependencies": {
"@tailwindcss/postcss": "^4.1.17",
"@tauri-apps/cli": "^2.9.4",
"@testing-library/jest-dom": "^6.9.1",
"@testing-library/react": "^16.3.1",
"@testing-library/user-event": "^14.6.1",
"@types/node": "^20.19.25",
"@types/react": "^18.3.27",
"@types/react-dom": "^18.3.7",
"@typescript-eslint/eslint-plugin": "^8.18.2",
"@typescript-eslint/parser": "^8.18.2",
"@vitejs/plugin-react": "^4.3.4",
"@vitest/ui": "^4.0.17",
"eslint": "^9.17.0",
"eslint-plugin-react": "^7.37.5",
"eslint-plugin-react-hooks": "^5.1.0",
"globals": "^16.5.0",
"jsdom": "^27.4.0",
"lint-staged": "^15.5.2",
"postcss": "^8.5.6",
"simple-git-hooks": "^2.13.1",
"tailwindcss": "^4.1.17",
"typescript": "^5.9.3",
"vite": "^7.3.2",
"vitepress": "^1.6.4",
"vitest": "^4.0.17"
},
"simple-git-hooks": {
"pre-commit": "npx lint-staged"
},
"lint-staged": {
"*.(ts|tsx)": "pnpm run lint:ts",
"*.rs": "pnpm run lint:rs"
}
}