forked from seriouscatsoserious/Electron-DC-Launcher
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
179 lines (179 loc) · 5.22 KB
/
package.json
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
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
{
"name": "drivechain-launcher",
"version": "0.1.0",
"private": true,
"description": "Drivechain Launcher Application",
"author": {
"name": "Drivechain",
"email": "support@drivechain.info"
},
"main": "public/electron.js",
"homepage": "./",
"dependencies": {
"@electron/remote": "^2.1.1",
"@fortawesome/fontawesome-svg-core": "^6.6.0",
"@fortawesome/free-regular-svg-icons": "^6.6.0",
"@fortawesome/free-solid-svg-icons": "^6.6.0",
"@fortawesome/react-fontawesome": "^0.2.2",
"@grpc/grpc-js": "^1.12.5",
"@grpc/proto-loader": "^0.7.13",
"@primer/octicons-react": "^19.14.0",
"@reduxjs/toolkit": "^2.2.6",
"@testing-library/jest-dom": "^5.17.0",
"@testing-library/react": "^13.4.0",
"@testing-library/user-event": "^13.5.0",
"adm-zip": "^0.5.14",
"axios": "^1.7.2",
"bip39": "^3.1.0",
"bitcoinjs-lib": "^6.1.7",
"canvas-confetti": "^1.9.3",
"concurrently": "^8.2.2",
"cross-env": "^7.0.3",
"electron-dl": "^4.0.0",
"electron-is-dev": "^2.0.0",
"electron-store": "^10.0.0",
"hdkey": "^2.1.0",
"lucide-react": "^0.417.0",
"phosphor-react": "^1.4.1",
"react": "^18.3.1",
"react-dom": "^18.3.1",
"react-icons": "^5.2.1",
"react-redux": "^9.1.2",
"react-router-dom": "^6.25.1",
"react-scripts": "5.0.1",
"redux": "^5.0.1",
"tar": "^7.4.3",
"wait-on": "^7.2.0",
"web-vitals": "^2.1.4"
},
"scripts": {
"react-start": "react-scripts start",
"react-build": "react-scripts build",
"react-test": "react-scripts test",
"react-eject": "react-scripts eject",
"electron-build": "electron-builder",
"build": "npm run react-build && npm run electron-build",
"start": "concurrently \"cross-env BROWSER=none npm run react-start\" \"wait-on http://localhost:3000 && electron --no-sandbox .\"",
"start:prod": "concurrently \"cross-env NODE_ENV=production BROWSER=none npm run react-start\" \"wait-on http://localhost:3000 && cross-env NODE_ENV=production electron --no-sandbox .\"",
"generate-icons": "node scripts/generate-icons.js"
},
"eslintConfig": {
"extends": [
"react-app",
"react-app/jest"
]
},
"jest": {
"transformIgnorePatterns": [
"node_modules/(?!(axios)/)"
],
"transform": {
"^.+\\.[t|j]sx?$": "babel-jest"
}
},
"browserslist": {
"production": [
">0.2%",
"not dead",
"not op_mini all"
],
"development": [
"last 1 chrome version",
"last 1 firefox version",
"last 1 safari version"
]
},
"build": {
"appId": "com.drivechain.launcher",
"productName": "Drivechain Launcher",
"files": [
"build/**/*",
"public/**/*",
{
"from": "src/data/proto",
"to": "src/data/proto"
},
{
"from": "node_modules/@grpc/proto-loader/node_modules/google-proto-files/google",
"to": "src/data/proto/google"
}
],
"directories": {
"buildResources": "public",
"output": "dist"
},
"linux": {
"target": [
{
"target": "AppImage",
"arch": [
"x64"
]
},
{
"target": "deb",
"arch": [
"x64"
]
}
],
"category": "Development",
"artifactName": "Drivechain-Launcher-${version}.${ext}",
"asarUnpack": [
"node_modules/@grpc"
],
"maintainer": "Drivechain <support@drivechain.info>",
"executableName": "drivechain-launcher",
"executableArgs": [
"--no-sandbox"
],
"icon": "public"
},
"win": {
"target": "nsis",
"artifactName": "Drivechain-Launcher-Setup-${version}.${ext}",
"icon": "public/icon.ico"
},
"nsis": {
"oneClick": true,
"createDesktopShortcut": false,
"runAfterFinish": false,
"include": "installer.nsh"
},
"mac": {
"target": [
{
"target": "dmg",
"arch": [
"x64",
"arm64"
]
}
],
"category": "public.app-category.developer-tools",
"artifactName": "Drivechain-Launcher-${version}-${arch}.${ext}",
"icon": "public/icon.icns",
"hardenedRuntime": true,
"gatekeeperAssess": false,
"entitlements": "entitlements.mac.plist",
"entitlementsInherit": "entitlements.mac.plist",
"extendInfo": {
"NSAppleEventsUsageDescription": "Please allow access to script browser applications to detect drivechain nodes.",
"NSCameraUsageDescription": "Application requests access to the device's camera.",
"NSMicrophoneUsageDescription": "Application requests access to the device's microphone.",
"NSDocumentsFolderUsageDescription": "Application requests access to the user's Documents folder.",
"NSDownloadsFolderUsageDescription": "Application requests access to the user's Downloads folder."
}
}
},
"devDependencies": {
"@babel/plugin-proposal-private-property-in-object": "^7.21.11",
"@babel/plugin-transform-modules-commonjs": "^7.26.3",
"@babel/preset-env": "^7.26.0",
"babel-jest": "^29.7.0",
"electron": "^28.1.0",
"electron-builder": "^24.9.1",
"png2icons": "^2.0.1",
"prettier": "^3.3.3"
}
}