Browse Source

Removed /js folder

pull/8/head
Vladimir Volek 4 years ago
parent
commit
424be08e7c
  1. 13
      .babelrc
  2. 9
      .flowconfig
  3. 2
      jest.config.js
  4. 11
      jsconfig.json
  5. 6
      package.json
  6. 0
      src/actions/AccountsActions.js
  7. 0
      src/actions/DiscoveryActions.js
  8. 0
      src/actions/HistoryActions.js
  9. 0
      src/actions/LocalStorageActions.js
  10. 0
      src/actions/LogActions.js
  11. 0
      src/actions/ModalActions.js
  12. 0
      src/actions/NotificationActions.js
  13. 0
      src/actions/PendingTxActions.js
  14. 0
      src/actions/ReceiveActions.js
  15. 0
      src/actions/SelectedAccountActions.js
  16. 0
      src/actions/SendFormActions.js
  17. 0
      src/actions/SessionStorageActions.js
  18. 0
      src/actions/SummaryActions.js
  19. 0
      src/actions/TokenActions.js
  20. 0
      src/actions/TrezorConnectActions.js
  21. 0
      src/actions/WalletActions.js
  22. 0
      src/actions/Web3Actions.js
  23. 0
      src/actions/constants/TrezorConnect.js
  24. 0
      src/actions/constants/account.js
  25. 0
      src/actions/constants/discovery.js
  26. 0
      src/actions/constants/localStorage.js
  27. 0
      src/actions/constants/log.js
  28. 0
      src/actions/constants/modal.js
  29. 0
      src/actions/constants/notification.js
  30. 0
      src/actions/constants/pendingTx.js
  31. 0
      src/actions/constants/receive.js
  32. 0
      src/actions/constants/send.js
  33. 0
      src/actions/constants/summary.js
  34. 0
      src/actions/constants/token.js
  35. 0
      src/actions/constants/wallet.js
  36. 0
      src/actions/constants/web3.js
  37. 0
      src/components/Button/index.js
  38. 0
      src/components/CoinLogo/index.js
  39. 0
      src/components/DeviceHeader/index.js
  40. 0
      src/components/Footer/index.js
  41. 0
      src/components/Header/index.js
  42. 0
      src/components/Heading/index.js
  43. 0
      src/components/Icon/index.js
  44. 0
      src/components/Link/index.js
  45. 0
      src/components/Loader/index.js
  46. 0
      src/components/Log/index.js
  47. 0
      src/components/Notification/index.js
  48. 0
      src/components/Paragraph/index.js
  49. 0
      src/components/Select/index.js
  50. 0
      src/components/TrezorImage/images/trezor-1.png
  51. 0
      src/components/TrezorImage/images/trezor-T.png
  52. 0
      src/components/TrezorImage/index.js
  53. 0
      src/components/modal/ConfirmAddress.js
  54. 0
      src/components/modal/ConfirmSignTx.js
  55. 0
      src/components/modal/DuplicateDevice.js
  56. 0
      src/components/modal/InvalidPin.js
  57. 0
      src/components/modal/Passphrase.js
  58. 0
      src/components/modal/PassphraseType.js
  59. 0
      src/components/modal/Pin.js
  60. 0
      src/components/modal/RememberDevice.js
  61. 0
      src/components/modal/index.js
  62. 0
      src/config/animations.js
  63. 0
      src/config/colors.js
  64. 0
      src/config/icons.js
  65. 0
      src/config/variables.js
  66. 0
      src/constants/bridge.js
  67. 0
      src/constants/coins.js
  68. 0
      src/index.js
  69. 0
      src/reducers/AccountsReducer.js
  70. 0
      src/reducers/DevicesReducer.js
  71. 0
      src/reducers/DiscoveryReducer.js
  72. 0
      src/reducers/FiatRateReducer.js
  73. 0
      src/reducers/LocalStorageReducer.js
  74. 0
      src/reducers/LogReducer.js
  75. 0
      src/reducers/ModalReducer.js
  76. 0
      src/reducers/NotificationReducer.js
  77. 0
      src/reducers/PendingTxReducer.js
  78. 0
      src/reducers/ReceiveReducer.js
  79. 0
      src/reducers/SelectedAccountReducer.js
  80. 0
      src/reducers/SendFormReducer.js
  81. 0
      src/reducers/SummaryReducer.js
  82. 0
      src/reducers/TokensReducer.js
  83. 0
      src/reducers/TrezorConnectReducer.js
  84. 0
      src/reducers/WalletReducer.js
  85. 0
      src/reducers/Web3Reducer.js
  86. 0
      src/reducers/index.js
  87. 0
      src/reducers/utils/index.js
  88. 0
      src/services/CoinmarketcapService.js
  89. 0
      src/services/LocalStorageService.js
  90. 0
      src/services/LogService.js
  91. 0
      src/services/RouterService.js
  92. 0
      src/services/TrezorConnectService.js
  93. 0
      src/services/WalletService.js
  94. 0
      src/services/index.js
  95. 0
      src/store/index.js
  96. 0
      src/support/BaseStyles.js
  97. 0
      src/support/ErrorBoundary.js
  98. 0
      src/utils/__tests__/__snapshots__/device.test.js.snap
  99. 0
      src/utils/__tests__/__snapshots__/ethUtils.test.js.snap
  100. 0
      src/utils/__tests__/device.test.js
  101. Some files were not shown because too many files have changed in this diff Show More

