{
  "name": "zap-desktop",
  "productName": "ZapDesktop",
  "version": "0.3.4-beta",
  "description": "desktop application for the lightning network",
  "scripts": {
    "build": "concurrently --raw \"npm:build-main\" \"npm:build-renderer\"",
    "build-e2e": "concurrently \"npm run build-main\" \"npm run build-renderer-e2e\"",
    "build-dll": "webpack -r @babel/register --config internals/webpack/webpack.config.renderer.dev.dll.js",
    "build-main": "webpack -r @babel/register --config internals/webpack/webpack.config.main.prod.js",
    "build-renderer": "webpack -r @babel/register --config internals/webpack/webpack.config.renderer.prod.js",
    "build-renderer-e2e": "webpack -r @babel/register --config internals/webpack/webpack.config.renderer.e2e.js",
    "clean": "rimraf node_modules app/node_modules dll app/dist coverage .eslintcache",
    "coverage": "open coverage/index.html",
    "coveralls": "cat ./coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js",
    "dev": "cross-env HOT=1 npm run start-renderer-dev",
    "extract-messages": "extract-messages -l=af-ZA,ca-ES,de-DE,es-ES,ga-IE,hr-HR,ja-JP,no-NO,pt-PT,sr-SP,uk-UA,zh-TW,ar-SA,cs-CZ,el-GR,fi-FI,he-IL,hu-HU,ko-KR,pl-PL,ro-RO,sv-SE,vi-VN,bg-BG,da-DK,en,fr-FR,hi-IN,it-IT,nl-NL,pt-BR,ru-RU,tr-TR,zh-CN -o app/translations -d en --flat true app/**/messages.js",
    "fetch-lnd": "node ./internals/scripts/fetch-lnd-for-packaging.js",
    "flow": "flow",
    "flow-typed": "rimraf flow-typed/npm && flow-typed install --overwrite || true",
    "generate-icons": "npx @svgr/cli --icon -d app/components/Icon app/icons",
    "lint-base": "eslint --cache --format=node_modules/eslint-formatter-pretty",
    "lint": "npm run lint-base -- .",
    "lint-fix-base": "npm run lint-base -- --fix",
    "lint-fix": "npm run lint-fix-base -- \"./**/*.{js,json,md}\"",
    "lint-styles-base": "stylelint --custom-formatter=node_modules/stylelint-formatter-pretty",
    "lint-styles": "npm run lint-styles-base -- $npm_package_config_style_paths",
    "lint-styles-fix-base": "npm run lint-styles-base -- --fix",
    "lint-styles-fix": "npm run lint-styles-fix-base -- $npm_package_config_style_paths",
    "lint-check": "eslint --print-config .eslintrc.js | eslint-config-prettier-check",
    "lint-ci": "npm run lint && npm run lint-styles",
    "package": "npm run build && npm run fetch-lnd && build",
    "release": "npm run package -- --publish onTagOrDraft",
    "postinstall": "concurrently --raw \"npm:flow-typed\" \"npm:build-dll\" \"build install-app-deps\"",
    "prestart": "npm run build",
    "start": "cross-env NODE_ENV=production electron ./app",
    "start-main-dev": "electron -r @babel/register ./app/main.js",
    "start-renderer-dev": "webpack-dev-server -r @babel/register --config internals/webpack/webpack.config.renderer.dev.js  --progress",
    "storybook": "start-storybook -p 6006",
    "storybook:build": "build-storybook",
    "storybook:deploy": "npm run storybook:build && gh-pages -t -d storybook-static -o origin -b gh-pages",
    "test": "npm run lint && npm run lint-styles && npm run flow && npm run build && npm run test-unit && npm run test-e2e",
    "test-base": "cross-env NODE_ENV=test BABEL_DISABLE_CACHE=true DISABLE_INIT=true ELECTRON_DISABLE_SECURITY_WARNINGS=true node --trace-warnings ./node_modules/jest/bin/jest",
    "test-unit": "npm run test-base -- --coverage ./test/unit",
    "test-ci": "npm run test-e2e && npm run test-unit",
    "pretest-e2e": "npm run build-e2e",
    "test-e2e": "cross-env ELECTRON_USER_DIR_TEMP=1 testcafe electron:./ ./test/e2e",
    "pretest-e2e-live": "npm run build-e2e",
    "test-e2e-live": "cross-env ELECTRON_USER_DIR_TEMP=1 testcafe-live electron:./ ./test/e2e"
  },
  "config": {
    "style_paths": "app/components/**/*.js",
    "lnd-binary": {
      "binaryVersion": "0.5.1-beta",
      "binarySite": "https://github.com/LN-Zap/lnd/releases/download"
    }
  },
  "sideEffects": false,
  "browserslist": [
    "electron 3.0"
  ],
  "engines": {
    "node": ">=8.11.2",
    "npm": ">=5.3.0"
  },
  "devEngines": {
    "node": ">=8.2.1",
    "npm": ">=5.3.0",
    "yarn": ">=0.21.3"
  },
  "build": {
    "productName": "ZapDesktop",
    "appId": "org.develar.ZapDesktop",
    "generateUpdatesFilesForAllChannels": true,
    "files": [
      "dist/",
      "node_modules/",
      "package.json"
    ],
    "directories": {
      "buildResources": "resources",
      "output": "release"
    },
    "extraResources": [
      "resources/lnd.conf",
      "resources/rpc.proto",
      {
        "from": "resources/bin/${os}/${arch}",
        "to": "bin",
        "filter": [
          "lnd*"
        ]
      }
    ],
    "protocols": [
      {
        "name": "Lightning",
        "schemes": [
          "lightning"
        ]
      },
      {
        "name": "Lnd Connect",
        "schemes": [
          "lndconnect"
        ]
      }
    ],
    "artifactName": "${productName}-${platform}-${arch}-v${version}.${ext}",
    "mac": {
      "category": "public.app-category.finance",
      "icon": "resources/icons/icon.icns",
      "target": [
        "dmg",
        "zip"
      ]
    },
    "dmg": {
      "contents": [
        {
          "x": 130,
          "y": 220
        },
        {
          "x": 410,
          "y": 220,
          "type": "link",
          "path": "/Applications"
        }
      ]
    },
    "win": {
      "icon": "resources/icons/icon.ico",
      "target": [
        {
          "target": "nsis",
          "arch": [
            "x64",
            "ia32"
          ]
        }
      ]
    },
    "linux": {
      "category": "Finance",
      "icon": "resources/icons/icon.png",
      "target": [
        {
          "target": "deb",
          "arch": [
            "x64",
            "ia32"
          ]
        },
        {
          "target": "AppImage",
          "arch": [
            "x64",
            "ia32"
          ]
        }
      ]
    }
  },
  "repository": {
    "type": "git",
    "url": "git+https://github.com/LN-Zap/zap-desktop"
  },
  "author": "Jack Mallers <jimmymowschess@gmail.com> (https://github.com/jackmallers)",
  "license": "MIT",
  "bugs": {
    "url": "https://github.com/LN-Zap/zap-desktop/issues"
  },
  "homepage": "https://github.com/LN-Zap/zap-desktop#readme",
  "jest": {
    "collectCoverageFrom": [
      "app/**/*.js",
      "!app/dist/**",
      "!app/dll/**",
      "!app/coverage/**",
      "!**/node_modules/**"
    ],
    "coverageReporters": [
      "json",
      "lcov",
      "html"
    ],
    "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",
      "json"
    ],
    "moduleDirectories": [
      "app",
      "app/node_modules",
      "node_modules"
    ],
    "setupTestFrameworkScriptFile": "./test/unit/__helpers__/setup.js",
    "transform": {
      "^.+\\.js$": "babel-jest"
    }
  },
  "devDependencies": {
    "@babel/core": "7.2.2",
    "@babel/plugin-proposal-class-properties": "7.2.3",
    "@babel/plugin-proposal-export-default-from": "7.2.0",
    "@babel/plugin-transform-react-constant-elements": "7.2.0",
    "@babel/plugin-transform-react-inline-elements": "7.2.0",
    "@babel/preset-env": "7.2.3",
    "@babel/preset-flow": "7.0.0",
    "@babel/preset-react": "7.0.0",
    "@babel/register": "7.0.0",
    "@commitlint/cli": "7.2.1",
    "@commitlint/config-conventional": "7.1.2",
    "@sambego/storybook-state": "1.3.2",
    "@storybook/addon-actions": "4.1.4",
    "@storybook/addon-console": "1.1.0",
    "@storybook/addon-info": "4.1.4",
    "@storybook/addon-knobs": "4.1.4",
    "@storybook/addon-links": "4.1.4",
    "@storybook/addon-options": "4.1.4",
    "@storybook/addon-storysource": "4.1.4",
    "@storybook/addons": "4.1.4",
    "@storybook/components": "4.1.4",
    "@storybook/react": "4.1.4",
    "add-asset-html-webpack-plugin": "3.1.2",
    "babel-core": "7.0.0-bridge.0",
    "babel-eslint": "10.0.1",
    "babel-jest": "23.6.0",
    "babel-loader": "8.0.5",
    "babel-plugin-react-intl": "3.0.1",
    "babel-plugin-react-intl-auto": "1.4.0",
    "babel-plugin-styled-components": "1.8.0",
    "babel-plugin-transform-react-pure-class-to-function": "1.0.1",
    "babel-plugin-transform-react-remove-prop-types": "0.4.21",
    "browserslist": "4.3.7",
    "clean-webpack-plugin": "1.0.0",
    "concurrently": "4.1.0",
    "copy-webpack-plugin": "4.6.0",
    "coveralls": "3.0.2",
    "cross-env": "5.2.0",
    "cross-spawn": "6.0.5",
    "csp-html-webpack-plugin": "2.5.0",
    "electron-builder": "20.38.5",
    "electron-devtools-installer": "2.2.4",
    "electron-updater": "4.0.6",
    "enzyme": "3.8.0",
    "enzyme-adapter-react-16": "1.7.1",
    "enzyme-to-json": "3.3.5",
    "eslint": "5.11.1",
    "eslint-config-airbnb": "17.1.0",
    "eslint-config-prettier": "3.3.0",
    "eslint-formatter-pretty": "2.0.0",
    "eslint-import-resolver-webpack": "0.10.1",
    "eslint-plugin-compat": "2.6.3",
    "eslint-plugin-flowtype": "3.2.0",
    "eslint-plugin-import": "2.14.0",
    "eslint-plugin-jest": "22.1.2",
    "eslint-plugin-json": "1.3.2",
    "eslint-plugin-jsx-a11y": "6.1.2",
    "eslint-plugin-markdown": "1.0.0",
    "eslint-plugin-prettier": "3.0.1",
    "eslint-plugin-promise": "4.0.1",
    "eslint-plugin-react": "7.11.1",
    "eslint-plugin-testcafe": "0.2.1",
    "extract-react-intl-messages": "0.11.1",
    "fake-indexeddb": "2.0.4",
    "flow-bin": "0.89.0",
    "flow-typed": "2.5.1",
    "gh-pages": "2.0.1",
    "html-webpack-plugin": "3.2.0",
    "husky": "1.3.1",
    "identity-obj-proxy": "3.0.0",
    "jest": "23.6.0",
    "jest-styled-components": "6.3.1",
    "jsdom": "13.1.0",
    "lint-staged": "8.1.0",
    "lnd-binary": "0.3.9",
    "minimist": "1.2.0",
    "mock-spawn": "0.2.6",
    "prettier": "1.15.3",
    "react-hot-loader": "4.6.3",
    "react-storybook-addon-chapters": "3.0.3",
    "react-test-renderer": "16.7.0",
    "redux-logger": "3.0.6",
    "rimraf": "2.6.3",
    "storybook-addon-intl": "2.3.2",
    "storybook-react-router": "1.0.2",
    "storybook-styled-components": "1.1.3",
    "stylelint": "9.9.0",
    "stylelint-config-recommended": "2.1.0",
    "stylelint-config-styled-components": "0.1.1",
    "stylelint-formatter-pretty": "1.0.3",
    "stylelint-processor-styled-components": "1.5.1",
    "testcafe": "0.23.3",
    "testcafe-browser-provider-electron": "0.0.8",
    "testcafe-live": "0.1.4",
    "testcafe-react-selectors": "3.0.3",
    "url-loader": "1.1.2",
    "webpack": "4.28.3",
    "webpack-bundle-analyzer": "3.0.3",
    "webpack-cli": "3.1.2",
    "webpack-dev-server": "3.1.14",
    "webpack-merge": "4.2.1"
  },
  "dependencies": {
    "@grpc/grpc-js": "0.3.2",
    "@grpc/proto-loader": "0.3.0",
    "@rebass/components": "4.0.0-1",
    "axios": "0.18.0",
    "bip39-en": "1.1.1",
    "bitcoinjs-lib": "4.0.2",
    "bolt11": "1.2.2",
    "coininfo": "git+https://github.com/cryptocoinjs/coininfo.git#299bf3b01a70c932772a7149837c1abe1acb2d41",
    "connected-react-router": "5.0.1",
    "copy-to-clipboard": "3.0.8",
    "country-data-lookup": "0.0.3",
    "debug": "4.1.1",
    "debug-logger": "0.4.1",
    "dexie": "2.0.4",
    "downshift": "3.1.12",
    "electron": "4.0.1",
    "electron-is-dev": "1.0.1",
    "get-port": "4.1.0",
    "history": "4.7.2",
    "informed": "1.10.12",
    "is-electron-renderer": "2.0.1",
    "javascript-state-machine": "3.1.0",
    "jstimezonedetect": "1.0.6",
    "lodash.debounce": "4.0.8",
    "lodash.get": "4.4.2",
    "lodash.partition": "4.6.0",
    "lodash.pick": "4.4.0",
    "lodash.throttle": "4.1.1",
    "mantats": "^1.0.0",
    "prop-types": "15.6.2",
    "qrcode.react": "0.9.2",
    "react": "16.7.0",
    "react-dom": "16.7.0",
    "react-intl": "2.7.2",
    "react-intl-redux": "2.1.0",
    "react-redux": "5.1.1",
    "react-router-dom": "4.3.1",
    "react-spring": "7.2.8",
    "react-textfit": "1.1.0",
    "rebass": "3.0.0-9",
    "redux": "4.0.1",
    "redux-electron-ipc": "LN-Zap/redux-electron-ipc#b513220d085ad3e96e459d7efcdfc37bf75417b6",
    "redux-thunk": "2.3.0",
    "reselect": "4.0.0",
    "satoshi-bitcoin": "1.0.4",
    "source-map-support": "0.5.9",
    "split2": "3.1.0",
    "styled-components": "4.1.3",
    "styled-reset": "1.6.4",
    "tildify": "1.2.0",
    "untildify": "3.0.3",
    "validator": "10.10.0",
    "yup": "0.26.6"
  },
  "main": "internals/webpack/webpack.config.base.js",
  "directories": {
    "test": "test"
  }
}
