From 424be08e7cb07f12f4b3df0fd629bb9a6451164b Mon Sep 17 00:00:00 2001 From: Vladimir Volek Date: Mon, 27 Aug 2018 17:15:22 +0200 Subject: [PATCH] Removed /js folder --- .babelrc | 13 +------------ .flowconfig | 9 --------- jest.config.js | 2 +- jsconfig.json | 11 +---------- package.json | 6 +++--- src/{js => }/actions/AccountsActions.js | 0 src/{js => }/actions/DiscoveryActions.js | 0 src/{js => }/actions/HistoryActions.js | 0 src/{js => }/actions/LocalStorageActions.js | 0 src/{js => }/actions/LogActions.js | 0 src/{js => }/actions/ModalActions.js | 0 src/{js => }/actions/NotificationActions.js | 0 src/{js => }/actions/PendingTxActions.js | 0 src/{js => }/actions/ReceiveActions.js | 0 src/{js => }/actions/SelectedAccountActions.js | 0 src/{js => }/actions/SendFormActions.js | 0 src/{js => }/actions/SessionStorageActions.js | 0 src/{js => }/actions/SummaryActions.js | 0 src/{js => }/actions/TokenActions.js | 0 src/{js => }/actions/TrezorConnectActions.js | 0 src/{js => }/actions/WalletActions.js | 0 src/{js => }/actions/Web3Actions.js | 0 src/{js => }/actions/constants/TrezorConnect.js | 0 src/{js => }/actions/constants/account.js | 0 src/{js => }/actions/constants/discovery.js | 0 src/{js => }/actions/constants/localStorage.js | 0 src/{js => }/actions/constants/log.js | 0 src/{js => }/actions/constants/modal.js | 0 src/{js => }/actions/constants/notification.js | 0 src/{js => }/actions/constants/pendingTx.js | 0 src/{js => }/actions/constants/receive.js | 0 src/{js => }/actions/constants/send.js | 0 src/{js => }/actions/constants/summary.js | 0 src/{js => }/actions/constants/token.js | 0 src/{js => }/actions/constants/wallet.js | 0 src/{js => }/actions/constants/web3.js | 0 src/{js => }/components/Button/index.js | 0 src/{js => }/components/CoinLogo/index.js | 0 src/{js => }/components/DeviceHeader/index.js | 0 src/{js => }/components/Footer/index.js | 0 src/{js => }/components/Header/index.js | 0 src/{js => }/components/Heading/index.js | 0 src/{js => }/components/Icon/index.js | 0 src/{js => }/components/Link/index.js | 0 src/{js => }/components/Loader/index.js | 0 src/{js => }/components/Log/index.js | 0 src/{js => }/components/Notification/index.js | 0 src/{js => }/components/Paragraph/index.js | 0 src/{js => }/components/Select/index.js | 0 .../components/TrezorImage/images/trezor-1.png | Bin .../components/TrezorImage/images/trezor-T.png | Bin src/{js => }/components/TrezorImage/index.js | 0 src/{js => }/components/modal/ConfirmAddress.js | 0 src/{js => }/components/modal/ConfirmSignTx.js | 0 src/{js => }/components/modal/DuplicateDevice.js | 0 src/{js => }/components/modal/InvalidPin.js | 0 src/{js => }/components/modal/Passphrase.js | 0 src/{js => }/components/modal/PassphraseType.js | 0 src/{js => }/components/modal/Pin.js | 0 src/{js => }/components/modal/RememberDevice.js | 0 src/{js => }/components/modal/index.js | 0 src/{js => }/config/animations.js | 0 src/{js => }/config/colors.js | 0 src/{js => }/config/icons.js | 0 src/{js => }/config/variables.js | 0 src/{js => }/constants/bridge.js | 0 src/{js => }/constants/coins.js | 0 src/{js => }/index.js | 0 src/{js => }/reducers/AccountsReducer.js | 0 src/{js => }/reducers/DevicesReducer.js | 0 src/{js => }/reducers/DiscoveryReducer.js | 0 src/{js => }/reducers/FiatRateReducer.js | 0 src/{js => }/reducers/LocalStorageReducer.js | 0 src/{js => }/reducers/LogReducer.js | 0 src/{js => }/reducers/ModalReducer.js | 0 src/{js => }/reducers/NotificationReducer.js | 0 src/{js => }/reducers/PendingTxReducer.js | 0 src/{js => }/reducers/ReceiveReducer.js | 0 src/{js => }/reducers/SelectedAccountReducer.js | 0 src/{js => }/reducers/SendFormReducer.js | 0 src/{js => }/reducers/SummaryReducer.js | 0 src/{js => }/reducers/TokensReducer.js | 0 src/{js => }/reducers/TrezorConnectReducer.js | 0 src/{js => }/reducers/WalletReducer.js | 0 src/{js => }/reducers/Web3Reducer.js | 0 src/{js => }/reducers/index.js | 0 src/{js => }/reducers/utils/index.js | 0 src/{js => }/services/CoinmarketcapService.js | 0 src/{js => }/services/LocalStorageService.js | 0 src/{js => }/services/LogService.js | 0 src/{js => }/services/RouterService.js | 0 src/{js => }/services/TrezorConnectService.js | 0 src/{js => }/services/WalletService.js | 0 src/{js => }/services/index.js | 0 src/{js => }/store/index.js | 0 src/{js => }/support/BaseStyles.js | 0 src/{js => }/support/ErrorBoundary.js | 0 .../__tests__/__snapshots__/device.test.js.snap | 0 .../__tests__/__snapshots__/ethUtils.test.js.snap | 0 src/{js => }/utils/__tests__/device.test.js | 0 src/{js => }/utils/__tests__/ethUtils.test.js | 0 src/{js => }/utils/device.js | 2 +- src/{js => }/utils/ethUtils.js | 0 src/{js => }/utils/formatUtils.js | 0 src/{js => }/utils/networkUtils.js | 0 src/{js => }/utils/promiseUtils.js | 0 src/{js => }/utils/windowUtils.js | 0 src/{js => }/views/Landing/Container.js | 0 .../components/BrowserNotSupported/index.js | 0 .../Landing/components/ConnectDevice/index.js | 0 .../Landing/components/InstallBridge/index.js | 0 src/{js => }/views/Landing/index.js | 0 src/{js => }/views/Wallet/Container.js | 0 .../Wallet/components/LeftNavigation/Container.js | 0 .../LeftNavigation/components/AccountMenu/index.js | 0 .../LeftNavigation/components/CoinMenu/index.js | 0 .../DeviceMenu/components/DeviceList/index.js | 0 .../DeviceMenu/components/MenuItems/index.js | 0 .../LeftNavigation/components/DeviceMenu/index.js | 0 .../LeftNavigation/components/Divider/index.js | 0 .../LeftNavigation/components/Row/index.js | 0 .../LeftNavigation/components/RowCoin/index.js | 0 .../components/StickyContainer/index.js | 0 .../components/LeftNavigation/components/common.js | 0 .../Wallet/components/LeftNavigation/index.js | 0 .../Wallet/components/SelectedAccount/index.js | 0 .../components/TopNavigationAccount/index.js | 0 .../TopNavigationDeviceSettings/index.js | 0 src/{js => }/views/Wallet/index.js | 0 .../views/Wallet/views/AccountReceive/Container.js | 0 .../views/Wallet/views/AccountReceive/index.js | 0 .../views/Wallet/views/AccountSend/Container.js | 0 .../views/AccountSend/components/AdvancedForm.js | 0 .../AccountSend/components/CoinSelectOption.js | 0 .../views/AccountSend/components/FeeSelect.js | 0 .../AccountSend/components/PendingTransactions.js | 0 .../views/Wallet/views/AccountSend/index.js | 0 .../views/Wallet/views/AccountSignVerify/index.js | 0 .../views/Wallet/views/AccountSummary/Container.js | 0 .../AccountSummary/components/Details/index.js | 0 .../AccountSummary/components/Tokens/index.js | 0 .../views/Wallet/views/AccountSummary/index.js | 0 src/{js => }/views/Wallet/views/Acquire/index.js | 0 .../views/Wallet/views/Bootloader/index.js | 0 src/{js => }/views/Wallet/views/Dashboard/index.js | 0 .../views/Wallet/views/DeviceSettings/index.js | 0 .../views/Wallet/views/Initialize/index.js | 0 .../views/Wallet/views/UnreadableDevice/index.js | 0 .../views/Wallet/views/WalletSettings/index.js | 0 src/{js => }/views/index.js | 0 webpack/config.dev.babel.js | 2 +- webpack/config.dev.local.babel.js | 2 +- webpack/config.prod.babel.js | 4 ++-- 153 files changed, 11 insertions(+), 40 deletions(-) rename src/{js => }/actions/AccountsActions.js (100%) rename src/{js => }/actions/DiscoveryActions.js (100%) rename src/{js => }/actions/HistoryActions.js (100%) rename src/{js => }/actions/LocalStorageActions.js (100%) rename src/{js => }/actions/LogActions.js (100%) rename src/{js => }/actions/ModalActions.js (100%) rename src/{js => }/actions/NotificationActions.js (100%) rename src/{js => }/actions/PendingTxActions.js (100%) rename src/{js => }/actions/ReceiveActions.js (100%) rename src/{js => }/actions/SelectedAccountActions.js (100%) rename src/{js => }/actions/SendFormActions.js (100%) rename src/{js => }/actions/SessionStorageActions.js (100%) rename src/{js => }/actions/SummaryActions.js (100%) rename src/{js => }/actions/TokenActions.js (100%) rename src/{js => }/actions/TrezorConnectActions.js (100%) rename src/{js => }/actions/WalletActions.js (100%) rename src/{js => }/actions/Web3Actions.js (100%) rename src/{js => }/actions/constants/TrezorConnect.js (100%) rename src/{js => }/actions/constants/account.js (100%) rename src/{js => }/actions/constants/discovery.js (100%) rename src/{js => }/actions/constants/localStorage.js (100%) rename src/{js => }/actions/constants/log.js (100%) rename src/{js => }/actions/constants/modal.js (100%) rename src/{js => }/actions/constants/notification.js (100%) rename src/{js => }/actions/constants/pendingTx.js (100%) rename src/{js => }/actions/constants/receive.js (100%) rename src/{js => }/actions/constants/send.js (100%) rename src/{js => }/actions/constants/summary.js (100%) rename src/{js => }/actions/constants/token.js (100%) rename src/{js => }/actions/constants/wallet.js (100%) rename src/{js => }/actions/constants/web3.js (100%) rename src/{js => }/components/Button/index.js (100%) rename src/{js => }/components/CoinLogo/index.js (100%) rename src/{js => }/components/DeviceHeader/index.js (100%) rename src/{js => }/components/Footer/index.js (100%) rename src/{js => }/components/Header/index.js (100%) rename src/{js => }/components/Heading/index.js (100%) rename src/{js => }/components/Icon/index.js (100%) rename src/{js => }/components/Link/index.js (100%) rename src/{js => }/components/Loader/index.js (100%) rename src/{js => }/components/Log/index.js (100%) rename src/{js => }/components/Notification/index.js (100%) rename src/{js => }/components/Paragraph/index.js (100%) rename src/{js => }/components/Select/index.js (100%) rename src/{js => }/components/TrezorImage/images/trezor-1.png (100%) rename src/{js => }/components/TrezorImage/images/trezor-T.png (100%) rename src/{js => }/components/TrezorImage/index.js (100%) rename src/{js => }/components/modal/ConfirmAddress.js (100%) rename src/{js => }/components/modal/ConfirmSignTx.js (100%) rename src/{js => }/components/modal/DuplicateDevice.js (100%) rename src/{js => }/components/modal/InvalidPin.js (100%) rename src/{js => }/components/modal/Passphrase.js (100%) rename src/{js => }/components/modal/PassphraseType.js (100%) rename src/{js => }/components/modal/Pin.js (100%) rename src/{js => }/components/modal/RememberDevice.js (100%) rename src/{js => }/components/modal/index.js (100%) rename src/{js => }/config/animations.js (100%) rename src/{js => }/config/colors.js (100%) rename src/{js => }/config/icons.js (100%) rename src/{js => }/config/variables.js (100%) rename src/{js => }/constants/bridge.js (100%) rename src/{js => }/constants/coins.js (100%) rename src/{js => }/index.js (100%) rename src/{js => }/reducers/AccountsReducer.js (100%) rename src/{js => }/reducers/DevicesReducer.js (100%) rename src/{js => }/reducers/DiscoveryReducer.js (100%) rename src/{js => }/reducers/FiatRateReducer.js (100%) rename src/{js => }/reducers/LocalStorageReducer.js (100%) rename src/{js => }/reducers/LogReducer.js (100%) rename src/{js => }/reducers/ModalReducer.js (100%) rename src/{js => }/reducers/NotificationReducer.js (100%) rename src/{js => }/reducers/PendingTxReducer.js (100%) rename src/{js => }/reducers/ReceiveReducer.js (100%) rename src/{js => }/reducers/SelectedAccountReducer.js (100%) rename src/{js => }/reducers/SendFormReducer.js (100%) rename src/{js => }/reducers/SummaryReducer.js (100%) rename src/{js => }/reducers/TokensReducer.js (100%) rename src/{js => }/reducers/TrezorConnectReducer.js (100%) rename src/{js => }/reducers/WalletReducer.js (100%) rename src/{js => }/reducers/Web3Reducer.js (100%) rename src/{js => }/reducers/index.js (100%) rename src/{js => }/reducers/utils/index.js (100%) rename src/{js => }/services/CoinmarketcapService.js (100%) rename src/{js => }/services/LocalStorageService.js (100%) rename src/{js => }/services/LogService.js (100%) rename src/{js => }/services/RouterService.js (100%) rename src/{js => }/services/TrezorConnectService.js (100%) rename src/{js => }/services/WalletService.js (100%) rename src/{js => }/services/index.js (100%) rename src/{js => }/store/index.js (100%) rename src/{js => }/support/BaseStyles.js (100%) rename src/{js => }/support/ErrorBoundary.js (100%) rename src/{js => }/utils/__tests__/__snapshots__/device.test.js.snap (100%) rename src/{js => }/utils/__tests__/__snapshots__/ethUtils.test.js.snap (100%) rename src/{js => }/utils/__tests__/device.test.js (100%) rename src/{js => }/utils/__tests__/ethUtils.test.js (100%) rename src/{js => }/utils/device.js (98%) rename src/{js => }/utils/ethUtils.js (100%) rename src/{js => }/utils/formatUtils.js (100%) rename src/{js => }/utils/networkUtils.js (100%) rename src/{js => }/utils/promiseUtils.js (100%) rename src/{js => }/utils/windowUtils.js (100%) rename src/{js => }/views/Landing/Container.js (100%) rename src/{js => }/views/Landing/components/BrowserNotSupported/index.js (100%) rename src/{js => }/views/Landing/components/ConnectDevice/index.js (100%) rename src/{js => }/views/Landing/components/InstallBridge/index.js (100%) rename src/{js => }/views/Landing/index.js (100%) rename src/{js => }/views/Wallet/Container.js (100%) rename src/{js => }/views/Wallet/components/LeftNavigation/Container.js (100%) rename src/{js => }/views/Wallet/components/LeftNavigation/components/AccountMenu/index.js (100%) rename src/{js => }/views/Wallet/components/LeftNavigation/components/CoinMenu/index.js (100%) rename src/{js => }/views/Wallet/components/LeftNavigation/components/DeviceMenu/components/DeviceList/index.js (100%) rename src/{js => }/views/Wallet/components/LeftNavigation/components/DeviceMenu/components/MenuItems/index.js (100%) rename src/{js => }/views/Wallet/components/LeftNavigation/components/DeviceMenu/index.js (100%) rename src/{js => }/views/Wallet/components/LeftNavigation/components/Divider/index.js (100%) rename src/{js => }/views/Wallet/components/LeftNavigation/components/Row/index.js (100%) rename src/{js => }/views/Wallet/components/LeftNavigation/components/RowCoin/index.js (100%) rename src/{js => }/views/Wallet/components/LeftNavigation/components/StickyContainer/index.js (100%) rename src/{js => }/views/Wallet/components/LeftNavigation/components/common.js (100%) rename src/{js => }/views/Wallet/components/LeftNavigation/index.js (100%) rename src/{js => }/views/Wallet/components/SelectedAccount/index.js (100%) rename src/{js => }/views/Wallet/components/TopNavigationAccount/index.js (100%) rename src/{js => }/views/Wallet/components/TopNavigationDeviceSettings/index.js (100%) rename src/{js => }/views/Wallet/index.js (100%) rename src/{js => }/views/Wallet/views/AccountReceive/Container.js (100%) rename src/{js => }/views/Wallet/views/AccountReceive/index.js (100%) rename src/{js => }/views/Wallet/views/AccountSend/Container.js (100%) rename src/{js => }/views/Wallet/views/AccountSend/components/AdvancedForm.js (100%) rename src/{js => }/views/Wallet/views/AccountSend/components/CoinSelectOption.js (100%) rename src/{js => }/views/Wallet/views/AccountSend/components/FeeSelect.js (100%) rename src/{js => }/views/Wallet/views/AccountSend/components/PendingTransactions.js (100%) rename src/{js => }/views/Wallet/views/AccountSend/index.js (100%) rename src/{js => }/views/Wallet/views/AccountSignVerify/index.js (100%) rename src/{js => }/views/Wallet/views/AccountSummary/Container.js (100%) rename src/{js => }/views/Wallet/views/AccountSummary/components/Details/index.js (100%) rename src/{js => }/views/Wallet/views/AccountSummary/components/Tokens/index.js (100%) rename src/{js => }/views/Wallet/views/AccountSummary/index.js (100%) rename src/{js => }/views/Wallet/views/Acquire/index.js (100%) rename src/{js => }/views/Wallet/views/Bootloader/index.js (100%) rename src/{js => }/views/Wallet/views/Dashboard/index.js (100%) rename src/{js => }/views/Wallet/views/DeviceSettings/index.js (100%) rename src/{js => }/views/Wallet/views/Initialize/index.js (100%) rename src/{js => }/views/Wallet/views/UnreadableDevice/index.js (100%) rename src/{js => }/views/Wallet/views/WalletSettings/index.js (100%) rename src/{js => }/views/index.js (100%) diff --git a/.babelrc b/.babelrc index 53b6a302..f0a0c0bc 100644 --- a/.babelrc +++ b/.babelrc @@ -16,18 +16,7 @@ "regenerator": true }], ["module-resolver", { - "root": ["./src"], - "alias": { - "config": "./src/js/config", - "constants": "./src/js/constants", - "components": "./src/js/components", - "actions": "./src/js/actions", - "reducers": "./src/js/reducers", - "support": "./src/js/support", - "utils": "./src/js/utils", - "services": "./src/js/services", - "views": "./src/js/views" - } + "root": ["./src"] }], "babel-plugin-styled-components" ], diff --git a/.flowconfig b/.flowconfig index faae2174..ea52332a 100644 --- a/.flowconfig +++ b/.flowconfig @@ -31,13 +31,4 @@ esproposal.decorators=ignore module.name_mapper='.*\(.less\)' -> 'CSSModule' module.name_mapper='^\(~/\)' -> '/src/' module.name_mapper='^universal' -> '/src/' -module.name_mapper='^config' -> '/src/js/config' -module.name_mapper='^constants' -> '/src/js/constants' -module.name_mapper='^components' -> '/src/js/components' -module.name_mapper='^actions' -> '/src/js/actions' -module.name_mapper='^reducers' -> '/src/js/reducers' -module.name_mapper='^support' -> '/src/js/support' -module.name_mapper='^utils' -> '/src/js/utils' -module.name_mapper='^services' -> '/src/js/services' -module.name_mapper='^views' -> '/src/js/views' module.system=haste diff --git a/jest.config.js b/jest.config.js index 6b9dcaaa..ab51975b 100644 --- a/jest.config.js +++ b/jest.config.js @@ -7,6 +7,6 @@ module.exports = { 'node_modules', ], collectCoverageFrom: [ - 'js/utils/**.js', + 'utils/**.js', ], }; diff --git a/jsconfig.json b/jsconfig.json index d48f8ef8..2181c8a7 100644 --- a/jsconfig.json +++ b/jsconfig.json @@ -2,16 +2,7 @@ "compilerOptions": { "baseUrl": ".", "paths": { - "*": ["src/*"], - "components/*": ["./src/js/components/*"], - "config/*": ["./src/js/config/*"], - "constants/*": ["./src/js/constants/*"], - "support/*": ["./src/js/support/*"], - "actions/*": ["./src/js/actions/*"], - "reducers/*": ["./src/js/reducers/*"], - "utils/*": ["./src/js/utils/*"], - "services/*": ["./src/js/services/*"], - "views/*": ["./src/js/views/*"], + "*": ["src/*"] } } } \ No newline at end of file diff --git a/package.json b/package.json index fe6aa4c7..ea866eaa 100644 --- a/package.json +++ b/package.json @@ -18,10 +18,10 @@ "dev": "webpack-dev-server --config ./webpack/config.dev.babel.js --mode development", "dev:local": "webpack-dev-server --config ./webpack/config.dev.local.babel.js --mode development", "build": "rm -rf build && webpack --config ./webpack/config.prod.babel.js --progress", - "flow": "flow check src/js", + "flow": "flow check src", "lint": "run-s lint:*", - "lint:js": "eslint ./src/js ./webpack", - "lint:css": "stylelint './src/js/**/*.js'", + "lint:js": "eslint ./src ./webpack", + "lint:css": "stylelint './src/**/*.js'", "test": "run-s test:*", "test:unit": "jest", "test-unit:watch": "jest -o --watch" diff --git a/src/js/actions/AccountsActions.js b/src/actions/AccountsActions.js similarity index 100% rename from src/js/actions/AccountsActions.js rename to src/actions/AccountsActions.js diff --git a/src/js/actions/DiscoveryActions.js b/src/actions/DiscoveryActions.js similarity index 100% rename from src/js/actions/DiscoveryActions.js rename to src/actions/DiscoveryActions.js diff --git a/src/js/actions/HistoryActions.js b/src/actions/HistoryActions.js similarity index 100% rename from src/js/actions/HistoryActions.js rename to src/actions/HistoryActions.js diff --git a/src/js/actions/LocalStorageActions.js b/src/actions/LocalStorageActions.js similarity index 100% rename from src/js/actions/LocalStorageActions.js rename to src/actions/LocalStorageActions.js diff --git a/src/js/actions/LogActions.js b/src/actions/LogActions.js similarity index 100% rename from src/js/actions/LogActions.js rename to src/actions/LogActions.js diff --git a/src/js/actions/ModalActions.js b/src/actions/ModalActions.js similarity index 100% rename from src/js/actions/ModalActions.js rename to src/actions/ModalActions.js diff --git a/src/js/actions/NotificationActions.js b/src/actions/NotificationActions.js similarity index 100% rename from src/js/actions/NotificationActions.js rename to src/actions/NotificationActions.js diff --git a/src/js/actions/PendingTxActions.js b/src/actions/PendingTxActions.js similarity index 100% rename from src/js/actions/PendingTxActions.js rename to src/actions/PendingTxActions.js diff --git a/src/js/actions/ReceiveActions.js b/src/actions/ReceiveActions.js similarity index 100% rename from src/js/actions/ReceiveActions.js rename to src/actions/ReceiveActions.js diff --git a/src/js/actions/SelectedAccountActions.js b/src/actions/SelectedAccountActions.js similarity index 100% rename from src/js/actions/SelectedAccountActions.js rename to src/actions/SelectedAccountActions.js diff --git a/src/js/actions/SendFormActions.js b/src/actions/SendFormActions.js similarity index 100% rename from src/js/actions/SendFormActions.js rename to src/actions/SendFormActions.js diff --git a/src/js/actions/SessionStorageActions.js b/src/actions/SessionStorageActions.js similarity index 100% rename from src/js/actions/SessionStorageActions.js rename to src/actions/SessionStorageActions.js diff --git a/src/js/actions/SummaryActions.js b/src/actions/SummaryActions.js similarity index 100% rename from src/js/actions/SummaryActions.js rename to src/actions/SummaryActions.js diff --git a/src/js/actions/TokenActions.js b/src/actions/TokenActions.js similarity index 100% rename from src/js/actions/TokenActions.js rename to src/actions/TokenActions.js diff --git a/src/js/actions/TrezorConnectActions.js b/src/actions/TrezorConnectActions.js similarity index 100% rename from src/js/actions/TrezorConnectActions.js rename to src/actions/TrezorConnectActions.js diff --git a/src/js/actions/WalletActions.js b/src/actions/WalletActions.js similarity index 100% rename from src/js/actions/WalletActions.js rename to src/actions/WalletActions.js diff --git a/src/js/actions/Web3Actions.js b/src/actions/Web3Actions.js similarity index 100% rename from src/js/actions/Web3Actions.js rename to src/actions/Web3Actions.js diff --git a/src/js/actions/constants/TrezorConnect.js b/src/actions/constants/TrezorConnect.js similarity index 100% rename from src/js/actions/constants/TrezorConnect.js rename to src/actions/constants/TrezorConnect.js diff --git a/src/js/actions/constants/account.js b/src/actions/constants/account.js similarity index 100% rename from src/js/actions/constants/account.js rename to src/actions/constants/account.js diff --git a/src/js/actions/constants/discovery.js b/src/actions/constants/discovery.js similarity index 100% rename from src/js/actions/constants/discovery.js rename to src/actions/constants/discovery.js diff --git a/src/js/actions/constants/localStorage.js b/src/actions/constants/localStorage.js similarity index 100% rename from src/js/actions/constants/localStorage.js rename to src/actions/constants/localStorage.js diff --git a/src/js/actions/constants/log.js b/src/actions/constants/log.js similarity index 100% rename from src/js/actions/constants/log.js rename to src/actions/constants/log.js diff --git a/src/js/actions/constants/modal.js b/src/actions/constants/modal.js similarity index 100% rename from src/js/actions/constants/modal.js rename to src/actions/constants/modal.js diff --git a/src/js/actions/constants/notification.js b/src/actions/constants/notification.js similarity index 100% rename from src/js/actions/constants/notification.js rename to src/actions/constants/notification.js diff --git a/src/js/actions/constants/pendingTx.js b/src/actions/constants/pendingTx.js similarity index 100% rename from src/js/actions/constants/pendingTx.js rename to src/actions/constants/pendingTx.js diff --git a/src/js/actions/constants/receive.js b/src/actions/constants/receive.js similarity index 100% rename from src/js/actions/constants/receive.js rename to src/actions/constants/receive.js diff --git a/src/js/actions/constants/send.js b/src/actions/constants/send.js similarity index 100% rename from src/js/actions/constants/send.js rename to src/actions/constants/send.js diff --git a/src/js/actions/constants/summary.js b/src/actions/constants/summary.js similarity index 100% rename from src/js/actions/constants/summary.js rename to src/actions/constants/summary.js diff --git a/src/js/actions/constants/token.js b/src/actions/constants/token.js similarity index 100% rename from src/js/actions/constants/token.js rename to src/actions/constants/token.js diff --git a/src/js/actions/constants/wallet.js b/src/actions/constants/wallet.js similarity index 100% rename from src/js/actions/constants/wallet.js rename to src/actions/constants/wallet.js diff --git a/src/js/actions/constants/web3.js b/src/actions/constants/web3.js similarity index 100% rename from src/js/actions/constants/web3.js rename to src/actions/constants/web3.js diff --git a/src/js/components/Button/index.js b/src/components/Button/index.js similarity index 100% rename from src/js/components/Button/index.js rename to src/components/Button/index.js diff --git a/src/js/components/CoinLogo/index.js b/src/components/CoinLogo/index.js similarity index 100% rename from src/js/components/CoinLogo/index.js rename to src/components/CoinLogo/index.js diff --git a/src/js/components/DeviceHeader/index.js b/src/components/DeviceHeader/index.js similarity index 100% rename from src/js/components/DeviceHeader/index.js rename to src/components/DeviceHeader/index.js diff --git a/src/js/components/Footer/index.js b/src/components/Footer/index.js similarity index 100% rename from src/js/components/Footer/index.js rename to src/components/Footer/index.js diff --git a/src/js/components/Header/index.js b/src/components/Header/index.js similarity index 100% rename from src/js/components/Header/index.js rename to src/components/Header/index.js diff --git a/src/js/components/Heading/index.js b/src/components/Heading/index.js similarity index 100% rename from src/js/components/Heading/index.js rename to src/components/Heading/index.js diff --git a/src/js/components/Icon/index.js b/src/components/Icon/index.js similarity index 100% rename from src/js/components/Icon/index.js rename to src/components/Icon/index.js diff --git a/src/js/components/Link/index.js b/src/components/Link/index.js similarity index 100% rename from src/js/components/Link/index.js rename to src/components/Link/index.js diff --git a/src/js/components/Loader/index.js b/src/components/Loader/index.js similarity index 100% rename from src/js/components/Loader/index.js rename to src/components/Loader/index.js diff --git a/src/js/components/Log/index.js b/src/components/Log/index.js similarity index 100% rename from src/js/components/Log/index.js rename to src/components/Log/index.js diff --git a/src/js/components/Notification/index.js b/src/components/Notification/index.js similarity index 100% rename from src/js/components/Notification/index.js rename to src/components/Notification/index.js diff --git a/src/js/components/Paragraph/index.js b/src/components/Paragraph/index.js similarity index 100% rename from src/js/components/Paragraph/index.js rename to src/components/Paragraph/index.js diff --git a/src/js/components/Select/index.js b/src/components/Select/index.js similarity index 100% rename from src/js/components/Select/index.js rename to src/components/Select/index.js diff --git a/src/js/components/TrezorImage/images/trezor-1.png b/src/components/TrezorImage/images/trezor-1.png similarity index 100% rename from src/js/components/TrezorImage/images/trezor-1.png rename to src/components/TrezorImage/images/trezor-1.png diff --git a/src/js/components/TrezorImage/images/trezor-T.png b/src/components/TrezorImage/images/trezor-T.png similarity index 100% rename from src/js/components/TrezorImage/images/trezor-T.png rename to src/components/TrezorImage/images/trezor-T.png diff --git a/src/js/components/TrezorImage/index.js b/src/components/TrezorImage/index.js similarity index 100% rename from src/js/components/TrezorImage/index.js rename to src/components/TrezorImage/index.js diff --git a/src/js/components/modal/ConfirmAddress.js b/src/components/modal/ConfirmAddress.js similarity index 100% rename from src/js/components/modal/ConfirmAddress.js rename to src/components/modal/ConfirmAddress.js diff --git a/src/js/components/modal/ConfirmSignTx.js b/src/components/modal/ConfirmSignTx.js similarity index 100% rename from src/js/components/modal/ConfirmSignTx.js rename to src/components/modal/ConfirmSignTx.js diff --git a/src/js/components/modal/DuplicateDevice.js b/src/components/modal/DuplicateDevice.js similarity index 100% rename from src/js/components/modal/DuplicateDevice.js rename to src/components/modal/DuplicateDevice.js diff --git a/src/js/components/modal/InvalidPin.js b/src/components/modal/InvalidPin.js similarity index 100% rename from src/js/components/modal/InvalidPin.js rename to src/components/modal/InvalidPin.js diff --git a/src/js/components/modal/Passphrase.js b/src/components/modal/Passphrase.js similarity index 100% rename from src/js/components/modal/Passphrase.js rename to src/components/modal/Passphrase.js diff --git a/src/js/components/modal/PassphraseType.js b/src/components/modal/PassphraseType.js similarity index 100% rename from src/js/components/modal/PassphraseType.js rename to src/components/modal/PassphraseType.js diff --git a/src/js/components/modal/Pin.js b/src/components/modal/Pin.js similarity index 100% rename from src/js/components/modal/Pin.js rename to src/components/modal/Pin.js diff --git a/src/js/components/modal/RememberDevice.js b/src/components/modal/RememberDevice.js similarity index 100% rename from src/js/components/modal/RememberDevice.js rename to src/components/modal/RememberDevice.js diff --git a/src/js/components/modal/index.js b/src/components/modal/index.js similarity index 100% rename from src/js/components/modal/index.js rename to src/components/modal/index.js diff --git a/src/js/config/animations.js b/src/config/animations.js similarity index 100% rename from src/js/config/animations.js rename to src/config/animations.js diff --git a/src/js/config/colors.js b/src/config/colors.js similarity index 100% rename from src/js/config/colors.js rename to src/config/colors.js diff --git a/src/js/config/icons.js b/src/config/icons.js similarity index 100% rename from src/js/config/icons.js rename to src/config/icons.js diff --git a/src/js/config/variables.js b/src/config/variables.js similarity index 100% rename from src/js/config/variables.js rename to src/config/variables.js diff --git a/src/js/constants/bridge.js b/src/constants/bridge.js similarity index 100% rename from src/js/constants/bridge.js rename to src/constants/bridge.js diff --git a/src/js/constants/coins.js b/src/constants/coins.js similarity index 100% rename from src/js/constants/coins.js rename to src/constants/coins.js diff --git a/src/js/index.js b/src/index.js similarity index 100% rename from src/js/index.js rename to src/index.js diff --git a/src/js/reducers/AccountsReducer.js b/src/reducers/AccountsReducer.js similarity index 100% rename from src/js/reducers/AccountsReducer.js rename to src/reducers/AccountsReducer.js diff --git a/src/js/reducers/DevicesReducer.js b/src/reducers/DevicesReducer.js similarity index 100% rename from src/js/reducers/DevicesReducer.js rename to src/reducers/DevicesReducer.js diff --git a/src/js/reducers/DiscoveryReducer.js b/src/reducers/DiscoveryReducer.js similarity index 100% rename from src/js/reducers/DiscoveryReducer.js rename to src/reducers/DiscoveryReducer.js diff --git a/src/js/reducers/FiatRateReducer.js b/src/reducers/FiatRateReducer.js similarity index 100% rename from src/js/reducers/FiatRateReducer.js rename to src/reducers/FiatRateReducer.js diff --git a/src/js/reducers/LocalStorageReducer.js b/src/reducers/LocalStorageReducer.js similarity index 100% rename from src/js/reducers/LocalStorageReducer.js rename to src/reducers/LocalStorageReducer.js diff --git a/src/js/reducers/LogReducer.js b/src/reducers/LogReducer.js similarity index 100% rename from src/js/reducers/LogReducer.js rename to src/reducers/LogReducer.js diff --git a/src/js/reducers/ModalReducer.js b/src/reducers/ModalReducer.js similarity index 100% rename from src/js/reducers/ModalReducer.js rename to src/reducers/ModalReducer.js diff --git a/src/js/reducers/NotificationReducer.js b/src/reducers/NotificationReducer.js similarity index 100% rename from src/js/reducers/NotificationReducer.js rename to src/reducers/NotificationReducer.js diff --git a/src/js/reducers/PendingTxReducer.js b/src/reducers/PendingTxReducer.js similarity index 100% rename from src/js/reducers/PendingTxReducer.js rename to src/reducers/PendingTxReducer.js diff --git a/src/js/reducers/ReceiveReducer.js b/src/reducers/ReceiveReducer.js similarity index 100% rename from src/js/reducers/ReceiveReducer.js rename to src/reducers/ReceiveReducer.js diff --git a/src/js/reducers/SelectedAccountReducer.js b/src/reducers/SelectedAccountReducer.js similarity index 100% rename from src/js/reducers/SelectedAccountReducer.js rename to src/reducers/SelectedAccountReducer.js diff --git a/src/js/reducers/SendFormReducer.js b/src/reducers/SendFormReducer.js similarity index 100% rename from src/js/reducers/SendFormReducer.js rename to src/reducers/SendFormReducer.js diff --git a/src/js/reducers/SummaryReducer.js b/src/reducers/SummaryReducer.js similarity index 100% rename from src/js/reducers/SummaryReducer.js rename to src/reducers/SummaryReducer.js diff --git a/src/js/reducers/TokensReducer.js b/src/reducers/TokensReducer.js similarity index 100% rename from src/js/reducers/TokensReducer.js rename to src/reducers/TokensReducer.js diff --git a/src/js/reducers/TrezorConnectReducer.js b/src/reducers/TrezorConnectReducer.js similarity index 100% rename from src/js/reducers/TrezorConnectReducer.js rename to src/reducers/TrezorConnectReducer.js diff --git a/src/js/reducers/WalletReducer.js b/src/reducers/WalletReducer.js similarity index 100% rename from src/js/reducers/WalletReducer.js rename to src/reducers/WalletReducer.js diff --git a/src/js/reducers/Web3Reducer.js b/src/reducers/Web3Reducer.js similarity index 100% rename from src/js/reducers/Web3Reducer.js rename to src/reducers/Web3Reducer.js diff --git a/src/js/reducers/index.js b/src/reducers/index.js similarity index 100% rename from src/js/reducers/index.js rename to src/reducers/index.js diff --git a/src/js/reducers/utils/index.js b/src/reducers/utils/index.js similarity index 100% rename from src/js/reducers/utils/index.js rename to src/reducers/utils/index.js diff --git a/src/js/services/CoinmarketcapService.js b/src/services/CoinmarketcapService.js similarity index 100% rename from src/js/services/CoinmarketcapService.js rename to src/services/CoinmarketcapService.js diff --git a/src/js/services/LocalStorageService.js b/src/services/LocalStorageService.js similarity index 100% rename from src/js/services/LocalStorageService.js rename to src/services/LocalStorageService.js diff --git a/src/js/services/LogService.js b/src/services/LogService.js similarity index 100% rename from src/js/services/LogService.js rename to src/services/LogService.js diff --git a/src/js/services/RouterService.js b/src/services/RouterService.js similarity index 100% rename from src/js/services/RouterService.js rename to src/services/RouterService.js diff --git a/src/js/services/TrezorConnectService.js b/src/services/TrezorConnectService.js similarity index 100% rename from src/js/services/TrezorConnectService.js rename to src/services/TrezorConnectService.js diff --git a/src/js/services/WalletService.js b/src/services/WalletService.js similarity index 100% rename from src/js/services/WalletService.js rename to src/services/WalletService.js diff --git a/src/js/services/index.js b/src/services/index.js similarity index 100% rename from src/js/services/index.js rename to src/services/index.js diff --git a/src/js/store/index.js b/src/store/index.js similarity index 100% rename from src/js/store/index.js rename to src/store/index.js diff --git a/src/js/support/BaseStyles.js b/src/support/BaseStyles.js similarity index 100% rename from src/js/support/BaseStyles.js rename to src/support/BaseStyles.js diff --git a/src/js/support/ErrorBoundary.js b/src/support/ErrorBoundary.js similarity index 100% rename from src/js/support/ErrorBoundary.js rename to src/support/ErrorBoundary.js diff --git a/src/js/utils/__tests__/__snapshots__/device.test.js.snap b/src/utils/__tests__/__snapshots__/device.test.js.snap similarity index 100% rename from src/js/utils/__tests__/__snapshots__/device.test.js.snap rename to src/utils/__tests__/__snapshots__/device.test.js.snap diff --git a/src/js/utils/__tests__/__snapshots__/ethUtils.test.js.snap b/src/utils/__tests__/__snapshots__/ethUtils.test.js.snap similarity index 100% rename from src/js/utils/__tests__/__snapshots__/ethUtils.test.js.snap rename to src/utils/__tests__/__snapshots__/ethUtils.test.js.snap diff --git a/src/js/utils/__tests__/device.test.js b/src/utils/__tests__/device.test.js similarity index 100% rename from src/js/utils/__tests__/device.test.js rename to src/utils/__tests__/device.test.js diff --git a/src/js/utils/__tests__/ethUtils.test.js b/src/utils/__tests__/ethUtils.test.js similarity index 100% rename from src/js/utils/__tests__/ethUtils.test.js rename to src/utils/__tests__/ethUtils.test.js diff --git a/src/js/utils/device.js b/src/utils/device.js similarity index 98% rename from src/js/utils/device.js rename to src/utils/device.js index 80195154..de04d66f 100644 --- a/src/js/utils/device.js +++ b/src/utils/device.js @@ -1,4 +1,4 @@ -import colors from 'js/config/colors'; +import colors from 'config/colors'; const getStatus = (device) => { let status = 'connected'; diff --git a/src/js/utils/ethUtils.js b/src/utils/ethUtils.js similarity index 100% rename from src/js/utils/ethUtils.js rename to src/utils/ethUtils.js diff --git a/src/js/utils/formatUtils.js b/src/utils/formatUtils.js similarity index 100% rename from src/js/utils/formatUtils.js rename to src/utils/formatUtils.js diff --git a/src/js/utils/networkUtils.js b/src/utils/networkUtils.js similarity index 100% rename from src/js/utils/networkUtils.js rename to src/utils/networkUtils.js diff --git a/src/js/utils/promiseUtils.js b/src/utils/promiseUtils.js similarity index 100% rename from src/js/utils/promiseUtils.js rename to src/utils/promiseUtils.js diff --git a/src/js/utils/windowUtils.js b/src/utils/windowUtils.js similarity index 100% rename from src/js/utils/windowUtils.js rename to src/utils/windowUtils.js diff --git a/src/js/views/Landing/Container.js b/src/views/Landing/Container.js similarity index 100% rename from src/js/views/Landing/Container.js rename to src/views/Landing/Container.js diff --git a/src/js/views/Landing/components/BrowserNotSupported/index.js b/src/views/Landing/components/BrowserNotSupported/index.js similarity index 100% rename from src/js/views/Landing/components/BrowserNotSupported/index.js rename to src/views/Landing/components/BrowserNotSupported/index.js diff --git a/src/js/views/Landing/components/ConnectDevice/index.js b/src/views/Landing/components/ConnectDevice/index.js similarity index 100% rename from src/js/views/Landing/components/ConnectDevice/index.js rename to src/views/Landing/components/ConnectDevice/index.js diff --git a/src/js/views/Landing/components/InstallBridge/index.js b/src/views/Landing/components/InstallBridge/index.js similarity index 100% rename from src/js/views/Landing/components/InstallBridge/index.js rename to src/views/Landing/components/InstallBridge/index.js diff --git a/src/js/views/Landing/index.js b/src/views/Landing/index.js similarity index 100% rename from src/js/views/Landing/index.js rename to src/views/Landing/index.js diff --git a/src/js/views/Wallet/Container.js b/src/views/Wallet/Container.js similarity index 100% rename from src/js/views/Wallet/Container.js rename to src/views/Wallet/Container.js diff --git a/src/js/views/Wallet/components/LeftNavigation/Container.js b/src/views/Wallet/components/LeftNavigation/Container.js similarity index 100% rename from src/js/views/Wallet/components/LeftNavigation/Container.js rename to src/views/Wallet/components/LeftNavigation/Container.js diff --git a/src/js/views/Wallet/components/LeftNavigation/components/AccountMenu/index.js b/src/views/Wallet/components/LeftNavigation/components/AccountMenu/index.js similarity index 100% rename from src/js/views/Wallet/components/LeftNavigation/components/AccountMenu/index.js rename to src/views/Wallet/components/LeftNavigation/components/AccountMenu/index.js diff --git a/src/js/views/Wallet/components/LeftNavigation/components/CoinMenu/index.js b/src/views/Wallet/components/LeftNavigation/components/CoinMenu/index.js similarity index 100% rename from src/js/views/Wallet/components/LeftNavigation/components/CoinMenu/index.js rename to src/views/Wallet/components/LeftNavigation/components/CoinMenu/index.js diff --git a/src/js/views/Wallet/components/LeftNavigation/components/DeviceMenu/components/DeviceList/index.js b/src/views/Wallet/components/LeftNavigation/components/DeviceMenu/components/DeviceList/index.js similarity index 100% rename from src/js/views/Wallet/components/LeftNavigation/components/DeviceMenu/components/DeviceList/index.js rename to src/views/Wallet/components/LeftNavigation/components/DeviceMenu/components/DeviceList/index.js diff --git a/src/js/views/Wallet/components/LeftNavigation/components/DeviceMenu/components/MenuItems/index.js b/src/views/Wallet/components/LeftNavigation/components/DeviceMenu/components/MenuItems/index.js similarity index 100% rename from src/js/views/Wallet/components/LeftNavigation/components/DeviceMenu/components/MenuItems/index.js rename to src/views/Wallet/components/LeftNavigation/components/DeviceMenu/components/MenuItems/index.js diff --git a/src/js/views/Wallet/components/LeftNavigation/components/DeviceMenu/index.js b/src/views/Wallet/components/LeftNavigation/components/DeviceMenu/index.js similarity index 100% rename from src/js/views/Wallet/components/LeftNavigation/components/DeviceMenu/index.js rename to src/views/Wallet/components/LeftNavigation/components/DeviceMenu/index.js diff --git a/src/js/views/Wallet/components/LeftNavigation/components/Divider/index.js b/src/views/Wallet/components/LeftNavigation/components/Divider/index.js similarity index 100% rename from src/js/views/Wallet/components/LeftNavigation/components/Divider/index.js rename to src/views/Wallet/components/LeftNavigation/components/Divider/index.js diff --git a/src/js/views/Wallet/components/LeftNavigation/components/Row/index.js b/src/views/Wallet/components/LeftNavigation/components/Row/index.js similarity index 100% rename from src/js/views/Wallet/components/LeftNavigation/components/Row/index.js rename to src/views/Wallet/components/LeftNavigation/components/Row/index.js diff --git a/src/js/views/Wallet/components/LeftNavigation/components/RowCoin/index.js b/src/views/Wallet/components/LeftNavigation/components/RowCoin/index.js similarity index 100% rename from src/js/views/Wallet/components/LeftNavigation/components/RowCoin/index.js rename to src/views/Wallet/components/LeftNavigation/components/RowCoin/index.js diff --git a/src/js/views/Wallet/components/LeftNavigation/components/StickyContainer/index.js b/src/views/Wallet/components/LeftNavigation/components/StickyContainer/index.js similarity index 100% rename from src/js/views/Wallet/components/LeftNavigation/components/StickyContainer/index.js rename to src/views/Wallet/components/LeftNavigation/components/StickyContainer/index.js diff --git a/src/js/views/Wallet/components/LeftNavigation/components/common.js b/src/views/Wallet/components/LeftNavigation/components/common.js similarity index 100% rename from src/js/views/Wallet/components/LeftNavigation/components/common.js rename to src/views/Wallet/components/LeftNavigation/components/common.js diff --git a/src/js/views/Wallet/components/LeftNavigation/index.js b/src/views/Wallet/components/LeftNavigation/index.js similarity index 100% rename from src/js/views/Wallet/components/LeftNavigation/index.js rename to src/views/Wallet/components/LeftNavigation/index.js diff --git a/src/js/views/Wallet/components/SelectedAccount/index.js b/src/views/Wallet/components/SelectedAccount/index.js similarity index 100% rename from src/js/views/Wallet/components/SelectedAccount/index.js rename to src/views/Wallet/components/SelectedAccount/index.js diff --git a/src/js/views/Wallet/components/TopNavigationAccount/index.js b/src/views/Wallet/components/TopNavigationAccount/index.js similarity index 100% rename from src/js/views/Wallet/components/TopNavigationAccount/index.js rename to src/views/Wallet/components/TopNavigationAccount/index.js diff --git a/src/js/views/Wallet/components/TopNavigationDeviceSettings/index.js b/src/views/Wallet/components/TopNavigationDeviceSettings/index.js similarity index 100% rename from src/js/views/Wallet/components/TopNavigationDeviceSettings/index.js rename to src/views/Wallet/components/TopNavigationDeviceSettings/index.js diff --git a/src/js/views/Wallet/index.js b/src/views/Wallet/index.js similarity index 100% rename from src/js/views/Wallet/index.js rename to src/views/Wallet/index.js diff --git a/src/js/views/Wallet/views/AccountReceive/Container.js b/src/views/Wallet/views/AccountReceive/Container.js similarity index 100% rename from src/js/views/Wallet/views/AccountReceive/Container.js rename to src/views/Wallet/views/AccountReceive/Container.js diff --git a/src/js/views/Wallet/views/AccountReceive/index.js b/src/views/Wallet/views/AccountReceive/index.js similarity index 100% rename from src/js/views/Wallet/views/AccountReceive/index.js rename to src/views/Wallet/views/AccountReceive/index.js diff --git a/src/js/views/Wallet/views/AccountSend/Container.js b/src/views/Wallet/views/AccountSend/Container.js similarity index 100% rename from src/js/views/Wallet/views/AccountSend/Container.js rename to src/views/Wallet/views/AccountSend/Container.js diff --git a/src/js/views/Wallet/views/AccountSend/components/AdvancedForm.js b/src/views/Wallet/views/AccountSend/components/AdvancedForm.js similarity index 100% rename from src/js/views/Wallet/views/AccountSend/components/AdvancedForm.js rename to src/views/Wallet/views/AccountSend/components/AdvancedForm.js diff --git a/src/js/views/Wallet/views/AccountSend/components/CoinSelectOption.js b/src/views/Wallet/views/AccountSend/components/CoinSelectOption.js similarity index 100% rename from src/js/views/Wallet/views/AccountSend/components/CoinSelectOption.js rename to src/views/Wallet/views/AccountSend/components/CoinSelectOption.js diff --git a/src/js/views/Wallet/views/AccountSend/components/FeeSelect.js b/src/views/Wallet/views/AccountSend/components/FeeSelect.js similarity index 100% rename from src/js/views/Wallet/views/AccountSend/components/FeeSelect.js rename to src/views/Wallet/views/AccountSend/components/FeeSelect.js diff --git a/src/js/views/Wallet/views/AccountSend/components/PendingTransactions.js b/src/views/Wallet/views/AccountSend/components/PendingTransactions.js similarity index 100% rename from src/js/views/Wallet/views/AccountSend/components/PendingTransactions.js rename to src/views/Wallet/views/AccountSend/components/PendingTransactions.js diff --git a/src/js/views/Wallet/views/AccountSend/index.js b/src/views/Wallet/views/AccountSend/index.js similarity index 100% rename from src/js/views/Wallet/views/AccountSend/index.js rename to src/views/Wallet/views/AccountSend/index.js diff --git a/src/js/views/Wallet/views/AccountSignVerify/index.js b/src/views/Wallet/views/AccountSignVerify/index.js similarity index 100% rename from src/js/views/Wallet/views/AccountSignVerify/index.js rename to src/views/Wallet/views/AccountSignVerify/index.js diff --git a/src/js/views/Wallet/views/AccountSummary/Container.js b/src/views/Wallet/views/AccountSummary/Container.js similarity index 100% rename from src/js/views/Wallet/views/AccountSummary/Container.js rename to src/views/Wallet/views/AccountSummary/Container.js diff --git a/src/js/views/Wallet/views/AccountSummary/components/Details/index.js b/src/views/Wallet/views/AccountSummary/components/Details/index.js similarity index 100% rename from src/js/views/Wallet/views/AccountSummary/components/Details/index.js rename to src/views/Wallet/views/AccountSummary/components/Details/index.js diff --git a/src/js/views/Wallet/views/AccountSummary/components/Tokens/index.js b/src/views/Wallet/views/AccountSummary/components/Tokens/index.js similarity index 100% rename from src/js/views/Wallet/views/AccountSummary/components/Tokens/index.js rename to src/views/Wallet/views/AccountSummary/components/Tokens/index.js diff --git a/src/js/views/Wallet/views/AccountSummary/index.js b/src/views/Wallet/views/AccountSummary/index.js similarity index 100% rename from src/js/views/Wallet/views/AccountSummary/index.js rename to src/views/Wallet/views/AccountSummary/index.js diff --git a/src/js/views/Wallet/views/Acquire/index.js b/src/views/Wallet/views/Acquire/index.js similarity index 100% rename from src/js/views/Wallet/views/Acquire/index.js rename to src/views/Wallet/views/Acquire/index.js diff --git a/src/js/views/Wallet/views/Bootloader/index.js b/src/views/Wallet/views/Bootloader/index.js similarity index 100% rename from src/js/views/Wallet/views/Bootloader/index.js rename to src/views/Wallet/views/Bootloader/index.js diff --git a/src/js/views/Wallet/views/Dashboard/index.js b/src/views/Wallet/views/Dashboard/index.js similarity index 100% rename from src/js/views/Wallet/views/Dashboard/index.js rename to src/views/Wallet/views/Dashboard/index.js diff --git a/src/js/views/Wallet/views/DeviceSettings/index.js b/src/views/Wallet/views/DeviceSettings/index.js similarity index 100% rename from src/js/views/Wallet/views/DeviceSettings/index.js rename to src/views/Wallet/views/DeviceSettings/index.js diff --git a/src/js/views/Wallet/views/Initialize/index.js b/src/views/Wallet/views/Initialize/index.js similarity index 100% rename from src/js/views/Wallet/views/Initialize/index.js rename to src/views/Wallet/views/Initialize/index.js diff --git a/src/js/views/Wallet/views/UnreadableDevice/index.js b/src/views/Wallet/views/UnreadableDevice/index.js similarity index 100% rename from src/js/views/Wallet/views/UnreadableDevice/index.js rename to src/views/Wallet/views/UnreadableDevice/index.js diff --git a/src/js/views/Wallet/views/WalletSettings/index.js b/src/views/Wallet/views/WalletSettings/index.js similarity index 100% rename from src/js/views/Wallet/views/WalletSettings/index.js rename to src/views/Wallet/views/WalletSettings/index.js diff --git a/src/js/views/index.js b/src/views/index.js similarity index 100% rename from src/js/views/index.js rename to src/views/index.js diff --git a/webpack/config.dev.babel.js b/webpack/config.dev.babel.js index c96f7bc2..682b4ef7 100644 --- a/webpack/config.dev.babel.js +++ b/webpack/config.dev.babel.js @@ -8,7 +8,7 @@ module.exports = { mode: 'development', devtool: 'inline-source-map', entry: { - index: [`${SRC}js/index.js`], + index: [`${SRC}/index.js`], }, output: { filename: '[name].[hash].js', diff --git a/webpack/config.dev.local.babel.js b/webpack/config.dev.local.babel.js index e3506e9c..cf0be8ff 100644 --- a/webpack/config.dev.local.babel.js +++ b/webpack/config.dev.local.babel.js @@ -17,7 +17,7 @@ module.exports = { mode: 'development', devtool: 'inline-source-map', entry: { - index: [`${SRC}js/index.js`], + index: [`${SRC}/index.js`], 'trezor-connect-npm': `${TREZOR_CONNECT}.js`, // 'extension-permissions': `${TREZOR_CONNECT_ROOT}src/js/extensionPermissions.js`, iframe: TREZOR_IFRAME, diff --git a/webpack/config.prod.babel.js b/webpack/config.prod.babel.js index acac03dc..2eb7e07f 100644 --- a/webpack/config.prod.babel.js +++ b/webpack/config.prod.babel.js @@ -8,10 +8,10 @@ import { SRC, BUILD } from './constants'; module.exports = { mode: 'production', entry: { - index: [`${SRC}js/index.js`], + index: [`${SRC}index.js`], }, output: { - filename: 'js/[name].[hash].js', + filename: '[name].[hash].js', path: BUILD, publicPath: './', },