{ "name": "zap-desktop", "productName": "ZapDesktop", "version": "0.2.3-beta", "description": "desktop application for the lightning network", "scripts": { "build": "concurrently --raw \"npm:build-main\" \"npm:build-renderer\"", "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-grpc": "rimraf app/node_modules/grpc/src/node && build install-app-deps", "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 START_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": "cross-env HOT=1 NODE_ENV=development electron -r @babel/register ./app/main.dev", "start-renderer-dev": "node --trace-warnings -r @babel/register ./node_modules/.bin/webpack-dev-server --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 -r git@github.com:LN-Zap/zap-desktop.git -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 --maxWorkers=2 --forceExit", "test-unit": "npm run test-base -- --coverage ./test/unit", "test-e2e": "npm run test-base -- ./test/e2e", "test-ci": "npm run test-e2e && npm run test-unit" }, "config": { "style_paths": "app/styles/*.scss app/components/**/*.scss app/components/**/*.js", "lnd-binary": { "binaryVersion": "0.5-beta-247-g68d96488", "binarySite": "https://github.com/LN-Zap/lnd/releases/download" } }, "sideEffects": false, "browserslist": [ "electron 3.0" ], "engines": { "node": ">=8.2.1", "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/", "main.prod.js", "main.prod.js.map", "package.json" ], "directories": { "buildResources": "resources", "output": "release" }, "extraResources": [ "resources/lnd.conf", "resources/rpc.proto", { "from": "resources/bin/${os}/${arch}", "to": "bin", "filter": [ "lnd*" ] } ], "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 (https://github.com/jackmallers)", "license": "MIT", "bugs": { "url": "https://github.com/LN-Zap/zap-desktop/issues" }, "keywords": [ "electron", "boilerplate", "react", "redux", "flow", "sass", "webpack", "hot", "reload" ], "homepage": "https://github.com/LN-Zap/zap-desktop#readme", "jest": { "collectCoverageFrom": [ "app/**/*.js", "!app/dist/**", "!app/main.prod.js", "!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)$": "/internals/mocks/fileMock.js", "\\.(css|less|sass|scss)$": "identity-obj-proxy" }, "moduleFileExtensions": [ "js" ], "moduleDirectories": [ "app", "app/node_modules", "node_modules" ], "setupTestFrameworkScriptFile": "./test/unit/__helpers__/setup-tests.js", "transform": { "^.+\\.js$": "babel-jest" } }, "devDependencies": { "@babel/core": "^7.1.2", "@babel/plugin-proposal-class-properties": "^7.0.0", "@babel/plugin-proposal-export-default-from": "^7.0.0", "@babel/plugin-proposal-object-rest-spread": "^7.0.0", "@babel/plugin-transform-classes": "^7.0.0", "@babel/plugin-transform-destructuring": "^7.1.3", "@babel/preset-env": "^7.0.0", "@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.1", "@storybook/addon-actions": "^4.0.2", "@storybook/addon-console": "^1.1.0", "@storybook/addon-info": "^4.0.2", "@storybook/addon-knobs": "^4.0.2", "@storybook/addon-links": "^4.0.2", "@storybook/addon-options": "^4.0.2", "@storybook/addon-storysource": "^4.0.2", "@storybook/addons": "^4.0.2", "@storybook/components": "^4.0.2", "@storybook/react": "^4.0.2", "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.0", "babel-plugin-react-intl": "^3.0.1", "babel-plugin-react-intl-auto": "^1.1.1", "babel-plugin-styled-components": "^1.8.0", "babel-preset-react-optimize": "^1.0.1", "browserslist": "^4.3.4", "chalk": "^2.4.1", "clean-webpack-plugin": "^0.1.19", "concurrently": "^4.0.1", "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.3.0", "css-loader": "^1.0.1", "electron-builder": "^20.29.0", "electron-devtools-installer": "^2.2.4", "electron-updater": "^3.1.6", "enzyme": "^3.7.0", "enzyme-adapter-react-16": "^1.6.0", "enzyme-to-json": "^3.3.4", "eslint": "^5.8.0", "eslint-config-airbnb": "^17.1.0", "eslint-config-prettier": "^3.1.0", "eslint-formatter-pretty": "^1.3.0", "eslint-import-resolver-webpack": "^0.10.1", "eslint-plugin-compat": "^2.6.2", "eslint-plugin-flowtype": "^3.1.4", "eslint-plugin-import": "^2.14.0", "eslint-plugin-jest": "^21.26.2", "eslint-plugin-json": "^1.2.1", "eslint-plugin-jsx-a11y": "^6.1.2", "eslint-plugin-markdown": "^1.0.0-rc.0", "eslint-plugin-prettier": "^3.0.0", "eslint-plugin-promise": "^4.0.1", "eslint-plugin-react": "^7.11.1", "extract-react-intl-messages": "^0.11.1", "fake-indexeddb": "^2.0.4", "file-loader": "^2.0.0", "flow-bin": "^0.85.0", "flow-typed": "^2.5.1", "gh-pages": "^2.0.1", "html-webpack-plugin": "^3.2.0", "husky": "1.1.2", "identity-obj-proxy": "^3.0.0", "jest": "^23.6.0", "jest-styled-components": "^6.2.2", "jsdom": "^13.0.0", "lint-staged": "^8.0.4", "lnd-binary": "^0.3.7", "mini-css-extract-plugin": "^0.4.4", "minimist": "^1.2.0", "mock-spawn": "^0.2.6", "node-sass": "^4.9.3", "prettier": "^1.14.3", "react-storybook-addon-chapters": "^2.1.8", "react-test-renderer": "^16.6.0", "redux-logger": "^3.0.6", "rimraf": "^2.6.2", "sass-loader": "^7.1.0", "spectron": "^5.0.0", "storybook-addon-intl": "^2.3.1", "storybook-react-router": "^1.0.1", "storybook-styled-components": "^1.1.2", "style-loader": "^0.23.1", "stylelint": "^9.7.1", "stylelint-config-recommended": "^2.1.0", "stylelint-config-recommended-scss": "^3.2.0", "stylelint-config-styled-components": "^0.1.1", "stylelint-formatter-pretty": "^1.0.3", "stylelint-processor-styled-components": "^1.5.0", "stylelint-scss": "^3.3.2", "url-loader": "^1.1.2", "webpack": "^4.23.1", "webpack-bundle-analyzer": "^3.0.2", "webpack-cli": "^3.1.2", "webpack-dev-server": "^3.1.10", "webpack-merge": "^4.1.4" }, "dependencies": { "@grpc/proto-loader": "^0.3.0", "@rebass/components": "^4.0.0-1", "axios": "^0.18.0", "bitcoinjs-lib": "^4.0.1", "bolt11": "https://github.com/bitcoinjs/bolt11.git", "connected-react-router": "^4.5.0", "copy-to-clipboard": "^3.0.8", "country-data-lookup": "^0.0.3", "debug": "^4.1.0", "debug-logger": "^0.4.1", "dexie": "^2.0.4", "downshift": "^3.1.4", "electron": "^3.0.7", "electron-is-dev": "^1.0.1", "font-awesome": "^4.7.0", "get-port": "^4.0.0", "history": "^4.7.2", "informed": "^1.10.7", "is-electron-renderer": "^2.0.1", "javascript-state-machine": "^3.1.0", "jstimezonedetect": "^1.0.6", "lodash.get": "^4.4.2", "lodash.pick": "^4.4.0", "prop-types": "^15.6.2", "qrcode.react": "0.8.0", "rc-menu": "^7.4.18", "react": "^16.6.0", "react-dom": "^16.6.0", "react-hot-loader": "^4.3.11", "react-intl": "^2.7.2", "react-intl-redux": "^2.0.2", "react-redux": "^5.1.0", "react-router-dom": "^4.3.1", "react-router-redux": "^5.0.0-alpha.9", "react-spring": "^6.1.5", "rebass": "^3.0.0-9", "redux": "^4.0.0", "redux-electron-ipc": "^1.1.13", "redux-thunk": "^2.3.0", "reselect": "^4.0.0", "satoshi-bitcoin": "^1.0.4", "source-map-support": "^0.5.9", "split2": "^3.0.0", "styled-components": "^4.0.3", "styled-reset": "^1.6.0", "tildify": "^1.2.0", "untildify": "^3.0.3", "validator": "^10.8.0", "yup": "^0.26.6" }, "main": "internals/webpack/webpack.config.base.js", "directories": { "test": "test" } }