-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathpackage.json
187 lines (187 loc) · 6.3 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
180
181
182
183
184
185
186
187
{
"name": "lumerin-wallet-desktop",
"version": "1.3.4",
"engines": {
"node": ">=14"
},
"author": {
"name": "Lumerin",
"email": "[email protected]",
"url": "https://lumerin.io"
},
"description": "Lumerin Wallet for desktop devices",
"repository": "https://github.com/Lumerin-protocol/WalletDesktop",
"license": "MIT",
"homepage": "./",
"main": "public/electron.js",
"copyright": "Copyright © 2023 Titan Industries (Global) Co. Ltd.",
"scripts": {
"init": "npm run dev:setup && npm run dev:link",
"dev:setup": "./scripts/dev_setup.sh",
"dev:link": "./scripts/dev_link_repos.sh",
"debug": "concurrently \"BROWSER=none react-scripts start\" \"wait-on $npm_package_config_cra_dev_serv && ELECTRON_START_URL=$npm_package_config_cra_dev_serv electron . --inspect\"",
"dev": "npm run clear-electron-cache && concurrently \"BROWSER=none react-scripts start\" \"wait-on $npm_package_config_cra_dev_serv && DEBUG=true ELECTRON_START_URL=$npm_package_config_cra_dev_serv electron . \"",
"dev-win": "set BROWSER=none && concurrently \"react-scripts start\" \"npm run dev-win:window\"",
"dev-win:window": "set DEBUG=true && set ELECTRON_START_URL=http://localhost:3000 && electron .",
"web-build": "npm run clear-cache:eslint && react-scripts build",
"desktop-build": "PYTHON_PATH=/usr/local/bin/python electron-builder -wlm --c.extraMetadata.main=build/electron.js --publish=never",
"desktop-build-mac": "electron-builder -m --c.extraMetadata.main=build/electron.js --publish=never",
"desktop-build-mac-arm": "electron-builder -m --c.extraMetadata.main=build/electron.js --arm64 --publish=never",
"desktop-build-linux": "electron-builder -l --c.extraMetadata.main=build/electron.js --publish=never",
"desktop-build-win": "electron-builder -w --c.extraMetadata.main=build/electron.js --publish=never",
"dist": "npm run web-build && npm run desktop-build",
"env": "run-script-os",
"env:win32": ".\\scripts\\env.bat",
"env:darwin:linux": "./scripts/env.sh",
"ppa": "./scripts/ppa.sh",
"postinstall": "patch-package && electron-builder install-app-deps",
"postinstallMacDist": "electron-builder install-app-deps --arch arm64",
"prepare": "husky install",
"release": "gh release create 1.0.16 ./dist/*.exe ./dist/*.dmg ./dist/*.deb",
"release-init": "./scripts/release",
"publish": "electron-builder --publish always",
"clear-electron-cache": "rm -rf '~/Library/Application Support/lumerin-wallet-desktop'",
"clear-cache:eslint": "rm -rf node_modules/.cache/eslint-loader"
},
"dependencies": {
"@electron/remote": "2.0.9",
"@lumerin/wallet-core": "github:Lumerin-protocol/WalletCore#1.1.1",
"@reach/menu-button": "0.17.0",
"@tabler/icons": "1.119.0",
"axios": "0.27.2",
"babel-preset-env": "1.7.0",
"babel-preset-es2015": "6.24.1",
"bignumber.js": "7.2.1",
"bip39": "2.5.0",
"chalk": "2.4.2",
"credential-plus": "2.0.7",
"credential-plus-pbkdf2": "2.0.4",
"cuid": "2.1.6",
"dotenv": "5.0.1",
"electron-context-menu": "3.1.1",
"electron-debug": "3.2.0",
"electron-is-dev": "2.0.0",
"electron-log": "4.3.0",
"electron-settings": "4.0.2",
"electron-updater": "6.1.4",
"electron-window-state": "5.0.3",
"highcharts": "11.1.0",
"highcharts-react-official": "3.2.1",
"json-stringify-safe": "5.0.1",
"keytar": "7.9.0",
"lodash": "4.17.21",
"marked-react": "1.3.2",
"moment": "2.29.4",
"moment-precise-range-plugin": "1.3.0",
"nedb": "1.8.0",
"p-timeout": "4.1.0",
"patch-package": "6.4.7",
"qrcode.react": "3.1.0",
"raven": "2.6.4",
"raven-js": "3.27.0",
"rc-slider": "10.2.1",
"react": "16.14.0",
"react-dom": "16.14.0",
"react-hint": "3.2.1",
"react-hook-form": "7.43.0",
"react-modal": "3.15.1",
"react-motion": "0.5.2",
"react-redux": "7.2.6",
"react-router": "4.3.1",
"react-router-dom": "4.3.1",
"react-script-hook": "1.7.2",
"react-scripts": "3.4.1",
"react-select": "5.7.2",
"react-tabs": "4.3.0",
"react-timer-hook": "3.0.5",
"react-virtualized": "9.20.1",
"redux": "4.2.0",
"redux-actions": "2.3.0",
"reselect": "3.0.1",
"smart-round": "1.0.0",
"styled-components": "4.1.2",
"universal-analytics": "0.4.20",
"use-interval": "1.4.0",
"web3-utils": "1.3.6",
"zxcvbn3": "0.1.1"
},
"devDependencies": {
"concurrently": "6.2.0",
"electron": "18.3.15",
"electron-builder": "24.6.3",
"electron-devtools-installer": "3.2.0",
"electron-notarize": "1.0.0",
"expect": "22.4.3",
"husky": "7.0.0",
"jest-electron": "0.1.12",
"lint-staged": "11.0.0",
"prettier": "1.19.1",
"proxyquire": "2.1.3",
"react-testing-library": "1.10.0",
"run-script-os": "1.1.6",
"wait-on": "6.0.0"
},
"build": {
"appId": "io.lumerin.wallet.desktop",
"generateUpdatesFilesForAllChannels": true,
"productName": "Lumerin Wallet",
"files": [
".env",
"build/**/*",
"node_modules/**/*"
],
"directories": {
"buildResources": "assets"
},
"extraResources": [
"executables/**/*"
],
"nsis": {
"include": "assets/installer.nsh"
},
"mac": {
"artifactName": "${name}-${arch}.${ext}",
"category": "public.app-category.finance",
"icon": "./assets/lumerin.png",
"extendInfo": {
"NSUserNotificationAlertStyle": "alert"
},
"electronUpdaterCompatibility": ">= 2.16",
"hardenedRuntime": true,
"gatekeeperAssess": false,
"entitlements": "./entitlements.mac.plist",
"entitlementsInherit": "./entitlements.mac.plist",
"publish": "github"
},
"linux": {
"artifactName": "${name}.${ext}",
"category": "Office;Finance",
"target": [
"deb"
],
"icon": "./assets/lumerin.png",
"publish": "github"
},
"win": {
"artifactName": "${name}.${ext}",
"target": "nsis",
"icon": "./assets/lumerin.png",
"legalTrademarks": "",
"publish": "github"
}
},
"config": {
"cra_dev_serv": "http://localhost:3000"
},
"browserslist": [
">0.2%",
"not dead",
"not ie <= 11",
"not op_mini all"
],
"lint-staged": {
"src/**/*.{js,json,css,md}": [
"prettier --write --config src/.prettierrc.json"
]
}
}