-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
129 lines (129 loc) · 3.08 KB
/
Copy pathpackage.json
File metadata and controls
129 lines (129 loc) · 3.08 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
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
{
"name": "my-electron-app",
"version": "1.0.0",
"description": "Hello World!",
"main": "main.js",
"homepage": "./",
"scripts": {
"react": "set PORT=3001 && react-scripts start",
"start:electron": "electron .",
"start": "electron-forge start --enable-logging",
"build:react": "set GENERATE_SOURCEMAP=false && react-scripts build",
"build:electron": "electron-builder",
"test": "echo \"No tests specified\" && exit 0",
"build": "npm run build:react && npm run build:electron",
"create-shortcut": "create_shortcut.bat",
"postinstall": "npm run create-shortcut",
"package": "electron-forge package",
"make": "electron-forge make"
},
"author": "Jane Doe",
"license": "MIT",
"engines": {
"node": "^18.16.1"
},
"dependencies": {
"@ant-design/icons": "^5.6.1",
"antd": "^5.24.3",
"auto-launch": "^5.0.6",
"crypto-js": "^4.2.0",
"electron-settings": "^4.0.4",
"electron-squirrel-startup": "^1.0.1",
"idle-detect": "^0.2.0",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react-router-dom": "^6.4.1",
"system-sleep": "^1.3.7",
"web-vitals": "^4.2.4"
},
"devDependencies": {
"@babel/preset-env": "^7.26.9",
"@babel/preset-react": "^7.26.3",
"@electron-forge/cli": "^7.3.0",
"@electron-forge/maker-deb": "^7.8.0",
"@electron-forge/maker-rpm": "^7.8.0",
"@electron-forge/maker-squirrel": "^7.8.0",
"@electron-forge/maker-zip": "^7.8.0",
"@electron-forge/plugin-auto-unpack-natives": "^7.8.0",
"@electron-forge/plugin-fuses": "^7.3.0",
"@electron/rebuild": "^3.2.10",
"concurrently": "^8.2.0",
"electron": "^35.1.2",
"electron-builder": "^24.9.3",
"react-scripts": "^5.0.1"
},
"build": {
"appId": "com.example.my-electron-app",
"productName": "Bank Electron",
"nsis": {
"createDesktopShortcut": true,
"runAfterFinish": true
},
"win": {
"target": "nsis",
"publish": [
{
"provider": "github",
"owner": "Leon-KTlan",
"repo": "Kiosk-bank"
}
]
},
"directories": {
"output": "dist"
},
"files": [
"main.js",
"preload.js",
"build/**/*",
"node_modules/**/*"
],
"extraMetadata": {
"main": "main.js"
},
"extraResources": [
{
"from": "assets/app.ico",
"to": "app.ico"
}
],
"extends": null,
"npmRebuild": false
},
"browserslist": {
"production": [
">0.2%",
"not dead",
"not op_mini all"
],
"development": [
"last 1 chrome version",
"last 1 firefox version",
"last 1 safari version"
]
},
"win": {
"requestedExecutionLevel": "highestAvailable",
"target": [
{
"target": "nsis"
}
]
},
"compilerOptions": {
"module": "commonjs",
"target": "es6",
"jsx": "react",
"baseUrl": ".",
"paths": {
"*": [
"src/*"
]
},
"allowSyntheticDefaultImports": true
},
"repository": {
"type": "git",
"url": "https://github.com/Leon-KTlan/Kiosk-bank.git"
}
}