13
.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"
],

9
.flowconfig

@ -31,13 +31,4 @@ esproposal.decorators=ignore
module.name_mapper='.*\(.less\)' -> 'CSSModule'
module.name_mapper='^\(~/\)' -> '<PROJECT_ROOT>/src/'
module.name_mapper='^universal' -> '<PROJECT_ROOT>/src/'
module.name_mapper='^config' -> '<PROJECT_ROOT>/src/js/config'
module.name_mapper='^constants' -> '<PROJECT_ROOT>/src/js/constants'
module.name_mapper='^components' -> '<PROJECT_ROOT>/src/js/components'
module.name_mapper='^actions' -> '<PROJECT_ROOT>/src/js/actions'
module.name_mapper='^reducers' -> '<PROJECT_ROOT>/src/js/reducers'
module.name_mapper='^support' -> '<PROJECT_ROOT>/src/js/support'
module.name_mapper='^utils' -> '<PROJECT_ROOT>/src/js/utils'
module.name_mapper='^services' -> '<PROJECT_ROOT>/src/js/services'
module.name_mapper='^views' -> '<PROJECT_ROOT>/src/js/views'
module.system=haste

2
jest.config.js

@ -7,6 +7,6 @@ module.exports = {
'node_modules',
],
collectCoverageFrom: [
'js/utils/**.js',
'utils/**.js',
],
};

