Skip to content

Commit

Permalink
[BLP-409] Remove unused files (#58)
Browse files Browse the repository at this point in the history
* [BLP-408] Echo node

* [BLP-408] Chain

* [BLP-408] Chain

* [BLP-408] Chain

* [BLP-408] Chain

* [BLP-408] Chain

* [BLP-408] Refactor

* [BLP-408] Refactor

* [BLP-408] Chain

* [BLP-408] Chain

* [BLP-481] echo 0.13

* [BLP-452] add default delegate_share

* devnet

* [BLP-409] remove unused files

* change network

* [BLP-408] Local chain

* [BLP-409] Remove unused files

* [BLP-408] Local chain

* [BLP-408] Local chain

* [BLP-408] Local chain

* Fix path whitespace, add travis mac, only testnet

* Fix path whitespace, add travis mac, only testnet

* Fix path whitespace, add travis mac, only testnet

* Up echo_node version

* rm unused param

* Add config
  • Loading branch information
vital-33 committed Nov 26, 2019
1 parent 4314f40 commit 59975c5
Show file tree
Hide file tree
Showing 19 changed files with 19 additions and 105 deletions.
26 changes: 0 additions & 26 deletions .flowconfig

This file was deleted.

12 changes: 0 additions & 12 deletions .prettierrc.json

This file was deleted.

4 changes: 0 additions & 4 deletions .testcafe-electron-rc

This file was deleted.

6 changes: 6 additions & 0 deletions config/default.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"DOWNLOAD_ECHO_NODE_URLS": {
"MAC": "https://d14s13k07yt1gw.cloudfront.net/echo-mac.0.13.5.tar",
"LINUX": "https://d14s13k07yt1gw.cloudfront.net/echo-linux.0.13.5.tar"
}
}
1 change: 0 additions & 1 deletion flow-typed/module_vx.x.x.js

This file was deleted.

3 changes: 0 additions & 3 deletions internals/flow/CSSModule.js.flow

This file was deleted.

2 changes: 0 additions & 2 deletions internals/flow/WebpackAsset.js.flow

This file was deleted.

7 changes: 0 additions & 7 deletions internals/scripts/CheckYarn.js

This file was deleted.

6 changes: 3 additions & 3 deletions internals/scripts/DownloadBuild.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ import fs from "fs";
import download from "download";
import { parse } from "url";
import tar from "tar";
import config from "config";

