|
@ -5,9 +5,9 @@ |
|
|
"description": "desktop application for the lightning network", |
|
|
"description": "desktop application for the lightning network", |
|
|
"scripts": { |
|
|
"scripts": { |
|
|
"build": "concurrently --raw \"npm:build-main\" \"npm:build-renderer\"", |
|
|
"build": "concurrently --raw \"npm:build-main\" \"npm:build-renderer\"", |
|
|
"build-dll": "webpack --require babel-register --config internals/webpack/webpack.config.renderer.dev.dll.js --progress", |
|
|
"build-dll": "webpack --require @babel/register --config internals/webpack/webpack.config.renderer.dev.dll.js --progress", |
|
|
"build-main": "webpack --require babel-register --config internals/webpack/webpack.config.main.prod.js --progress", |
|
|
"build-main": "webpack --require @babel/register --config internals/webpack/webpack.config.main.prod.js --progress", |
|
|
"build-renderer": "webpack --require babel-register --config internals/webpack/webpack.config.renderer.prod.js --progress", |
|
|
"build-renderer": "webpack --require @babel/register --config internals/webpack/webpack.config.renderer.prod.js --progress", |
|
|
"build-grpc": "rimraf app/node_modules/grpc/src/node && build install-app-deps", |
|
|
"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", |
|
|
"clean": "rimraf node_modules app/node_modules dll app/dist coverage .eslintcache", |
|
|
"coverage": "open coverage/index.html", |
|
|
"coverage": "open coverage/index.html", |
|
@ -29,11 +29,11 @@ |
|
|
"lint-ci": "npm run lint && npm run lint-styles", |
|
|
"lint-ci": "npm run lint && npm run lint-styles", |
|
|
"package": "npm run build && npm run fetch-lnd && build", |
|
|
"package": "npm run build && npm run fetch-lnd && build", |
|
|
"release": "npm run package -- --publish onTagOrDraft", |
|
|
"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\"", |
|
|
"postinstall": "concurrently --raw \"npm:flow-typed\" \"npm:build-dll\" \"build install-app-deps\"", |
|
|
"prestart": "npm run build", |
|
|
"prestart": "npm run build", |
|
|
"start": "cross-env NODE_ENV=production electron ./app/", |
|
|
"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-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 internals/webpack/webpack.config.renderer.dev.js", |
|
|
"start-renderer-dev": "node --trace-warnings -r @babel/register ./node_modules/webpack-serve/lib/cli.js --config internals/webpack/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": "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 --maxWorkers=2 --forceExit", |
|
|
"test-base": "cross-env NODE_ENV=test BABEL_DISABLE_CACHE=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-unit": "npm run test-base -- --coverage ./test/unit", |
|
@ -47,7 +47,9 @@ |
|
|
"binarySite": "https://github.com/LN-Zap/lnd/releases/download" |
|
|
"binarySite": "https://github.com/LN-Zap/lnd/releases/download" |
|
|
} |
|
|
} |
|
|
}, |
|
|
}, |
|
|
"browserslist": "electron 3.0", |
|
|
"browserslist": [ |
|
|
|
|
|
"electron 3.0" |
|
|
|
|
|
], |
|
|
"engines": { |
|
|
"engines": { |
|
|
"node": ">=8.2.1", |
|
|
"node": ">=8.2.1", |
|
|
"npm": ">=5.3.0" |
|
|
"npm": ">=5.3.0" |
|
@ -191,26 +193,26 @@ |
|
|
} |
|
|
} |
|
|
}, |
|
|
}, |
|
|
"devDependencies": { |
|
|
"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/cli": "^7.2.1", |
|
|
"@commitlint/config-conventional": "^7.1.2", |
|
|
"@commitlint/config-conventional": "^7.1.2", |
|
|
"add-asset-html-webpack-plugin": "^3.0.1", |
|
|
"add-asset-html-webpack-plugin": "^3.0.1", |
|
|
"babel-core": "^6.26.3", |
|
|
"babel-core": "^7.0.0-bridge.0", |
|
|
"babel-eslint": "^10.0.1", |
|
|
"babel-eslint": "^10.0.1", |
|
|
"babel-jest": "^23.6.0", |
|
|
"babel-jest": "^23.6.0", |
|
|
"babel-loader": "^7.1.4", |
|
|
"babel-loader": "^8.0.0", |
|
|
"babel-plugin-add-module-exports": "^1.0.0", |
|
|
|
|
|
"babel-plugin-dev-expression": "^0.2.1", |
|
|
|
|
|
"babel-plugin-dynamic-import-webpack": "^1.1.0", |
|
|
|
|
|
"babel-plugin-flow-runtime": "^0.17.0", |
|
|
|
|
|
"babel-plugin-react-intl": "^3.0.1", |
|
|
"babel-plugin-react-intl": "^3.0.1", |
|
|
"babel-plugin-react-intl-auto": "^1.1.1", |
|
|
"babel-plugin-react-intl-auto": "^1.1.1", |
|
|
"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-optimize": "^1.0.1", |
|
|
"babel-preset-react-optimize": "^1.0.1", |
|
|
"babel-preset-stage-0": "^6.24.1", |
|
|
|
|
|
"babel-register": "^6.26.0", |
|
|
|
|
|
"browserslist": "^4.2.0", |
|
|
"browserslist": "^4.2.0", |
|
|
"chalk": "^2.4.1", |
|
|
"chalk": "^2.4.1", |
|
|
"clean-webpack-plugin": "^0.1.19", |
|
|
"clean-webpack-plugin": "^0.1.19", |
|
@ -242,12 +244,10 @@ |
|
|
"eslint-plugin-prettier": "^3.0.0", |
|
|
"eslint-plugin-prettier": "^3.0.0", |
|
|
"eslint-plugin-promise": "^4.0.1", |
|
|
"eslint-plugin-promise": "^4.0.1", |
|
|
"eslint-plugin-react": "^7.11.1", |
|
|
"eslint-plugin-react": "^7.11.1", |
|
|
"extract-react-intl-messages": "^0.10.0", |
|
|
"extract-react-intl-messages": "^0.11.1", |
|
|
"extract-text-webpack-plugin": "^4.0.0-beta.0", |
|
|
"extract-text-webpack-plugin": "^4.0.0-beta.0", |
|
|
"fbjs-scripts": "^1.0.1", |
|
|
|
|
|
"file-loader": "^2.0.0", |
|
|
"file-loader": "^2.0.0", |
|
|
"flow-bin": "^0.83.0", |
|
|
"flow-bin": "^0.83.0", |
|
|
"flow-runtime": "^0.17.0", |
|
|
|
|
|
"flow-typed": "^2.5.1", |
|
|
"flow-typed": "^2.5.1", |
|
|
"html-webpack-plugin": "^3.2.0", |
|
|
"html-webpack-plugin": "^3.2.0", |
|
|
"http-proxy-middleware": "^0.19.0", |
|
|
"http-proxy-middleware": "^0.19.0", |
|
|