You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
326 lines
10 KiB
326 lines
10 KiB
{
|
|
"name": "zap-desktop",
|
|
"productName": "ZapDesktop",
|
|
"version": "0.2.1-beta",
|
|
"description": "desktop application for the lightning network",
|
|
"scripts": {
|
|
"build": "concurrently --raw \"npm:build-main\" \"npm:build-renderer\"",
|
|
"build-dll": "webpack --require babel-register --config webpack.config.renderer.dev.dll.js --progress",
|
|
"build-main": "webpack --require babel-register --config webpack.config.main.prod.js --progress",
|
|
"build-renderer": "webpack --require babel-register --config webpack.config.renderer.prod.js --progress",
|
|
"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",
|
|
"fetch-lnd": "node ./internals/scripts/fetch-lnd-for-packaging.js",
|
|
"flow": "flow",
|
|
"flow-typed": "rimraf flow-typed/npm && flow-typed install --overwrite || true",
|
|
"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\" \"node node_modules/fbjs-scripts/node/check-dev-engines.js package.json\"",
|
|
"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/webpack-serve/lib/cli.js --config webpack.config.renderer.dev.js",
|
|
"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 ELECTRON_DISABLE_SECURITY_WARNINGS=true node --trace-warnings ./node_modules/jest/bin/jest",
|
|
"test-unit": "npm run test-base -- ./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",
|
|
"lnd-binary": {
|
|
"binaryVersion": "0.4.2-beta-635-g72aa7969",
|
|
"binarySite": "https://github.com/LN-Zap/lnd/releases/download"
|
|
}
|
|
},
|
|
"browserslist": "electron 2.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 <jimmymowschess@gmail.com> (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": {
|
|
"collectCoverage": true,
|
|
"collectCoverageFrom": [
|
|
"app/**/*.js",
|
|
"!app/dist/**",
|
|
"!app/main.prod.js",
|
|
"!app/dll/**",
|
|
"!app/coverage/**",
|
|
"!**/node_modules/**"
|
|
],
|
|
"coverageReporters": [
|
|
"json",
|
|
"lcov",
|
|
"text",
|
|
"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"
|
|
],
|
|
"moduleDirectories": [
|
|
"node_modules",
|
|
"app/node_modules",
|
|
"app"
|
|
],
|
|
"transform": {
|
|
"^.+\\.js$": "babel-jest"
|
|
}
|
|
},
|
|
"devDependencies": {
|
|
"@commitlint/cli": "^7.0.0",
|
|
"@commitlint/config-conventional": "^7.0.1",
|
|
"add-asset-html-webpack-plugin": "^2.1.3",
|
|
"babel-core": "^6.26.3",
|
|
"babel-eslint": "^8.2.5",
|
|
"babel-jest": "^23.4.2",
|
|
"babel-loader": "^7.1.4",
|
|
"babel-plugin-add-module-exports": "^0.2.1",
|
|
"babel-plugin-dev-expression": "^0.2.1",
|
|
"babel-plugin-dynamic-import-webpack": "^1.0.2",
|
|
"babel-plugin-flow-runtime": "^0.17.0",
|
|
"babel-plugin-transform-class-properties": "^6.24.1",
|
|
"babel-plugin-transform-es2015-classes": "^6.24.1",
|
|
"babel-preset-env": "^1.7.0",
|
|
"babel-preset-react": "^6.24.1",
|
|
"babel-preset-react-hmre": "^1.1.1",
|
|
"babel-preset-react-optimize": "^1.0.1",
|
|
"babel-preset-stage-0": "^6.24.1",
|
|
"babel-register": "^6.26.0",
|
|
"browserslist": "^4.0.0",
|
|
"chalk": "^2.4.1",
|
|
"clean-webpack-plugin": "^0.1.19",
|
|
"concurrently": "^3.6.0",
|
|
"connect-history-api-fallback": "^1.5.0",
|
|
"coveralls": "^3.0.2",
|
|
"cross-env": "^5.2.0",
|
|
"cross-spawn": "^6.0.5",
|
|
"csp-html-webpack-plugin": "^2.3.0",
|
|
"css-loader": "^0.28.11",
|
|
"electron-builder": "^20.26.0",
|
|
"electron-devtools-installer": "^2.2.4",
|
|
"electron-updater": "^3.0.3",
|
|
"enzyme": "^3.3.0",
|
|
"enzyme-adapter-react-16": "^1.1.1",
|
|
"enzyme-to-json": "^3.3.4",
|
|
"eslint": "^5.0.1",
|
|
"eslint-config-airbnb": "^17.0.0",
|
|
"eslint-config-prettier": "^2.9.0",
|
|
"eslint-formatter-pretty": "^1.3.0",
|
|
"eslint-import-resolver-webpack": "^0.10.1",
|
|
"eslint-plugin-compat": "^2.4.0",
|
|
"eslint-plugin-flowtype": "^2.50.0",
|
|
"eslint-plugin-import": "^2.13.0",
|
|
"eslint-plugin-jest": "^21.18.0",
|
|
"eslint-plugin-json": "^1.2.1",
|
|
"eslint-plugin-jsx-a11y": "^6.1.1",
|
|
"eslint-plugin-markdown": "^1.0.0-beta.6",
|
|
"eslint-plugin-prettier": "^2.6.1",
|
|
"eslint-plugin-promise": "^3.8.0",
|
|
"eslint-plugin-react": "^7.10.0",
|
|
"extract-text-webpack-plugin": "^4.0.0-beta.0",
|
|
"fbjs-scripts": "^0.8.3",
|
|
"file-loader": "^1.1.11",
|
|
"flow-bin": "^0.78.0",
|
|
"flow-runtime": "^0.17.0",
|
|
"flow-typed": "^2.5.1",
|
|
"html-webpack-plugin": "^3.2.0",
|
|
"http-proxy-middleware": "^0.18.0",
|
|
"husky": "^1.0.0-rc.9",
|
|
"identity-obj-proxy": "^3.0.0",
|
|
"jest": "^23.4.2",
|
|
"jsdom": "^11.12.0",
|
|
"koa-connect": "^2.0.1",
|
|
"lint-staged": "^7.2.0",
|
|
"lnd-binary": "^0.3.5",
|
|
"minimist": "^1.2.0",
|
|
"node-sass": "^4.9.0",
|
|
"prettier": "^1.13.5",
|
|
"react-addons-test-utils": "^15.6.2",
|
|
"react-test-renderer": "^16.4.2",
|
|
"redux-logger": "^3.0.6",
|
|
"rimraf": "^2.6.2",
|
|
"sass-loader": "^7.0.3",
|
|
"spectron": "^3.8.0",
|
|
"style-loader": "^0.21.0",
|
|
"stylelint": "9.3.0",
|
|
"stylelint-config-standard": "^18.2.0",
|
|
"stylelint-formatter-pretty": "^1.0.3",
|
|
"url-loader": "^1.0.1",
|
|
"webpack": "^4.12.0",
|
|
"webpack-bundle-analyzer": "^2.13.1",
|
|
"webpack-command": "^0.4.1",
|
|
"webpack-merge": "^4.1.3",
|
|
"webpack-serve": "^2.0.2"
|
|
},
|
|
"dependencies": {
|
|
"@grpc/proto-loader": "^0.3.0",
|
|
"axios": "^0.16.2",
|
|
"bitcoinjs-lib": "^3.2.0",
|
|
"copy-to-clipboard": "^3.0.8",
|
|
"debug": "^3.1.0",
|
|
"debug-logger": "^0.4.1",
|
|
"devtron": "^1.4.0",
|
|
"electron": "^2.0.5",
|
|
"electron-debug": "^2.0.0",
|
|
"electron-is-dev": "^0.3.0",
|
|
"electron-store": "^2.0.0",
|
|
"font-awesome": "^4.7.0",
|
|
"history": "^4.7.2",
|
|
"javascript-state-machine": "^3.1.0",
|
|
"lodash.get": "^4.4.2",
|
|
"lodash.pick": "^4.4.0",
|
|
"moment": "^2.22.2",
|
|
"prop-types": "^15.6.2",
|
|
"ps-node": "^0.1.6",
|
|
"qrcode.react": "0.8.0",
|
|
"react": "^16.4.2",
|
|
"react-dom": "^16.4.2",
|
|
"react-hot-loader": "^4.3.4",
|
|
"react-inlinesvg": "^0.8.1",
|
|
"react-modal": "^3.5.1",
|
|
"react-moment": "^0.7.9",
|
|
"react-redux": "^5.0.7",
|
|
"react-router": "^4.3.1",
|
|
"react-router-dom": "^4.3.1",
|
|
"react-router-redux": "^5.0.0-alpha.9",
|
|
"redux": "^4.0.0",
|
|
"redux-electron-ipc": "^1.1.13",
|
|
"redux-thunk": "^2.3.0",
|
|
"reselect": "^3.0.1",
|
|
"satoshi-bitcoin": "^1.0.4",
|
|
"source-map-support": "^0.5.6",
|
|
"split2": "^2.2.0",
|
|
"tildify": "^1.2.0",
|
|
"untildify": "^3.0.3",
|
|
"validator": "^10.4.0"
|
|
},
|
|
"main": "webpack.config.base.js",
|
|
"directories": {
|
|
"test": "test"
|
|
}
|
|
}
|
|
|