-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathpackage.json
165 lines (165 loc) · 4.74 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
{
"name": "bytom-wallet",
"productName": "Bytom Wallet2",
"build": {
"electronVersion": "1.8.3",
"appId": "io.bytom.desktop",
"directories": {
"buildResources": "./",
"output": "desktop"
},
"files": [
"node_modules/**/*",
"main.js",
"modules/**/*",
"static/**/*",
"public/**",
"!node_modules/electron/",
"!node_modules/electron/**/*"
],
"mac": {
"icon": "static/images/app-icon/mac/app.icns",
"artifactName": "${name}-desktop-${version}-${os}.${ext}",
"category": "public.app-category.wallet",
"extraResources": "bytomd/bytomd-darwin_amd64",
"target": "zip"
},
"dmg": {
"contents": [
{
"x": 129,
"y": 250
},
{
"x": 410,
"y": 247,
"type": "link",
"path": "/Applications"
}
]
},
"nsis": {
"perMachine": true,
"oneClick": false
},
"win": {
"icon": "static/images/app-icon/win/app.ico",
"artifactName": "${name}-desktop-${version}-${os}-${arch}.${ext}",
"extraResources": "bytomd/bytomd-windows_${env.ARCH_VARIABLE}.exe",
"target": "zip"
},
"linux": {
"maintainer": "bytom contributors <zhiting.fly@bytom.io>",
"artifactName": "${name}-desktop-${version}-${os}-${arch}.${ext}",
"executableName": "Bytom Wallet",
"extraResources": "bytomd/bytomd-linux_${env.ARCH_VARIABLE}",
"target": "zip",
"category": "Finance",
"packageCategory": "wallet",
"icon": "static/images/app-icon/png/app.png"
},
"asar": true
},
"version": "2.0.0",
"description": "Bytom Wallet Desktop",
"main": "main.js",
"scripts": {
"build:dll": "node ./bin/dependencies.js",
"postinstall": "npm run build:dll",
"electron-dev": "DEV_URL=http://localhost:3000/index.html electron --inspect=5858 main.js .",
"build": "NODE_ENV=production webpack --config webpack/webpack.app.js ",
"lint": "eslint \"src/**\"",
"start": "hjs-dev-server webpack/webpack.app.js --hot --host 0.0.0.0",
"generate-component": "babel-node bin/generate.js component",
"package": "npm-run-all package:* ",
"package:mac": "electron-builder -m ",
"package:win-64": "ARCH_VARIABLE=amd64 electron-builder --win --x64 ",
"package:linux-64": "ARCH_VARIABLE=amd64 electron-builder -l --x64"
},
"author": "Bytom",
"license": "AGPL-3.0-only",
"browserslist": [
"> 1%",
"last 3 versions",
"Safari >= 8"
],
"dependencies": {
"babel-polyfill": "~6.16.0",
"babel-register": "~6.22.0",
"bignumber.js": "^7.2.1",
"bootstrap-sass": "~3.4.1",
"btoa": "^1.1.2",
"classnames": "~2.2.5",
"electron-settings": "~3.1.4",
"fetch-ponyfill": "~3.0.2",
"glob": "~7.1.2",
"i18next": "^11.9.1",
"i18next-browser-languagedetector": "^2.2.3",
"lodash": "~4.17.14",
"log4js": "^3.0.5",
"mem": "^5.1.1",
"moment": "^2.22.1",
"moment-timezone": "^0.5.17",
"net": "^1.0.2",
"pluralize": "~3.0.0",
"prop-types": "^15.6.2",
"qrcode": "^1.3.3",
"react": "~15.5.0",
"react-ace": "~6.2.0",
"react-autosuggest": "~9.4.2",
"react-bootstrap": "~0.30.3",
"react-dom": "~15.5.0",
"react-i18next": "^8.0.7",
"react-markdown": "^2.5.0",
"react-overlays": "~0.8.3",
"react-redux": "~4.4.5",
"react-router": "~2.6.0",
"react-router-redux": "~4.0.5",
"react-router-scroll": "~0.3.2",
"redux": "~4.0.4",
"redux-form": "~5.3.6",
"redux-thunk": "~2.1.0",
"reselect": "^3.0.0",
"sha.js": "^2.4.8",
"tcp-port-used": "^1.0.1",
"toml": "~2.3.3",
"uuid": "~2.0.2"
},
"devDependencies": {
"autoprefixer": "~6.7.7",
"babel-cli": "~6.26.0",
"babel-core": "~6.11.4",
"babel-eslint": "~7.0.0",
"babel-loader": "~6.2.4",
"babel-plugin-transform-object-rest-spread": "~6.8.0",
"babel-preset-es2015": "~6.9.0",
"babel-preset-react": "~6.5.0",
"babel-preset-react-hmre": "~1.1.1",
"bootstrap-loader": "~1.0.10",
"braces": "^3.0.2",
"chai": "~3.5.0",
"chai-as-promised": "~6.0.0",
"command-line-args": "~3.0.1",
"command-line-commands": "~1.0.4",
"css-loader": "0.26.1",
"electron": "~1.8.8",
"electron-builder": "^22",
"eslint": "~4.18.2",
"eslint-plugin-react": "~7.14.2",
"extend": "~3.0.2",
"file-loader": "~0.9.0",
"hjs-webpack": "~8.4.3",
"js-yaml": "^3.13.1",
"json-loader": "~0.5.4",
"nock": "~4.0.0",
"npm-run-all": "^4.1.2",
"postcss-loader": "~1.1.0",
"react-hot-loader": "~1.3.0",
"resolve-url-loader": "~1.6.0",
"sass-loader": "~7.1.0",
"sass-resources-loader": "~1.1.0",
"shelljs": "~0.7.4",
"style-loader": "~0.13.1",
"url-loader": "~0.5.7"
}
}