-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpackage.json
More file actions
106 lines (106 loc) · 3.75 KB
/
package.json
File metadata and controls
106 lines (106 loc) · 3.75 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
96
97
98
99
100
101
102
103
104
105
106
{
"name": "electron-modular-boilerplate",
"private": true,
"version": "1.0.0",
"type": "module",
"main": "dist-main/app.js",
"author": "traeop",
"description": "A production-ready Electron starter template featuring React, Tailwind CSS, and a modular architecture via @devisfuture/electron-modular. Includes pre-configured authentication and auto-update logic.",
"imports": {
"#main/*": "./dist-main/*",
"#shared/*": "./dist-main/@shared/*"
},
"scripts": {
"dev": "npm-run-all --parallel dev:react dev:electron",
"dev:react": "vite",
"dev:electron": "npm run transpile:electron && cross-env NODE_ENV=development electron .",
"build": "tsc -b && vite build",
"lint": "eslint .",
"format": "prettier --write \"src/**/*.{ts,tsx,cts,css,json}\"",
"preview": "vite preview",
"test:unit:renderer": "vitest src/renderer --watch=false",
"test:unit:main": "vitest --config vitest.config.main.ts --watch=false",
"open:mac:prod": "./dist/mac/electron-modular-boilerplate.app/Contents/MacOS/electron-modular-boilerplate",
"transpile:electron": "tsc --project src/main/tsconfig.json",
"build:mac": "npm run transpile:electron && npm run build && electron-builder --mac --x64",
"build:win": "npm run transpile:electron && npm run build && electron-builder --win --x64",
"build:linux": "npm run transpile:electron && npm run build && electron-builder --linux --x64",
"build:mac:publish": "npm run transpile:electron && npm run build && electron-builder --publish always --mac --x64",
"build:win:publish": "npm run transpile:electron && npm run build && electron-builder --publish always --win --x64",
"build:linux:publish": "npm run transpile:electron && npm run build && electron-builder --publish always --linux --x64"
},
"dependencies": {
"@devisfuture/electron-modular": "^1.2.20",
"axios": "^1.10.0",
"clsx": "^2.1.1",
"compare-versions": "^6.1.1",
"dayjs": "^1.11.13",
"dotenv": "^16.4.7",
"electron-log": "^5.4.1",
"electron-store": "^10.1.0",
"electron-updater": "^6.3.9",
"lodash": "^4.17.21",
"lucide-react": "^0.562.0",
"react": "^19.0.0",
"react-dom": "^19.0.0",
"react-router-dom": "^7.4.1",
"react-virtualized-auto-sizer": "^2.0.2",
"react-window": "^2.2.4",
"reflect-metadata": "^0.2.2",
"tailwind-merge": "^3.4.0"
},
"devDependencies": {
"@eslint/js": "^9.21.0",
"@testing-library/jest-dom": "^6.9.1",
"@testing-library/react": "^16.3.0",
"@testing-library/user-event": "^14.6.1",
"@trivago/prettier-plugin-sort-imports": "^6.0.2",
"@types/lodash": "^4.17.16",
"@types/node": "^22.13.14",
"@types/react": "^19.0.10",
"@types/react-dom": "^19.0.4",
"@vitejs/plugin-react": "^4.3.4",
"autoprefixer": "^10.4.20",
"cross-env": "^7.0.3",
"electron": "^38.7.2",
"electron-builder": "^25.1.8",
"eslint": "^9.21.0",
"eslint-plugin-react-hooks": "^5.1.0",
"eslint-plugin-react-refresh": "^0.4.19",
"globals": "^15.15.0",
"jsdom": "^27.2.0",
"npm-run-all": "^4.1.5",
"postcss": "^8.4.49",
"prettier": "^3.7.4",
"tailwindcss": "^3.4.17",
"typescript": "~5.7.2",
"typescript-eslint": "^8.24.1",
"vite": "^6.2.0",
"vitest": "^3.1.1"
},
"repository": {
"type": "git",
"url": "https://github.com/trae-op/electron-modular-boilerplate.git"
},
"keywords": [
"electron",
"di",
"ipc",
"windows",
"decorators",
"dependency-injection",
"modular-architecture",
"di-container",
"inversion-of-control",
"decorator-pattern",
"main-process",
"renderer-process",
"esm",
"reflect-metadata",
"lifecycle-hooks",
"provider-pattern",
"electron-node",
"electron-modules",
"electron-architecture"
]
}