forked from dhealthproject/dhealth-wallet
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
252 lines (252 loc) · 9.37 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
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
{
"name": "dhealth-wallet",
"description": "dHealth Wallet",
"homepage": "https://github.com/dhealthproject/dhealth-wallet",
"version": "1.3.1",
"license": "Apache-2.0",
"author": {
"name": "Using Blockchain Ltd",
"email": "[email protected]",
"url": "https://using-blockchain.org"
},
"contributors": [
{
"name": "Grégory Saive",
"email": "[email protected]",
"url": "https://ubc.digital"
},
{
"name": "dHealth Foundation",
"email": "[email protected]"
},
{
"name": "NEM Group",
"email": "[email protected]"
}
],
"repository": {
"type": "git",
"url": "https://github.com/dhealthproject/dhealth-wallet.git"
},
"main": "public/bundler.js",
"scripts": {
"start": "npm run node-hid:prebuild-install && electron .",
"build": "npm run build:clean && npm run build:tsc && npm run build:vue",
"test": "vue-cli-service test:unit",
"lint": "npm run prettier && npm run eslint",
"dev": "vue-cli-service serve",
"version": "echo $npm_package_version",
"build:clean": "rimraf dist && mkdir dist",
"build:tsc": "tsc",
"build:vue": "vue-cli-service build",
"electron-rebuild": "$(npm bin)/electron-rebuild",
"eslint": "eslint src/ --ext .ts && eslint src/ --ext .vue && eslint __tests__/ --ext .ts && eslint __mocks__/ --ext .ts",
"eslint:fix": "eslint src/ --ext .ts --fix && eslint src/ --ext .vue --fix && eslint __tests__/ --ext .ts --fix && eslint __mocks__/ --ext .ts --fix",
"lint:fix": "npm run prettier:fix && npm run eslint:fix",
"node-hid:prebuild-install": "cd ./node_modules/node-hid && npm run install && cd ../..",
"node-hid:prebuild-install:lin": "export npm_config_platform=linux && npm run node-hid:prebuild-install",
"node-hid:prebuild-install:mac": "export npm_config_platform=darwin && npm run node-hid:prebuild-install",
"node-hid:prebuild-install:win": "export npm_config_platform=win32 && npm run node-hid:prebuild-install",
"prettier": "prettier --check ./src ./__tests__ ./__mocks__",
"prettier:fix": "prettier --write ./src ./__tests__ ./__mocks__",
"release": "npm run build && npm run release:all",
"release:all": "npm run release:win && npm run release:lin && npm run release:mac && npm run release:zip",
"release:lin": "npm run node-hid:prebuild-install:lin && electron-builder --linux deb snap tar.xz",
"release:mac": "npm run node-hid:prebuild-install:mac && electron-builder --mac",
"release:win": "npm run node-hid:prebuild-install:win && electron-builder --win",
"release:zip": "npm-build-zip --source=dist --destination=release --name=all",
"plugins:install": "npm run node-hid:prebuild-install && electron public/plugins.js"
},
"dependencies": {
"@dhealth/plugin-node-monitor": "latest",
"@dhealth/sdk": "1.0.3-alpha-202201201200",
"@dhealth/wallet-api-bridge": "^1.3.0",
"@dhealth/wallet-components": "^1.3.0",
"@dhealthdapps/bridge": "latest",
"@dhealthdapps/health-to-earn": "latest",
"@fortawesome/fontawesome-svg-core": "1.2.35",
"@fortawesome/free-solid-svg-icons": "5.15.3",
"@fortawesome/vue-fontawesome": "2.0.2",
"@js-joda/core": "^3.2.0",
"@ledgerhq/hw-transport-node-hid-noevents": "^5.51.1",
"@ledgerhq/hw-transport-webusb": "^5.51.1",
"@yourdlt/plugin-dummy": "latest",
"@yourdlt/plugin-librarian": "latest",
"@yourdlt/plugin-ninjazzz": "latest",
"animate.css": "^3.7.2",
"await-lock": "^2.0.1",
"axios": "0.21.1",
"bip32-path": "^0.4.2",
"call-bind": "^1.0.2",
"decamelize": "^5.0.0",
"electron-context-menu": "^2.5.2",
"electron-localshortcut": "^3.2.1",
"electron-plugin-manager": "^1.2.0",
"file-saver": "^2.0.2",
"json2csv": "^5.0.6",
"lodash": "^4.17.21",
"pacote": "^12.0.0",
"request": "^2.88.0",
"rss-parser": "^3.12.0",
"rxjs": "^6.6.7",
"symbol-address-book": "^1.0.0",
"symbol-hd-wallets": "0.14.1-alpha-202103051108",
"symbol-paper-wallets": "^1.0.2",
"symbol-qr-library": "0.14.1-alpha-202103081047",
"symbol-sdk": "1.0.2-alpha-202108061451",
"symbol-uri-scheme": "0.6.0",
"trezor-connect": "^7.0.5",
"utf8": "^3.0.0",
"vee-validate": "^3.2.3",
"view-design": "^4.5.0",
"vue": "^2.6.10",
"vue-class-component": "^7.0.2",
"vue-i18n": "^8.24.4",
"vue-infinite-scroll": "^2.0.2",
"vue-loader": "^15.9.7",
"vue-moment": "^4.1.0",
"vue-number-animation": "1.0.5",
"vue-pdf": "^4.2.0",
"vue-property-decorator": "^8.1.0",
"vue-qrcode-reader": "3.0.0",
"vue-responsive-video-background-player": "^1.1.4",
"vue-router": "^3.5.1",
"vue-rx": "^6.2.0",
"vue-style-loader": "^4.1.3",
"vue-toastification": "^1.7.11",
"vuedraggable": "^2.23.2",
"vuex": "^3.6.2"
},
"devDependencies": {
"@babel/compat-data": "^7.14.0",
"@babel/core": "^7.14.2",
"@types/file-saver": "^2.0.2",
"@types/jest": "^23.3.1",
"@types/json2csv": "^5.0.2",
"@types/lodash": "^4.14.169",
"@types/node": "^12.20.13",
"@types/request": "^2.47.1",
"@types/vue-moment": "^4.0.0",
"@typescript-eslint/eslint-plugin": "^2.15.0",
"@typescript-eslint/parser": "^2.15.0",
"@vue/cli-plugin-babel": "^4.5.13",
"@vue/cli-plugin-typescript": "^4.5.13",
"@vue/cli-plugin-unit-jest": "^4.5.13",
"@vue/cli-service": "^4.5.13",
"@vue/compiler-sfc": "^3.2.31",
"@vue/eslint-config-typescript": "^5.0.1",
"@vue/test-utils": "^1.2.0",
"babel-core": "7.0.0-bridge.0",
"babel-jest": "^25.2.6",
"babel-plugin-syntax-dynamic-import": "^6.18.0",
"babel-preset-env": "^1.7.0",
"bufferutil": "^4.0.1",
"cross-env": "^5.1.1",
"electron": "11.4.6",
"electron-builder": "22.9.1",
"electron-notarize": "1.0.0",
"electron-packager": "15.2.0",
"electron-rebuild": "^2.3.5",
"electron-updater": "4.3.5",
"eslint": "^6.8.0",
"eslint-config-prettier": "^6.11.0",
"eslint-plugin-prettier": "^3.4.0",
"eslint-plugin-vue": "^6.1.2",
"file-loader": "^6.2.0",
"flush-promises": "^1.0.2",
"fork-ts-checker-webpack-plugin": "^6.4.0",
"google-fonts-webpack-plugin": "^0.4.4",
"identity-obj-proxy": "^3.0.0",
"jest": "^25.2.6",
"js-sha3": "^0.8.0",
"less": "^3.0.4",
"less-loader": "^4.1.0",
"moment-timezone": "^0.5.33",
"node-pre-gyp": "^0.13.0",
"npm-build-zip": "^1.0.3",
"postcss-import": "^12.0.1",
"postcss-pxtorem": "^4.0.1",
"prettier": "2.0.5",
"rimraf": "^3.0.2",
"ts-jest": "^25.3.0",
"ts-mockito": "^2.6.1",
"typescript": "^3.9.9",
"utf-8-validate": "^5.0.5",
"vue-jest": "^3.0.5",
"vue-template-compiler": "^2.6.10"
},
"build": {
"appId": "network.dhealth.wallet",
"extends": null,
"copyright": "Copyright © 2021 dHealth Network",
"productName": "dHealth Wallet",
"artifactName": "${name}-${os}-${arch}-${version}.${ext}",
"icon": "./dist/assets/icons/Icon.icns",
"files": [
"dist/**/*",
"package.json",
"public/plugins",
"public/bundler.js",
"public/preload.js"
],
"directories": {
"buildResources": "assets",
"output": "release"
},
"npmRebuild": false,
"protocols": [
{
"name": "network.dhealth.wallet",
"schemes": [
"web+symbol",
"web+dhealth",
"symbol",
"dhealth"
]
}
]
},
"dmg": {
"window": {
"x": 100,
"y": 100,
"width": 500,
"height": 400
}
},
"mac": {
"category": "public.app-category.finance",
"target": "dmg",
"icon": "./dist/assets/icons/Icon.icns",
"hardenedRuntime": true,
"gatekeeperAssess": false,
"asarUnpack": [
"**/*.node"
],
"entitlements": "./electron/entitlements.mac.plist",
"extendInfo": {
"NSCameraUsageDescription": "This app requires camera access to scan qrcodes.",
"CFBundleURLSchemes": [
"network.dhealth.wallet",
"web+symbol",
"web+dhealth",
"symbol",
"dhealth"
]
}
},
"nsis": {
"oneClick": false,
"perMachine": false,
"allowToChangeInstallationDirectory": true,
"publisherName": "dHealth Network",
"installerIcon": "./dist/assets/icons/favicon.dhealth.ico"
},
"linux": {
"category": "Network",
"icon": "./dist/assets/icons/Icon.icns"
},
"resolutions": {
"@babel/preset-env": "7.5.5"
}
}