forked from ArkEcosystem/desktop-wallet
-
Notifications
You must be signed in to change notification settings - Fork 6
/
package.json
231 lines (231 loc) · 7.83 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
{
"private": true,
"name": "phantom-desktop-wallet",
"version": "2.3.2",
"repository": {
"type": "git",
"url": "git+https://github.com/PhantomChain/desktop-wallet.git"
},
"author": "PhantomChain <info@ark.io>",
"contributors": [
"Alex Barnsley <alex@ark.io>",
"ItsANameToo <itsanametoo@protonmail.com>",
"Juan A. Martín <juan@ark.io>",
"Lúcio Rubens <lucio@ark.io>",
"Mario Vega <mario@ark.io>"
],
"description": "Phantom Ecosystem Desktop Wallet",
"license": "MIT",
"bugs": {
"url": "https://github.com/PhantomChain/desktop-wallet/issues"
},
"homepage": "https://github.com/PhantomChain/desktop-wallet#readme",
"main": "./dist/electron/main.js",
"scripts": {
"build": "node .electron-vue/build.js && electron-builder",
"build:win": "node .electron-vue/build.js && electron-builder --win",
"build:win32": "node .electron-vue/build.js && electron-builder --win --ia32",
"build:mac": "node .electron-vue/build.js && electron-builder --mac",
"build:linux": "node .electron-vue/build.js && electron-builder --linux",
"build:dir": "node .electron-vue/build.js && electron-builder --dir",
"build:clean": "cross-env BUILD_TARGET=clean node .electron-vue/build.js",
"build:web": "cross-env BUILD_TARGET=web node .electron-vue/build.js",
"depcheck": "depcheck ./ --ignores @babel/runtime,babel-core,babel-eslint,babel-register,devtron,eslint-config-standard,eslint-plugin-vue,eslint-plugin-import,eslint-plugin-node,eslint-plugin-promise,eslint-plugin-standard,husky,vue-style-loader,autoprefixer,@vue/test-utils,babel-jest,jest-serializer-vue,jest-vue-preprocessor,jest-extended,@tests/unit,animate.css,lint-staged,purgecss,v-tooltip,@xkeshi/vue-qrcode,file-loader,webpack-cli,@config/networks,codecov,intl,tempy",
"dev": "cross-env ENABLE_SCREENSHOT_PROTECTION=false node .electron-vue/dev-runner.js",
"i18n": "vue-i18n-extract -s 'src/**/*.?(js|vue)' -l",
"i18n:all": "vue-i18n-extract -s 'src/**/*.?(js|vue)' -l 'src/renderer/i18n/locales/*.js'",
"i18n:en-US": "vue-i18n-extract -s 'src/**/*.?(js|vue)' -l 'src/renderer/i18n/locales/en-US.js'",
"lint": "eslint --ext .js,.vue -f ./node_modules/eslint-friendly-formatter src __tests__",
"lint:fix": "eslint --ext .js,.vue -f ./node_modules/eslint-friendly-formatter --fix src __tests__",
"pack": "npm run pack:main && npm run pack:renderer",
"pack:main": "cross-env NODE_ENV=production webpack --progress --colors --config .electron-vue/webpack.main.config.js",
"pack:renderer": "cross-env NODE_ENV=production webpack --progress --colors --config .electron-vue/webpack.renderer.config.js",
"postinstall": "electron-builder install-app-deps",
"test": "npm run test:unit && npm run test:e2e:full",
"test:e2e": "jest --config __tests__/e2e.jest.conf.js",
"test:e2e:full": "npm run pack && npm run test:e2e",
"test:unit": "jest --config __tests__/unit.jest.conf.js",
"test:unit:coverage": "jest --config __tests__/unit.jest.conf.js --coverage",
"test:unit:watch": "jest --config __tests__/unit.jest.conf.js --watch"
},
"dependencies": {
"@arkecosystem/ledger-transport": "^0.1.0",
"@babel/runtime": "^7.4.2",
"@ledgerhq/hw-transport-node-hid": "^4.24.0",
"@phantomcores/client": "^0.1.20",
"@phantomcores/crypto": "^2.2.4",
"about-window": "^1.12.1",
"animate.css": "^3.7.0",
"async": "^2.6.2",
"axios": "^0.18.0",
"bignumber.js": "^8.1.1",
"bip38": "^2.0.2",
"bip39": "^2.5.0",
"bs58check": "^2.1.2",
"chart.js": "^2.8.0",
"color": "^3.1.0",
"cycled": "^1.0.0",
"dayjs": "^1.8.11",
"electron-log": "^2.2.17",
"electron-window-state": "^5.0.3",
"emittery": "^0.4.1",
"jsonschema": "^1.2.4",
"localforage": "^1.7.3",
"lodash": "^4.17.11",
"mersenne-twister": "^1.1.0",
"moment": "^2.24.0",
"portal-vue": "^1.5.1",
"postcss-import": "^12.0.1",
"qrious": "^4.0.2",
"semver": "^6.0.0",
"threads": "^0.12.1",
"trunc-html": "^1.1.2",
"v-tooltip": "^2.0.0-rc.33",
"vue": "^2.6.10",
"vue-chartjs": "^3.4.2",
"vue-good-table": "^2.15.3",
"vue-i18n": "^8.9.0",
"vue-qrcode-reader": "^1.4.1",
"vue-router": "^3.0.2",
"vue-spinner": "^1.0.3",
"vue-vuelidate-jsonschema": "^0.13.4",
"vuelidate": "^0.7.4",
"vuex": "^3.1.0",
"vuex-persist": "^2.0.0",
"wif": "^2.0.6"
},
"devDependencies": {
"@babel/core": "^7.4.0",
"@babel/plugin-transform-runtime": "^7.4.0",
"@babel/preset-env": "^7.4.2",
"@vue/test-utils": "^1.0.0-beta.29",
"autoprefixer": "^9.5.0",
"axios-mock-adapter": "^1.16.0",
"babel-core": "^7.0.0-0",
"babel-eslint": "^10.0.1",
"babel-jest": "^24.5.0",
"babel-loader": "^8.0.5",
"babel-plugin-require-context-hook": "^1.0.0",
"babel-register": "^6.26.0",
"babili-webpack-plugin": "^0.1.2",
"cfonts": "^2.4.2",
"chalk": "^2.4.2",
"codecov": "^3.2.0",
"copy-webpack-plugin": "^5.0.2",
"cross-env": "^5.2.0",
"css-loader": "^2.1.1",
"del": "^4.0.0",
"depcheck": "^0.7.2",
"devtron": "^1.4.0",
"electron": "^3.0.11",
"electron-builder": "^20.38.3",
"electron-debug": "^2.0.0",
"electron-devtools-installer": "^2.2.4",
"eslint": "^5.15.3",
"eslint-config-standard": "^12.0.0",
"eslint-friendly-formatter": "^4.0.1",
"eslint-loader": "^2.1.2",
"eslint-plugin-import": "^2.16.0",
"eslint-plugin-node": "^8.0.1",
"eslint-plugin-promise": "^4.0.1",
"eslint-plugin-standard": "^4.0.0",
"eslint-plugin-vue": "^5.2.2",
"file-loader": "^3.0.1",
"glob-all": "^3.1.0",
"html-webpack-plugin": "^3.2.0",
"husky": "^1.3.1",
"intl": "^1.2.5",
"jest": "^24.5.0",
"jest-extended": "^0.11.1",
"jest-serializer-vue": "^2.0.2",
"jest-vue-preprocessor": "^1.5.0",
"lint-staged": "^8.1.5",
"mini-css-extract-plugin": "^0.5.0",
"multispinner": "^0.2.1",
"node-loader": "^0.6.0",
"postcss-loader": "^3.0.0",
"purgecss": "^1.1.0",
"purgecss-webpack-plugin": "^1.4.0",
"rss-parser": "^3.7.0",
"spectron": "^5.0.0",
"svg-sprite-loader": "^4.1.3",
"svgo": "^1.2.0",
"svgo-loader": "^2.2.0",
"tailwindcss": "^0.7.4",
"tempy": "^0.2.1",
"url-loader": "^1.1.2",
"vue-html-loader": "^1.2.4",
"vue-i18n-extract": "^0.4.10",
"vue-loader": "^15.7.0",
"vue-style-loader": "^4.1.2",
"vue-template-compiler": "^2.6.10",
"webpack": "^4.29.6",
"webpack-cli": "^3.3.0",
"webpack-dev-server": "^3.2.1",
"webpack-hot-middleware": "^2.24.3"
},
"build": {
"productName": "Phantom Desktop Wallet",
"appId": "io.phantom.desktop-wallet",
"compression": "maximum",
"artifactName": "${name}-${os}-${arch}-${version}.${ext}",
"protocols": {
"name": "Phantom URI scheme",
"schemes": [
"phantom"
],
"role": "Viewer"
},
"directories": {
"output": "build/target"
},
"files": [
"dist/electron/**/*"
],
"mac": {
"category": "public.app-category.finance",
"icon": "build/icons/icon.icns"
},
"win": {
"target": "nsis",
"icon": "build/icons/icon.ico"
},
"linux": {
"category": "Utility",
"executableName": "phantom-desktop-wallet",
"icon": "build/icons",
"target": [
"AppImage",
"deb",
"tar.gz"
],
"desktop": {
"MimeType": "x-scheme-handler/phantom;"
}
},
"deb": {
"depends": [
"gconf2",
"gconf-service",
"libnotify4",
"libappindicator1",
"libxtst6",
"libnss3",
"libudev-dev"
]
},
"dmg": {
"icon": "build/icons/icon.icns"
},
"nsis": {
"perMachine": true,
"oneClick": false,
"allowToChangeInstallationDirectory": true
}
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
}
}