-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
81 lines (81 loc) · 2.17 KB
/
package.json
File metadata and controls
81 lines (81 loc) · 2.17 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
{
"name": "ubu-electrical-basic",
"productName": "UBUElectricalBasic",
"private": true,
"version": "0.3.5",
"description": "UBUElectricalBasic — IEC 60617 schematic editor, circuit analysis, and linear SISO control-system block diagrams. By UBU Faculty of Engineering.",
"license": "Apache-2.0",
"author": {
"name": "UBU Faculty of Engineering",
"email": "thummaros.r@ubu.ac.th"
},
"main": "electron/main.cjs",
"scripts": {
"dev": "vite",
"build": "tsc -b && vite build",
"preview": "vite preview",
"icon": "node scripts/build-icon.cjs",
"test": "vitest run",
"test:watch": "vitest",
"electron:dev": "vite build && electron .",
"electron:start": "electron .",
"dist": "npm run icon && npm run build && electron-builder --win nsis"
},
"dependencies": {
"@xyflow/react": "^12.3.5",
"react": "^18.3.1",
"react-dom": "^18.3.1",
"zustand": "^4.5.5"
},
"devDependencies": {
"@types/node": "^20.16.5",
"@types/react": "^18.3.5",
"@types/react-dom": "^18.3.0",
"@vitejs/plugin-react": "^4.3.1",
"autoprefixer": "^10.4.20",
"electron": "^33.2.0",
"electron-builder": "^25.1.8",
"png-to-ico": "^3.0.1",
"postcss": "^8.4.45",
"sharp": "^0.34.5",
"tailwindcss": "^3.4.10",
"typescript": "^5.5.4",
"vite": "^5.4.5",
"vitest": "^4.1.7"
},
"build": {
"appId": "ac.th.ubu.eng.ubu-electrical-basic",
"productName": "UBUElectricalBasic",
"directories": {
"output": "release"
},
"files": [
"dist/**/*",
"electron/**/*",
"build/icon.ico",
"package.json"
],
"win": {
"target": [
{
"target": "nsis",
"arch": [
"x64"
]
}
],
"icon": "build/icon.ico",
"artifactName": "${productName}-Setup-${version}-${arch}.${ext}"
},
"nsis": {
"oneClick": false,
"perMachine": false,
"allowToChangeInstallationDirectory": true,
"createDesktopShortcut": true,
"createStartMenuShortcut": true,
"shortcutName": "UBUElectricalBasic",
"installerIcon": "build/icon.ico",
"uninstallerIcon": "build/icon.ico"
}
}
}