-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
85 lines (85 loc) · 2.12 KB
/
package.json
File metadata and controls
85 lines (85 loc) · 2.12 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
{
"name": "vocabmaster",
"version": "1.0.0",
"description": "English Vocabulary Learning App",
"main": "dist-electron/main.js",
"scripts": {
"dev": "vite",
"build": "tsc && vite build && electron-builder",
"build:win": "tsc && vite build && electron-builder --win",
"preview": "vite preview",
"electron:dev": "concurrently \"vite\" \"electron .\"",
"typecheck": "tsc --noEmit"
},
"dependencies": {
"date-fns": "^3.3.1",
"framer-motion": "^11.0.8",
"lucide-react": "^0.344.0",
"pdfjs-dist": "^4.10.38",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react-router-dom": "^6.22.3",
"recharts": "^2.12.2",
"sql.js": "^1.10.2",
"tesseract.js": "^5.1.1",
"zustand": "^4.5.2"
},
"devDependencies": {
"@types/react": "^18.2.64",
"@types/react-dom": "^18.2.21",
"@types/sql.js": "^1.4.9",
"@vitejs/plugin-react": "^4.2.1",
"autoprefixer": "^10.4.18",
"concurrently": "^8.2.2",
"electron": "^29.1.0",
"electron-builder": "^24.13.3",
"postcss": "^8.4.35",
"tailwindcss": "^3.4.1",
"typescript": "^5.4.2",
"vite": "^5.1.6",
"vite-plugin-electron": "^0.28.4",
"vite-plugin-electron-renderer": "^0.14.5"
},
"build": {
"appId": "com.vocabmaster.app",
"productName": "VocabMaster",
"directories": {
"output": "release"
},
"asar": true,
"asarUnpack": [
"node_modules/sql.js/**/*"
],
"win": {
"target": [
{
"target": "nsis",
"arch": [
"x64"
]
}
],
"signAndEditExecutable": false,
"icon": "resources/icon.ico"
},
"nsis": {
"oneClick": false,
"allowToChangeInstallationDirectory": true,
"createDesktopShortcut": true,
"shortcutName": "VocabMaster",
"artifactName": "${productName} Setup ${version}.${ext}"
},
"extraResources": [
{
"from": "node_modules/sql.js/dist/sql-wasm.wasm",
"to": "sql-wasm.wasm"
}
],
"files": [
"dist/**/*",
"dist-electron/**/*",
"!node_modules/**/*",
"node_modules/sql.js/**/*"
]
}
}