-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
113 lines (113 loc) · 3.05 KB
/
package.json
File metadata and controls
113 lines (113 loc) · 3.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
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
107
108
109
110
111
112
113
{
"name": "courrier-uex",
"productName": "Courrier-UEX",
"version": "0.4.1",
"description": "Data Courrier for UEX Corp.",
"keywords": [],
"author": "BlueMystic",
"license": "ISC",
"type": "commonjs",
"main": "dist/main/main.js",
"scripts": {
"dev": "vite",
"desa": "concurrently -k \"npm run dev\" \"npm run start:dev\"",
"start:dev": "cross-env VITE_DEV_SERVER_URL=http://localhost:5173 electron src/main/main.js",
"build": "npm run build:renderer && npm run build:main",
"build:renderer": "vite build",
"build:main": "node build-main.js",
"build:win": "npm run build && electron-builder --win",
"copy:latest": "node -e \"const fs=require('fs'),path=require('path');const src=path.join(__dirname,'release','latest.yml');const dst=path.join(__dirname,'release','installer','latest.yml');if(fs.existsSync(src)){fs.copyFileSync(src,dst);console.log('latest.yml copiado OK');}\"",
"prod": "npm run build && electron ."
},
"build": {
"appId": "com.bluemystic.courrier.uex",
"productName": "Courrier-UEX",
"directories": {
"output": "release",
"buildResources": "resources"
},
"publish": {
"provider": "github",
"owner": "BlueMystical",
"repo": "Courrier-UEX",
"releaseType": "release"
},
"files": [
"dist/**/*",
"package.json",
"!dist/renderer/.vite",
"tessdata/**/*"
],
"extraResources": [
{
"from": "resources",
"to": "resources",
"filter": [
"**/*"
]
},
{
"from": ".env",
"to": ".env"
},
{
"from": "tessdata",
"to": "tessdata",
"filter": [
"**/*"
]
}
],
"win": {
"target": [
{
"target": "nsis",
"arch": [
"x64"
]
}
],
"icon": "resources/SC-Courrier-UEX_Logo_01.ico"
},
"nsis": {
"oneClick": false,
"allowElevation": false,
"perMachine": false,
"allowToChangeInstallationDirectory": false,
"createDesktopShortcut": true,
"createStartMenuShortcut": true,
"menuCategory": true,
"shortcutName": "Courrier-UEX",
"runAfterFinish": true,
"include": "resources/installer.nsh",
"artifactName": "courrier-uex-setup-${version}.${ext}",
"differentialPackage": false
}
},
"devDependencies": {
"@vitejs/plugin-vue": "^6.0.3",
"concurrently": "^9.2.1",
"cross-env": "^10.1.0",
"electron": "^40.0.0",
"electron-builder": "^24.13.3",
"unplugin-vue-components": "^31.0.0",
"vite": "^7.3.1"
},
"dependencies": {
"@primeuix/themes": "^2.0.3",
"@primevue/themes": "^4.5.4",
"axios": "^1.13.5",
"dotenv": "^17.3.1",
"electron-log": "^5.4.3",
"electron-updater": "^6.8.3",
"fuse.js": "^7.1.0",
"pinia": "^3.0.4",
"pinia-plugin-persistedstate": "^4.7.1",
"primeicons": "^7.0.0",
"primevue": "^4.5.4",
"sharp": "^0.34.5",
"tesseract.js": "^7.0.0",
"vue": "^3.5.27",
"vue-router": "^4.6.4"
}
}