1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-12-23 09:52:26 +01:00
🦊 Minimalized version of MetaMask for my own personal use.
Go to file
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
2019-03-21 20:33:30 -02:30
.circleci ci: Skip updating npm@6 as it is default 2019-03-13 09:57:05 -02:30
.github
.storybook
app Folder restructure (#6304) 2019-03-21 20:33:30 -02:30
development Folder restructure (#6304) 2019-03-21 20:33:30 -02:30
docs Folder restructure (#6304) 2019-03-21 20:33:30 -02:30
mascara/src/app Folder restructure (#6304) 2019-03-21 20:33:30 -02:30
notices
test Folder restructure (#6304) 2019-03-21 20:33:30 -02:30
ui Folder restructure (#6304) 2019-03-21 20:33:30 -02:30
.babelrc build - babel - move config to babelrc (#6284) 2019-03-12 13:25:28 -02:30
.dockerignore
.editorconfig init commit 2015-07-31 18:38:02 -07:00
.eslintignore mascara - remove from project (#6283) 2019-03-12 11:17:21 -02:30
.eslintrc ESLint fixes (#5775) 2018-11-16 14:54:55 -10:00
.gitattributes
.gitignore
.nvmrc Update Node minor version 2019-03-13 09:56:36 -02:30
.stylelintignore mascara - remove from project (#6283) 2019-03-12 11:17:21 -02:30
.stylelintrc
CHANGELOG.md Patch/bump version (#6294) 2019-03-12 15:24:30 -07:00
CONTRIBUTING.md
fonts
gentests.js
gulpfile.js mascara - remove from project (#6283) 2019-03-12 11:17:21 -02:30
images
ISSUE_TEMPLATE
LICENSE
MISSION.md
package-lock.json Bump gaba version to avoid broken eth-contract-metadata 2019-03-20 17:01:15 -02:30
package.json Bump gaba version to avoid broken eth-contract-metadata 2019-03-20 17:01:15 -02:30
README.md Remove outdated ui dev and ui mock docs 2019-02-20 14:18:46 -03:30
USER_AGREEMENT.md

MetaMask Browser Extension

Build Status Coverage Status Stories in Ready

You can find the latest version of MetaMask on our official website. For help using MetaMask, visit our User Support Site.

For up to the minute news, follow our Twitter or Medium pages.

To learn how to develop MetaMask-compatible applications, visit our Developer Docs.

To learn how to contribute to the MetaMask project itself, visit our Internal Docs.

Building locally

  • Install Node.js version 8 and the latest available npm@6
    • If you are using nvm (recommended) running nvm use will automatically choose the right node version for you.
    • If you install Node.js manually, ensure you're using npm@6
      • Install npm@6 using npm install -g npm@6
  • Install dependencies: npm install
    • If you have issues with node-sass compilation, try npm rebuild node-sass
  • Install gulp globally with npm install -g gulp-cli.
  • Build the project to the ./dist/ folder with gulp build.
  • Optionally, to rebuild on file changes, run gulp dev.
  • To package .zip files for distribution, run gulp zip, or run the full build & zip with gulp dist.

Uncompressed builds can be found in /dist, compressed builds can be found in /builds once they're built.

Contributing

You can read our internal docs here.

You can re-generate the docs locally by running npm run doc, and contributors can update the hosted docs by running npm run publish-docs.

Running Tests

Requires mocha installed. Run npm install -g mocha.

Then just run npm test.

You can also test with a continuously watching process, via npm run watch.

You can run the linter by itself with gulp lint.

Architecture

Architecture Diagram

Development

npm install
npm start

Build for Publishing

npm run dist

Writing Browser Tests

To write tests that will be run in the browser using QUnit, add your test files to test/integration/lib.

Other Docs