-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathpackage.json
105 lines (105 loc) · 2.76 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
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
96
97
98
99
100
101
102
103
104
105
{
"name": "juu",
"description": "Starter template for electron apps with: Vite | TanStack Router+Query | tRPC | TailwindCSS | Better-sqlite3 | Drizzle",
"version": "0.0.1",
"author": {
"email": "[email protected]",
"name": "Riku Rainio",
"url": "https://github.com/rikurainio"
},
"repository": {
"url": "https://github.com/rikurainio/Juu"
},
"main": "dist/main/main.js",
"scripts": {
"start": "electron-vite preview",
"dev": "electron-vite dev --watch",
"makeroutes": "npx tsr generate",
"prebuild": "electron-vite build",
"build": "pnpm run prebuild && pnpm run makeroutes && electron-builder",
"db:push": "drizzle-kit push",
"db:generate": "drizzle-kit generate",
"rebuild:electron" :".\\node_modules\\.bin\\electron-rebuild.cmd -f",
"rebuild": "npm rebuild",
"format": "npx @biomejs/biome format ./src",
"lint": "npx @biomejs/biome lint ./src",
"check": "npx @biomejs/biome check --apply ./src"
},
"build": {
"appId": "com.juu.app",
"productName": "juu.template",
"buildDependenciesFromSource": true,
"icon": "assets/icon.png",
"files": [
"dist/**/*"
],
"directories": {
"output": "release/${version}"
},
"mac": {
"target": [
"dmg",
"zip"
]
},
"win": {
"target": [
{
"target": "nsis",
"arch": [
"x64"
]
}
]
},
"linux": {
"target": [
"AppImage",
"deb"
]
},
"nsis": {
"oneClick": false,
"allowToChangeInstallationDirectory": true
}
},
"dependencies": {
"@phosphor-icons/react": "^2.0.15",
"@tanstack/react-query": "^4.0.0",
"@tanstack/react-router": "^1.12.12",
"@tanstack/router-cli": "^1.19.2",
"@trpc/client": "^10.44.1",
"@trpc/react-query": "^10.44.1",
"@trpc/server": "^10.44.1",
"better-sqlite3": "9.2.2",
"clsx": "^2.1.0",
"drizzle-kit": "^0.21.4",
"drizzle-orm": "^0.29.1",
"electron-trpc": "^0.5.2",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"sort-by": "^1.2.0",
"tailwind-merge": "^2.2.1",
"zod": "^3.22.4"
},
"devDependencies": {
"@biomejs/biome": "1.6.1",
"@electron/rebuild": "^3.6.0",
"@tanstack/router-devtools": "^1.12.13",
"@tanstack/router-vite-plugin": "^1.12.8",
"@types/better-sqlite3": "^7.6.8",
"@types/node": "^20.10.3",
"@types/react": "^18.2.42",
"@types/react-dom": "^18.2.17",
"@vitejs/plugin-react": "^4.2.1",
"autoprefixer": "^10.4.18",
"concurrently": "^8.2.2",
"electron": "^28.2.7",
"electron-builder": "^24.9.1",
"electron-vite": "^2.0.0",
"postcss": "^8.4.35",
"tailwindcss": "^3.4.1",
"typescript": "^5.3.2",
"vite": "^5.0.12"
}
}