/**
*
Expand Down Expand Up @@ -53,13 +54,12 @@ const downloadBuild = async (url, os, filename) => {

try {

const downloadUrl = process.env.DOWNLOAD_ECHO_NODE_URL;
const downloadOS = process.env.DOWNLOAD_ECHO_NODE_OS;

const downloadUrl = process.env.DOWNLOAD_ECHO_NODE_URL || config.DOWNLOAD_ECHO_NODE_URLS[downloadOS.toUpperCase()];

if (!downloadUrl) {
throw new Error('You need to set process.env.DOWNLOAD_ECHO_NODE_URL');
process.exit(1);
throw new Error('You need to set process.env.DOWNLOAD_ECHO_NODE_URL');
}

if (!downloadOS) {
Expand Down
48 changes: 10 additions & 38 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,16 +4,14 @@
"version": "0.8.0-rc.1",
"description": "Blip Wallet",
"scripts": {
"web": "cross-env NODE_ENV=development node --trace-warnings -r @babel/register ./node_modules/webpack-dev-server/bin/webpack-dev-server --config configs/webpack.config.web.babel.js --mode development --progress --colors --history-api-fallback --hot --inline",
"build-web": "cross-env NODE_ENV=production webpack -r @babel/register --progress --display-error-details --colors --mode production --config configs/webpack.config.web.babel.js",
"web": "cross-env NODE_ENV=development node --trace-warnings -r @babel/register ./node_modules/webpack-dev-server/bin/webpack-dev-server --config webpack-configs/webpack.config.web.babel.js --mode development --progress --colors --history-api-fallback --hot --inline",
"build-web": "cross-env NODE_ENV=production webpack -r @babel/register --progress --display-error-details --colors --mode production --config webpack-configs/webpack.config.web.babel.js",
"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-dll": "cross-env NODE_ENV=development webpack --config ./webpack-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",
"build-main": "cross-env NODE_ENV=production webpack --config ./webpack-configs/webpack.config.main.prod.babel.js --colors",
"build-renderer": "cross-env NODE_ENV=production webpack --config ./webpack-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 'app/**/*.jsx' 'app/**/*.js' '__tests__/**/*.js'",
"lint-fix": "yarn lint --fix; exit 0",
"lint-styles": "stylelint --ignore-path .eslintignore '**/*.*(css|scss)' --syntax scss",
Expand All @@ -27,15 +25,12 @@
"package-mac": "yarn build && electron-builder build -m --publish never",
"package-mac-with-download-build": "yarn download-mac-build && yarn package-mac",
"postinstall": "electron-builder install-app-deps package.json && yarn build-dll && opencollective-postinstall",
"preinstall": "node ./internals/scripts/CheckYarn.js",
"prestart": "yarn build",
"start": "cross-env electron -r @babel/register ./app/main.dev.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",
"start-renderer-dev": "cross-env NODE_ENV=development webpack-dev-server --config webpack-configs/webpack.config.renderer.dev.babel.js",
"test": "cross-env NODE_ENV=test BABEL_DISABLE_CACHE=1 jest",
"test-all": "yarn lint && yarn build && yarn test && yarn build-e2e && yarn test-e2e",
"test-e2e": "node -r @babel/register ./internals/scripts/CheckBuiltsExist.js && cross-env NODE_ENV=test testcafe electron:./ ./test/e2e/HomePage.e2e.js",
"test-e2e-live": "node -r @babel/register ./internals/scripts/CheckBuiltsExist.js && cross-env NODE_ENV=test testcafe-live electron:./ ./test/e2e/HomePage.e2e.js",
"test-all": "yarn lint && yarn build && yarn test",
"test-watch": "yarn test --watch",
"download-linux-build": "DOWNLOAD_ECHO_NODE_OS=linux node -r @babel/register ./internals/scripts/DownloadBuild.js",
"download-mac-build": "DOWNLOAD_ECHO_NODE_OS=mac node -r @babel/register ./internals/scripts/DownloadBuild.js"
Expand All @@ -45,17 +40,8 @@
"cross-env NODE_ENV=development eslint --cache --format=pretty",
"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"
],
"*.{html,md,yml}": [
"prettier --ignore-path .eslintignore --single-quote --write",
"git add"
]
},
Expand Down Expand Up @@ -177,7 +163,6 @@
"@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",
"babel-core": "7.0.0-bridge.0",
Expand All @@ -189,6 +174,7 @@
"chalk": "^2.4.1",
"clean-webpack-plugin": "^2.0.1",
"concurrently": "^4.1.0",
"config": "^3.2.4",
"core-js": "^3.0.0",
"cross-env": "^5.2.0",
"cross-spawn": "^6.0.5",
Expand All @@ -204,23 +190,15 @@
"eslint": "^5.11.0",
"eslint-config-airbnb": "^17.1.0",
"eslint-config-erb": "^0.0.2",
"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-jsx-a11y": "6.1.2",
"eslint-plugin-prettier": "^3.0.0",
"eslint-plugin-promise": "^4.0.1",
"eslint-plugin-react": "^7.11.1",
"eslint-plugin-testcafe": "^0.2.1",
"fbjs-scripts": "^1.0.1",
"file-loader": "^3.0.1",
"flow-bin": "^0.77.0",
"flow-runtime": "^0.17.0",
"flow-typed": "^2.5.1",
"html-webpack-plugin": "^3.2.0",
"husky": "^1.3.0",
"identity-obj-proxy": "^3.0.0",
Expand All @@ -230,7 +208,6 @@
"node-sass": "^4.11.0",
"opencollective-postinstall": "^2.0.1",
"optimize-css-assets-webpack-plugin": "^5.0.1",
"prettier": "^1.15.3",
"react-test-renderer": "^16.7.0",
"redux-logger": "^3.0.6",
"rimraf": "^2.6.3",
Expand All @@ -239,22 +216,17 @@
"spectron": "^5.0.0",
"style-loader": "^0.23.1",
"stylelint": "^9.9.0",
"stylelint-config-prettier": "^4.0.0",
"stylelint-config-standard": "^18.2.0",
"stylelint-order": "^2.1.0",
"tar": "^4.4.10",
"terser-webpack-plugin": "^1.2.0",
"testcafe": "^0.23.3",
"testcafe-browser-provider-electron": "^0.0.8",
"testcafe-live": "^0.1.4",
"testcafe-react-selectors": "^3.0.2",
"url-loader": "^1.1.2",
"webpack": "^4.28.2",
"webpack-bundle-analyzer": "^3.0.3",
"webpack-cli": "^3.1.2",
"webpack-dev-server": "^3.1.14",
"webpack-merge": "^4.1.5",
"yarn": "^1.12.3",
"tar": "^4.4.10"
"yarn": "^1.12.3"
},
"dependencies": {
"@fortawesome/fontawesome-free": "^5.6.3",
Expand Down
9 changes: 0 additions & 9 deletions renovate.json

This file was deleted.

Empty file removed resources/linux/test.so
Empty file.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit 59975c5

Please sign in to comment.