package.json 10.6 KB
Newer Older
zeroleak's avatar
zeroleak committed
1
{
zeroleak's avatar
zeroleak committed
2
  "name": "whirlpool-gui",
zeroleak's avatar
cleanup  
zeroleak committed
3
  "productName": "whirlpool-gui",
zeroleak's avatar
cleanup  
zeroleak committed
4
  "version": "0.10.3",
5
  "description": "Desktop GUI for Whirlpool by Samourai-Wallet",
zeroleak's avatar
zeroleak committed
6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23
  "scripts": {
    "build": "concurrently \"yarn build-main\" \"yarn build-renderer\"",
    "build-dll": "cross-env NODE_ENV=development webpack --config ./configs/webpack.config.renderer.dev.dll.babel.js --colors",
    "build-e2e": "cross-env E2E_BUILD=true yarn build",
    "build-main": "cross-env NODE_ENV=production webpack --config ./configs/webpack.config.main.prod.babel.js --colors",
    "build-renderer": "cross-env NODE_ENV=production webpack --config ./configs/webpack.config.renderer.prod.babel.js --colors",
    "dev": "cross-env START_HOT=1 node -r @babel/register ./internals/scripts/CheckPortInUse.js && cross-env START_HOT=1 yarn start-renderer-dev",
    "flow": "flow",
    "flow-typed": "rimraf flow-typed/npm && flow-typed install --overwrite || true",
    "lint": "cross-env NODE_ENV=development eslint --cache --format=pretty .",
    "lint-fix": "yarn --silent lint --fix; exit 0",
    "lint-styles": "stylelint --ignore-path .eslintignore '**/*.*(css|scss)' --syntax scss",
    "lint-styles-fix": "yarn --silent lint-styles --fix; exit 0",
    "package": "yarn build && electron-builder build --publish never",
    "package-all": "yarn build && electron-builder build -mwl",
    "package-ci": "yarn postinstall && yarn build && electron-builder --publish always",
    "package-linux": "yarn build && electron-builder build --linux",
    "package-win": "yarn build && electron-builder build --win --x64",
24
    "postinstall": "node -r @babel/register internals/scripts/CheckNativeDep.js && yarn flow-typed && electron-builder install-app-deps && yarn build-dll && opencollective-postinstall",
zeroleak's avatar
zeroleak committed
25 26
    "postlint-fix": "prettier --ignore-path .eslintignore --single-quote --write '**/*.{*{js,jsx,json},babelrc,eslintrc,prettierrc,stylelintrc}'",
    "postlint-styles-fix": "prettier --ignore-path .eslintignore --single-quote --write '**/*.{css,scss}'",
27
    "preinstall": "node ./internals/scripts/CheckYarn.js",
zeroleak's avatar
zeroleak committed
28 29 30 31 32 33
    "prestart": "yarn build",
    "start": "cross-env NODE_ENV=production electron ./app/main.prod.js",
    "start-main-dev": "cross-env HOT=1 NODE_ENV=development electron -r @babel/register ./app/main.dev.js",
    "start-renderer-dev": "cross-env NODE_ENV=development webpack-dev-server --config configs/webpack.config.renderer.dev.babel.js",
    "test": "cross-env NODE_ENV=test BABEL_DISABLE_CACHE=1 jest",
    "test-all": "yarn lint && yarn flow && yarn build && yarn test && yarn build-e2e && yarn test-e2e",
34 35
    "test-e2e": "node -r @babel/register ./internals/scripts/CheckBuildsExist.js && cross-env NODE_ENV=test testcafe electron:./ ./test/e2e/HomePage.e2e.js",
    "test-e2e-live": "node -r @babel/register ./internals/scripts/CheckBuildsExist.js && cross-env NODE_ENV=test testcafe-live electron:./ ./test/e2e/HomePage.e2e.js",
zeroleak's avatar
zeroleak committed
36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59
    "test-watch": "yarn test --watch"
  },
  "lint-staged": {
    "*.{js,jsx}": [
      "cross-env NODE_ENV=development eslint --cache --format=pretty",
      "prettier --ignore-path .eslintignore --single-quote --write",
      "git add"
    ],
    "{*.json,.{babelrc,eslintrc,prettierrc,stylelintrc}}": [
      "prettier --ignore-path .eslintignore --parser json --write",
      "git add"
    ],
    "*.{css,scss}": [
      "stylelint --ignore-path .eslintignore --syntax scss --fix",
      "prettier --ignore-path .eslintignore --single-quote --write",
      "git add"
    ],
    "*.{yml,md}": [
      "prettier --ignore-path .eslintignore --single-quote --write",
      "git add"
    ]
  },
  "main": "./app/main.prod.js",
  "build": {
zeroleak's avatar
cleanup  
zeroleak committed
60 61
    "productName": "whirlpool-gui",
    "appId": "com.samouraiwallet.whirlpool-gui",
zeroleak's avatar
zeroleak committed
62 63 64 65 66
    "files": [
      "app/dist/",
      "app/app.html",
      "app/main.prod.js",
      "app/main.prod.js.map",
zeroleak's avatar
cleanup  
zeroleak committed
67
      "app/img/",
zeroleak's avatar
zeroleak committed
68 69
      "package.json"
    ],
zeroleak's avatar
zeroleak committed
70 71 72
    "mac": {
      "category": "public.app-category.utilities",
      "target": [
zeroleak's avatar
0.9.0  
zeroleak committed
73
        "dmg"
zeroleak's avatar
zeroleak committed
74 75
      ]
    },
zeroleak's avatar
zeroleak committed
76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91
    "dmg": {
      "contents": [
        {
          "x": 130,
          "y": 220
        },
        {
          "x": 410,
          "y": 220,
          "type": "link",
          "path": "/Applications"
        }
      ]
    },
    "win": {
      "target": [
zeroleak's avatar
cleanup  
zeroleak committed
92
        "nsis"
zeroleak's avatar
zeroleak committed
93 94 95 96 97 98 99 100 101
      ]
    },
    "linux": {
      "target": [
        "deb",
        "rpm",
        "snap",
        "AppImage"
      ],
zeroleak's avatar
zeroleak committed
102
      "category": "Network"
zeroleak's avatar
zeroleak committed
103 104 105 106 107 108 109 110 111 112
    },
    "directories": {
      "buildResources": "resources",
      "output": "release"
    },
    "publish": {
      "provider": "github",
      "owner": "electron-react-boilerplate",
      "repo": "electron-react-boilerplate",
      "private": false
zeroleak's avatar
cleanup  
zeroleak committed
113 114 115 116
    },
    "extraResources": [
      "./extraResources/**"
    ]
zeroleak's avatar
zeroleak committed
117 118 119
  },
  "repository": {
    "type": "git",
zeroleak's avatar
zeroleak committed
120
    "url": "git@code.samourai.io:whirlpool/whirlpool-gui.git"
zeroleak's avatar
zeroleak committed
121 122
  },
  "author": {
Pavel Ševčík's avatar
Pavel Ševčík committed
123
    "name": "zeroleak",
zeroleak's avatar
zeroleak committed
124
    "url": "https://github.com/zeroleak",
Pavel Ševčík's avatar
Pavel Ševčík committed
125
    "email": "zeroleak@samourai.io"
zeroleak's avatar
zeroleak committed
126
  },
Pavel Ševčík's avatar
Pavel Ševčík committed
127
  "license": "Unlicense",
zeroleak's avatar
zeroleak committed
128
  "bugs": {
zeroleak's avatar
zeroleak committed
129
    "url": "https://code.samourai.io/whirlpool/whirlpool-gui/issues"
zeroleak's avatar
zeroleak committed
130 131
  },
  "keywords": [
Pavel Ševčík's avatar
Pavel Ševčík committed
132 133 134 135 136
    "samourai",
    "bitcoin",
    "wallet",
    "coinjoin",
    "whirlpool"
zeroleak's avatar
zeroleak committed
137
  ],
zeroleak's avatar
zeroleak committed
138
  "homepage": "https://code.samourai.io/whirlpool/whirlpool-gui",
zeroleak's avatar
zeroleak committed
139 140 141 142 143 144 145 146 147 148 149 150 151 152 153
  "jest": {
    "testURL": "http://localhost/",
    "moduleNameMapper": {
      "\\.(jpg|jpeg|png|gif|eot|otf|webp|svg|ttf|woff|woff2|mp4|webm|wav|mp3|m4a|aac|oga)$": "<rootDir>/internals/mocks/fileMock.js",
      "\\.(css|less|sass|scss)$": "identity-obj-proxy"
    },
    "moduleFileExtensions": [
      "js",
      "jsx",
      "json"
    ],
    "transform": {
      "^.+\\.jsx?$": "babel-jest"
    },
    "setupFiles": [
154
      "./internals/scripts/CheckBuildsExist.js"
zeroleak's avatar
zeroleak committed
155 156 157
    ]
  },
  "devDependencies": {
Pavel Ševčík's avatar
Pavel Ševčík committed
158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180
    "@babel/core": "^7.8.4",
    "@babel/plugin-proposal-class-properties": "^7.8.3",
    "@babel/plugin-proposal-decorators": "^7.8.3",
    "@babel/plugin-proposal-do-expressions": "^7.8.3",
    "@babel/plugin-proposal-export-default-from": "^7.8.3",
    "@babel/plugin-proposal-export-namespace-from": "^7.8.3",
    "@babel/plugin-proposal-function-bind": "^7.8.3",
    "@babel/plugin-proposal-function-sent": "^7.8.3",
    "@babel/plugin-proposal-json-strings": "^7.8.3",
    "@babel/plugin-proposal-logical-assignment-operators": "^7.8.3",
    "@babel/plugin-proposal-nullish-coalescing-operator": "^7.8.3",
    "@babel/plugin-proposal-numeric-separator": "^7.8.3",
    "@babel/plugin-proposal-optional-chaining": "^7.8.3",
    "@babel/plugin-proposal-pipeline-operator": "^7.8.3",
    "@babel/plugin-proposal-throw-expressions": "^7.8.3",
    "@babel/plugin-syntax-dynamic-import": "^7.8.3",
    "@babel/plugin-syntax-import-meta": "^7.8.3",
    "@babel/plugin-transform-react-constant-elements": "^7.8.3",
    "@babel/plugin-transform-react-inline-elements": "^7.8.3",
    "@babel/preset-env": "^7.8.4",
    "@babel/preset-flow": "^7.8.3",
    "@babel/preset-react": "^7.8.3",
    "@babel/register": "^7.8.3",
zeroleak's avatar
zeroleak committed
181 182
    "babel-core": "7.0.0-bridge.0",
    "babel-eslint": "^10.0.1",
183
    "babel-jest": "^24.9.0",
zeroleak's avatar
zeroleak committed
184 185 186
    "babel-loader": "^8.0.4",
    "babel-plugin-dev-expression": "^0.2.1",
    "babel-plugin-transform-react-remove-prop-types": "^0.4.20",
187
    "chalk": "^3.0.0",
Pavel Ševčík's avatar
Pavel Ševčík committed
188 189
    "concurrently": "^5.1.0",
    "connected-react-router": "^6.7.0",
190 191
    "cross-env": "^6.0.3",
    "cross-spawn": "^7.0.1",
Pavel Ševčík's avatar
Pavel Ševčík committed
192
    "css-loader": "^3.4.2",
zeroleak's avatar
zeroleak committed
193
    "detect-port": "^1.3.0",
zeroleak's avatar
zeroleak committed
194
    "electron": "^7.1.7",
zeroleak's avatar
cleanup  
zeroleak committed
195
    "electron-builder": "^22.9.1",
zeroleak's avatar
zeroleak committed
196
    "electron-devtools-installer": "^2.2.4",
Pavel Ševčík's avatar
Pavel Ševčík committed
197 198 199 200
    "enzyme": "^3.11.0",
    "enzyme-adapter-react-16": "^1.15.2",
    "enzyme-to-json": "^3.4.4",
    "eslint": "^6.8.0",
201
    "eslint-config-airbnb": "^18.0.1",
Pavel Ševčík's avatar
Pavel Ševčík committed
202
    "eslint-config-prettier": "^6.10.0",
203 204
    "eslint-formatter-pretty": "^3.0.1",
    "eslint-import-resolver-webpack": "^0.11.1",
Pavel Ševčík's avatar
Pavel Ševčík committed
205 206 207 208
    "eslint-plugin-compat": "^3.5.1",
    "eslint-plugin-flowtype": "^4.6.0",
    "eslint-plugin-import": "^2.20.1",
    "eslint-plugin-jest": "^23.7.0",
209
    "eslint-plugin-jsx-a11y": "6.2.3",
zeroleak's avatar
zeroleak committed
210
    "eslint-plugin-promise": "^4.0.1",
Pavel Ševčík's avatar
Pavel Ševčík committed
211
    "eslint-plugin-react": "^7.18.3",
zeroleak's avatar
zeroleak committed
212 213
    "eslint-plugin-testcafe": "^0.2.1",
    "fbjs-scripts": "^1.0.1",
Pavel Ševčík's avatar
Pavel Ševčík committed
214
    "file-loader": "^5.1.0",
215
    "flow-bin": "^0.113.0",
zeroleak's avatar
zeroleak committed
216 217
    "flow-runtime": "^0.17.0",
    "flow-typed": "^2.5.1",
218
    "husky": "^3.1.0",
zeroleak's avatar
zeroleak committed
219
    "identity-obj-proxy": "^3.0.0",
Pavel Ševčík's avatar
Pavel Ševčík committed
220
    "jest": "^25.1.0",
221 222
    "lint-staged": "^9.5.0",
    "mini-css-extract-plugin": "^0.8.0",
Pavel Ševčík's avatar
Pavel Ševčík committed
223
    "node-sass": "^4.13.1",
zeroleak's avatar
zeroleak committed
224 225 226
    "opencollective-postinstall": "^2.0.1",
    "optimize-css-assets-webpack-plugin": "^5.0.1",
    "prettier": "^1.15.2",
227
    "raw-loader": "^4.0.0",
zeroleak's avatar
zeroleak committed
228 229
    "react-test-renderer": "^16.6.3",
    "redux-logger": "^3.0.6",
Pavel Ševčík's avatar
Pavel Ševčík committed
230 231
    "rimraf": "^3.0.2",
    "sass-loader": "^8.0.2",
zeroleak's avatar
zeroleak committed
232
    "sinon": "^7.1.1",
233
    "spectron": "^9.0.0",
Pavel Ševčík's avatar
Pavel Ševčík committed
234
    "style-loader": "^1.1.3",
235
    "stylelint": "^12.0.0",
Pavel Ševčík's avatar
Pavel Ševčík committed
236
    "stylelint-config-prettier": "^8.0.1",
237
    "stylelint-config-standard": "^19.0.0",
Pavel Ševčík's avatar
Pavel Ševčík committed
238 239
    "terser-webpack-plugin": "^2.3.5",
    "testcafe": "^1.8.2",
240
    "testcafe-browser-provider-electron": "^0.0.13",
zeroleak's avatar
zeroleak committed
241 242
    "testcafe-live": "^0.1.4",
    "testcafe-react-selectors": "^3.0.0",
243
    "url-loader": "^3.0.0",
Pavel Ševčík's avatar
Pavel Ševčík committed
244
    "webpack": "^4.41.6",
zeroleak's avatar
zeroleak committed
245
    "webpack-bundle-analyzer": "^3.0.3",
Pavel Ševčík's avatar
Pavel Ševčík committed
246 247
    "webpack-cli": "^3.3.11",
    "webpack-dev-server": "^3.10.3",
248
    "webpack-merge": "^4.1.4"
zeroleak's avatar
zeroleak committed
249 250
  },
  "dependencies": {
Pavel Ševčík's avatar
Pavel Ševčík committed
251 252 253
    "@fortawesome/fontawesome-svg-core": "^1.2.27",
    "@fortawesome/free-solid-svg-icons": "^5.12.1",
    "@fortawesome/react-fontawesome": "^0.1.8",
254
    "await-lock": "^2.0.1",
255 256
    "bootstrap": "^4.5.3",
    "core-js": "2",
zeroleak's avatar
zeroleak committed
257
    "crypto": "^1.0.1",
zeroleak's avatar
zeroleak committed
258
    "devtron": "^1.4.0",
259
    "electron-debug": "^3.0.1",
zeroleak's avatar
zeroleak committed
260
    "electron-dl": "^1.13.0",
zeroleak's avatar
zeroleak committed
261
    "electron-log": "^3.0.1",
262
    "electron-store": "^5.1.0",
Pavel Ševčík's avatar
Pavel Ševčík committed
263 264
    "electron-updater": "^4.2.2",
    "feather-icons": "^4.26.0",
zeroleak's avatar
zeroleak committed
265
    "history": "^4.7.2",
zeroleak's avatar
zeroleak committed
266
    "if-not-running": "^0.0.15",
267
    "immer": "3.3.0",
zeroleak's avatar
zeroleak committed
268
    "jquery": "^3.3.1",
zeroleak's avatar
zeroleak committed
269
    "lodash": "^4.17.11",
zeroleak's avatar
zeroleak committed
270
    "md5ify": "^1.0.0",
zeroleak's avatar
zeroleak committed
271
    "moment": "^2.24.0",
zeroleak's avatar
zeroleak committed
272
    "node-fetch": "^2.3.0",
Pavel Ševčík's avatar
Pavel Ševčík committed
273
    "popper.js": "^1.16.1",
274
    "ps-node": "^0.1.6",
275
    "qrcode-decoder": "^0.1.2",
276
    "qrcode.react": "^1.0.0",
zeroleak's avatar
zeroleak committed
277
    "react": "^16.6.3",
278
    "react-bootstrap": "^1.4.0",
zeroleak's avatar
zeroleak committed
279
    "react-dom": "^16.6.3",
280
    "react-feather": "^2.0.3",
zeroleak's avatar
zeroleak committed
281
    "react-helmet": "^5.2.0",
Pavel Ševčík's avatar
Pavel Ševčík committed
282 283
    "react-hot-loader": "^4.12.19",
    "react-redux": "^7.2.0",
284 285
    "react-router": "^5.1.2",
    "react-router-dom": "^5.1.2",
286
    "react-table": "^7.6.1",
287
    "react-webcam": "^4.0.0",
Pavel Ševčík's avatar
Pavel Ševčík committed
288
    "redux": "^4.0.5",
zeroleak's avatar
zeroleak committed
289
    "redux-thunk": "^2.3.0",
zeroleak's avatar
zeroleak committed
290
    "sjcl": "^1.0.8",
zeroleak's avatar
zeroleak committed
291
    "source-map-support": "^0.5.9",
zeroleak's avatar
zeroleak committed
292
    "tcp-port-used": "^1.0.1"
zeroleak's avatar
zeroleak committed
293 294
  },
  "devEngines": {
295
    "node": ">=8.x",
zeroleak's avatar
zeroleak committed
296
    "npm": ">=4.x",
297
    "yarn": ">=1.10.0"
zeroleak's avatar
zeroleak committed
298 299 300 301
  },
  "collective": {
    "url": "https://opencollective.com/electron-react-boilerplate-594"
  },
302 303 304
  "browserslist": [
    "electron 7.1.3"
  ]
zeroleak's avatar
zeroleak committed
305
}