OSDN Git Service

718a73a90db1587c4596c14eba8537c05e11e653
[bytom/bytom-electron.git] / package.json
1 {
2   "name": "bytom-wallet",
3   "productName": "Bytom Wallet",
4   "build": {
5     "electronVersion": "1.8.3",
6     "appId": "io.bytom.desktop",
7     "directories": {
8       "buildResources": "./",
9       "output": "desktop"
10     },
11     "files": [
12       "node_modules/**/*",
13       "main.js",
14       "modules/**/*",
15       "static/**/*",
16       "public/**",
17       "!node_modules/electron/",
18       "!node_modules/electron/**/*"
19     ],
20     "mac": {
21       "icon": "static/images/app-icon/mac/app.icns",
22       "artifactName": "${name}-desktop-${version}-${os}.${ext}",
23       "category": "public.app-category.wallet",
24       "extraResources": "bytomd/bytomd-darwin_amd64",
25       "target": "zip"
26     },
27     "dmg": {
28       "contents": [
29         {
30           "x": 129,
31           "y": 250
32         },
33         {
34           "x": 410,
35           "y": 247,
36           "type": "link",
37           "path": "/Applications"
38         }
39       ]
40     },
41     "nsis": {
42       "perMachine": true,
43       "oneClick": false
44     },
45     "win": {
46       "icon": "static/images/app-icon/win/app.ico",
47       "artifactName": "${name}-desktop-${version}-${os}-${arch}.${ext}",
48       "extraResources": "bytomd/bytomd-windows_${env.ARCH_VARIABLE}.exe",
49       "target": "zip"
50     },
51     "linux": {
52       "maintainer": "bytom contributors <zhiting.fly@bytom.io>",
53       "artifactName": "${name}-desktop-${version}-${os}-${arch}.${ext}",
54       "executableName": "Bytom Wallet",
55       "extraResources": "bytomd/bytomd-linux_${env.ARCH_VARIABLE}",
56       "target": "zip",
57       "category": "Finance",
58       "packageCategory": "wallet",
59       "icon": "static/images/app-icon/png/app.png"
60     },
61     "asar": true
62   },
63   "version": "1.0.9",
64   "description": "Bytom Wallet Desktop",
65   "main": "main.js",
66   "scripts": {
67     "build:dll": "node ./bin/dependencies.js",
68     "postinstall": "npm run build:dll",
69     "electron-dev": "DEV_URL=http://localhost:3000/index.html  electron --inspect=5858 main.js .",
70     "build": "NODE_ENV=production webpack --config webpack/webpack.app.js ",
71     "lint": "eslint \"src/**\"",
72     "start": "hjs-dev-server webpack/webpack.app.js --hot --host 0.0.0.0",
73     "generate-component": "babel-node bin/generate.js component",
74     "package": "npm run build && npm-run-all package:* ",
75     "package:mac": "electron-builder -m ",
76     "package:win-32": "ARCH_VARIABLE=386 electron-builder --win --ia32",
77     "package:win-64": "ARCH_VARIABLE=amd64 electron-builder --win --x64 ",
78     "package:linux-32": "ARCH_VARIABLE=386 electron-builder -l --ia32",
79     "package:linux-64": "ARCH_VARIABLE=amd64 electron-builder -l --x64"
80   },
81   "author": "Bytom",
82   "license": "AGPL-3.0-only",
83   "browserslist": [
84     "> 1%",
85     "last 3 versions",
86     "Safari >= 8"
87   ],
88   "dependencies": {
89     "babel-polyfill": "~6.16.0",
90     "babel-register": "~6.22.0",
91     "bignumber.js": "^7.2.1",
92     "bootstrap-sass": "~3.4.1",
93     "btoa": "^1.1.2",
94     "classnames": "~2.2.5",
95     "electron-settings": "~3.1.4",
96     "fetch-ponyfill": "~3.0.2",
97     "glob": "~7.1.2",
98     "i18next": "^11.9.1",
99     "i18next-browser-languagedetector": "^2.2.3",
100     "log4js": "^3.0.5",
101     "lodash": "~4.17.14",
102     "moment": "^2.22.1",
103     "moment-timezone": "^0.5.17",
104     "pluralize": "~3.0.0",
105     "prop-types": "^15.6.2",
106     "qrcode": "^1.3.3",
107     "react": "~15.5.0",
108     "react-ace": "~6.2.0",
109     "react-autosuggest": "~9.4.2",
110     "react-bootstrap": "~0.30.3",
111     "react-dom": "~15.5.0",
112     "react-i18next": "^8.0.7",
113     "react-markdown": "^2.5.0",
114     "react-overlays": "~0.8.3",
115     "react-redux": "~4.4.5",
116     "react-router": "~2.6.0",
117     "react-router-redux": "~4.0.5",
118     "react-router-scroll": "~0.3.2",
119     "redux": "~4.0.4",
120     "redux-form": "~5.3.6",
121     "redux-thunk": "~2.1.0",
122     "reselect": "^3.0.0",
123     "sha.js": "^2.4.8",
124     "toml": "~2.3.3",
125     "uuid": "~2.0.2"
126   },
127   "devDependencies": {
128     "autoprefixer": "~6.7.7",
129     "babel-cli": "~6.26.0",
130     "babel-core": "~6.11.4",
131     "babel-eslint": "~7.0.0",
132     "babel-loader": "~6.2.4",
133     "babel-plugin-transform-object-rest-spread": "~6.8.0",
134     "babel-preset-es2015": "~6.9.0",
135     "babel-preset-react": "~6.5.0",
136     "babel-preset-react-hmre": "~1.1.1",
137     "bootstrap-loader": "~1.0.10",
138     "braces": "^3.0.2",
139     "chai": "~3.5.0",
140     "chai-as-promised": "~6.0.0",
141     "command-line-args": "~3.0.1",
142     "command-line-commands": "~1.0.4",
143     "css-loader": "0.26.1",
144     "electron": "~1.8.8",
145     "electron-builder": "^20.10.0",
146     "eslint": "~4.18.2",
147     "eslint-plugin-react": "~7.14.2",
148     "extend": "~3.0.2",
149     "file-loader": "~0.9.0",
150     "hjs-webpack": "~8.4.3",
151     "js-yaml": "^3.13.1",
152     "json-loader": "~0.5.4",
153     "nock": "~4.0.0",
154     "npm-run-all": "^4.1.2",
155     "node-sass": "~4.12.0",
156     "postcss-loader": "~1.1.0",
157     "react-hot-loader": "~1.3.0",
158     "resolve-url-loader": "~1.6.0",
159     "sass-loader": "~7.1.0",
160     "sass-resources-loader": "~1.1.0",
161     "shelljs": "~0.7.4",
162     "style-loader": "~0.13.1",
163     "url-loader": "~0.5.7"
164   }
165 }