Mark Stacey
b983971bfd
Disable `remote-redux-devtools` in non-dev builds ( #12956 )
...
`remote-redux-devtools` is now explicitly excluded and disabled in non-
dev builds, and in the `testDev` build. This was causing console errors
in the `testDev` build during e2e tests, which would cause certain
tests to fail.
This was already only supposed to be enabled for development builds,
but this library used the `NODE_ENV` environment variable to make that
determination. This gives us more control over when it's disabled.
3 years ago
Brad Decker
29742b9519
remove the ui/app and ui/lib folders ( #10911 )
4 years ago
Brad Decker
09d81ac5f2
remove the ui/app and ui/lib folders ( #10911 )
4 years ago
Erik Marks
76a2a9bb8b
@metamask/eslint config@5.0.0 ( #10358 )
...
* @metamask/eslint-config@5.0.0
* Update eslintrc and prettierrc
* yarn lint:fix
4 years ago
Brad Decker
2ebf8756a4
[RFC] add prettier to eslint ( #8595 )
4 years ago
Whymarrh Whitby
92971d3c87
Migrate codebase to use ESM ( #7730 )
...
* Update eslint-plugin-import version
* Convert JS files to use ESM
* Update ESLint rules to check imports
* Fix test:unit:global command env
* Cleanup mock-dev script
5 years ago
Whymarrh Whitby
830c801ec3
Add React and Redux DevTools ( #6793 )
...
* Add React and Redux DevTools
* Conditionally load react-devtools
* Add start:dev npm script to run the app with devtools
Co-Authored-By: Mark Stacey <markjstacey@gmail.com>
5 years ago
Chi Kei Chan
31175625b4
Folder restructure ( #6304 )
...
* Remove ui/app/keychains/
* Remove ui/app/img/ (unused images)
* Move conversion-util to helpers/utils/
* Move token-util to helpers/utils/
* Move /helpers/*.js inside /helpers/utils/
* Move util tests inside /helpers/utils/
* Renameand move confirm-transaction/util.js to helpers/utils/
* Move higher-order-components to helpers/higher-order-components/
* Move infura-conversion.json to helpers/constants/
* Move all utility functions to helpers/utils/
* Move pages directory to top-level
* Move all constants to helpers/constants/
* Move metametrics inside helpers/
* Move app and root inside pages/
* Move routes inside helpers/
* Re-organize ducks/
* Move reducers to ducks/
* Move selectors inside selectors/
* Move test out of test folder
* Move action, reducer, store inside store/
* Move ui components inside ui/
* Move UI components inside ui/
* Move connected components inside components/app/
* Move i18n-helper inside helpers/
* Fix unit tests
* Fix unit test
* Move pages components
* Rename routes component
* Move reducers to ducks/index
* Fix bad path in unit test
6 years ago
kumavis
00657e14a8
build - correctly set METAMASK_ENV via envify
7 years ago
Thomas Huang
67e4855b9d
Updated commonjs require path for redux-logger and redux-thunk modules
7 years ago
Dan Finlay
86d367957f
Move responsive ui into its own folder for easier merges
7 years ago
Dan Finlay
5eb3d5d485
Make folder for responsive UI
8 years ago
Kevin Serrano
ed03b89e26
Move tos hash logic to build phase. Create dynamic global variables based on build.
8 years ago
Kevin Serrano
041538e89e
UI logging supressed for production.
8 years ago
Kevin Serrano
2b0c6953e2
Create global variable that changes ui logging.
8 years ago
Kevin Serrano
b8856d765d
Setting defaults to production.
8 years ago
Kevin Serrano
b3def32f7a
Cosmetic difference.
8 years ago
Kevin Serrano
ec2641a8c9
Remove stray console.log
8 years ago
Kevin Serrano
0056844335
Take out unused dependency.
8 years ago
Kevin Serrano
bf384da6f3
Remove comments.
8 years ago
Kevin Serrano
804e8df87f
Lint
8 years ago
Kevin Serrano
9904b4ef5a
Add ability to hide logging messages in production.
8 years ago
Frankie
9c6dd9ef49
Create "buy form" add shape shift
8 years ago
Dan Finlay
a08c3bc01b
Auto linted
9 years ago
Dan Finlay
d814a45dff
Moved UI into repo with its own dependency stack
9 years ago