11
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/*"]
}
}
}

6
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"

0
src/js/actions/AccountsActions.js → src/actions/AccountsActions.js

0
src/js/actions/DiscoveryActions.js → src/actions/DiscoveryActions.js

0
src/js/actions/HistoryActions.js → src/actions/HistoryActions.js

0
src/js/actions/LocalStorageActions.js → src/actions/LocalStorageActions.js

0
src/js/actions/LogActions.js → src/actions/LogActions.js

0
src/js/actions/ModalActions.js → src/actions/ModalActions.js

0
src/js/actions/NotificationActions.js → src/actions/NotificationActions.js

0
src/js/actions/PendingTxActions.js → src/actions/PendingTxActions.js

0
src/js/actions/ReceiveActions.js → src/actions/ReceiveActions.js

0
src/js/actions/SelectedAccountActions.js → src/actions/SelectedAccountActions.js

0
src/js/actions/SendFormActions.js → src/actions/SendFormActions.js

0
src/js/actions/SessionStorageActions.js → src/actions/SessionStorageActions.js

0
src/js/actions/SummaryActions.js → src/actions/SummaryActions.js

0
src/js/actions/TokenActions.js → src/actions/TokenActions.js

0
src/js/actions/TrezorConnectActions.js → src/actions/TrezorConnectActions.js

0
src/js/actions/WalletActions.js → src/actions/WalletActions.js

0
src/js/actions/Web3Actions.js → src/actions/Web3Actions.js

0
src/js/actions/constants/TrezorConnect.js → src/actions/constants/TrezorConnect.js

0
src/js/actions/constants/account.js → src/actions/constants/account.js

0
src/js/actions/constants/discovery.js → src/actions/constants/discovery.js

0
src/js/actions/constants/localStorage.js → src/actions/constants/localStorage.js

0
src/js/actions/constants/log.js → src/actions/constants/log.js

0
src/js/actions/constants/modal.js → src/actions/constants/modal.js

0
src/js/actions/constants/notification.js → src/actions/constants/notification.js

0
src/js/actions/constants/pendingTx.js → src/actions/constants/pendingTx.js

0
src/js/actions/constants/receive.js → src/actions/constants/receive.js

0
src/js/actions/constants/send.js → src/actions/constants/send.js

0
src/js/actions/constants/summary.js → src/actions/constants/summary.js

0
src/js/actions/constants/token.js → src/actions/constants/token.js

0
src/js/actions/constants/wallet.js → src/actions/constants/wallet.js

0
src/js/actions/constants/web3.js → src/actions/constants/web3.js

0
src/js/components/Button/index.js → src/components/Button/index.js

0
src/js/components/CoinLogo/index.js → src/components/CoinLogo/index.js

0
src/js/components/DeviceHeader/index.js → src/components/DeviceHeader/index.js

0
src/js/components/Footer/index.js → src/components/Footer/index.js

0
src/js/components/Header/index.js → src/components/Header/index.js

0
src/js/components/Heading/index.js → src/components/Heading/index.js

0
src/js/components/Icon/index.js → src/components/Icon/index.js

0
src/js/components/Link/index.js → src/components/Link/index.js

0
src/js/components/Loader/index.js → src/components/Loader/index.js

0
src/js/components/Log/index.js → src/components/Log/index.js

0
src/js/components/Notification/index.js → src/components/Notification/index.js

0
src/js/components/Paragraph/index.js → src/components/Paragraph/index.js

0
src/js/components/Select/index.js → src/components/Select/index.js

0
src/js/components/TrezorImage/images/trezor-1.png → src/components/TrezorImage/images/trezor-1.png

Before

Width:  |  Height:  |  Size: 2.5 KiB

After

Width:  |  Height:  |  Size: 2.5 KiB

0
src/js/components/TrezorImage/images/trezor-T.png → src/components/TrezorImage/images/trezor-T.png

Before

Width:  |  Height:  |  Size: 3.6 KiB

After

Width:  |  Height:  |  Size: 3.6 KiB

0
src/js/components/TrezorImage/index.js → src/components/TrezorImage/index.js

0
src/js/components/modal/ConfirmAddress.js → src/components/modal/ConfirmAddress.js

0
src/js/components/modal/ConfirmSignTx.js → src/components/modal/ConfirmSignTx.js

0
src/js/components/modal/DuplicateDevice.js → src/components/modal/DuplicateDevice.js

0
src/js/components/modal/InvalidPin.js → src/components/modal/InvalidPin.js

0
src/js/components/modal/Passphrase.js → src/components/modal/Passphrase.js

0
src/js/components/modal/PassphraseType.js → src/components/modal/PassphraseType.js

0
src/js/components/modal/Pin.js → src/components/modal/Pin.js

0
src/js/components/modal/RememberDevice.js → src/components/modal/RememberDevice.js

0
src/js/components/modal/index.js → src/components/modal/index.js

0
src/js/config/animations.js → src/config/animations.js

0
src/js/config/colors.js → src/config/colors.js

0
src/js/config/icons.js → src/config/icons.js

0
src/js/config/variables.js → src/config/variables.js

0
src/js/constants/bridge.js → src/constants/bridge.js

0
src/js/constants/coins.js → src/constants/coins.js

0
src/js/index.js → src/index.js

0
src/js/reducers/AccountsReducer.js → src/reducers/AccountsReducer.js

0
src/js/reducers/DevicesReducer.js → src/reducers/DevicesReducer.js

0
src/js/reducers/DiscoveryReducer.js → src/reducers/DiscoveryReducer.js

0
src/js/reducers/FiatRateReducer.js → src/reducers/FiatRateReducer.js

0
src/js/reducers/LocalStorageReducer.js → src/reducers/LocalStorageReducer.js

0
src/js/reducers/LogReducer.js → src/reducers/LogReducer.js

0
src/js/reducers/ModalReducer.js → src/reducers/ModalReducer.js

0
src/js/reducers/NotificationReducer.js → src/reducers/NotificationReducer.js

0
src/js/reducers/PendingTxReducer.js → src/reducers/PendingTxReducer.js

0
src/js/reducers/ReceiveReducer.js → src/reducers/ReceiveReducer.js

0
src/js/reducers/SelectedAccountReducer.js → src/reducers/SelectedAccountReducer.js

0
src/js/reducers/SendFormReducer.js → src/reducers/SendFormReducer.js

0
src/js/reducers/SummaryReducer.js → src/reducers/SummaryReducer.js

0
src/js/reducers/TokensReducer.js → src/reducers/TokensReducer.js

0
src/js/reducers/TrezorConnectReducer.js → src/reducers/TrezorConnectReducer.js

0
src/js/reducers/WalletReducer.js → src/reducers/WalletReducer.js

0
src/js/reducers/Web3Reducer.js → src/reducers/Web3Reducer.js

0
src/js/reducers/index.js → src/reducers/index.js

0
src/js/reducers/utils/index.js → src/reducers/utils/index.js

0
src/js/services/CoinmarketcapService.js → src/services/CoinmarketcapService.js

0
src/js/services/LocalStorageService.js → src/services/LocalStorageService.js

0
src/js/services/LogService.js → src/services/LogService.js

0
src/js/services/RouterService.js → src/services/RouterService.js

0
src/js/services/TrezorConnectService.js → src/services/TrezorConnectService.js

0
src/js/services/WalletService.js → src/services/WalletService.js

0
src/js/services/index.js → src/services/index.js

0
src/js/store/index.js → src/store/index.js

0
src/js/support/BaseStyles.js → src/support/BaseStyles.js

0
src/js/support/ErrorBoundary.js → src/support/ErrorBoundary.js

0
src/js/utils/__tests__/__snapshots__/device.test.js.snap → src/utils/__tests__/__snapshots__/device.test.js.snap

0
src/js/utils/__tests__/__snapshots__/ethUtils.test.js.snap → src/utils/__tests__/__snapshots__/ethUtils.test.js.snap

0
src/js/utils/__tests__/device.test.js → src/utils/__tests__/device.test.js

Some files were not shown because too many files have changed in this diff Show More

Loading…
Cancel
Save