Go to file
Frankie 6861a218e7
Merge pull request #2755 from MetaMask/tests
Change `console.log` to `log.info` for configureInfuraProvider
2017-12-15 12:58:10 -08:00
app Change console.log for opts in _configureInfuraProvider 2017-12-15 14:43:55 -06:00
development Add development state 2017-12-06 22:55:04 -05:00
docs Define encryptor in constructor params instead of platform object 2017-09-22 13:25:08 -07:00
mascara Add markdown class to mascara ui markdown field 2017-11-29 13:34:19 -08:00
notices Migrate old data to include firstVersion info 2017-11-28 16:56:45 -08:00
test Add tests for exponential backoff code in _resubmitTx 2017-12-06 14:11:14 -03:30
ui Merge pull request #2706 from danjm/MM-fix-buy-cancel-button 2017-12-14 15:06:53 -05:00
.babelrc Adding CreatePasswordScreen 2017-10-20 21:51:37 -07:00
.dockerignore mascara - ready to deploy via docker 2017-04-05 22:59:25 -07:00
.editorconfig init commit 2015-07-31 18:38:02 -07:00
.eslintignore Ignore tests bundle, jquery, abd helpers 2017-05-04 14:33:29 -07:00
.eslintrc Fix linter 2017-10-20 21:51:37 -07:00
.gitattributes Fix gitattributes 2016-06-29 17:28:49 -07:00
.gitignore Merge branch 'master' of github.com:MetaMask/metamask-extension into greenkeeper/initial 2017-08-03 15:05:32 -07:00
.jshintrc init commit 2015-07-31 18:38:02 -07:00
.nvmrc Add platform specific builds and zip tasks (#486) 2016-07-26 15:15:40 -07:00
.travis.yml Remove extraneous build target 2016-04-14 14:55:41 -07:00
.yo-rc.json init commit 2015-07-31 18:38:02 -07:00
CHANGELOG.md Version 3.13.3 2017-12-14 11:45:51 -08:00
CONTRIBUTING.md Add contributing.md file 2016-06-15 10:35:23 -07:00
Dockerfile mascara - docker - bump to node7 2017-04-25 12:49:24 -07:00
ISSUE_TEMPLATE Point issue template at new support center 2017-11-17 11:27:02 -08:00
LICENSE license 2016-07-14 14:37:40 -07:00
README.md Add guide to porting to new platforms 2017-09-14 13:31:10 -07:00
USER_AGREEMENT.md Remove version from terms of service. 2016-10-11 14:33:05 -07:00
circle.yml tests - refactor and rename npm scripts 2017-09-13 17:17:09 -07:00
docker-compose.yml mascara - ready to deploy via docker 2017-04-05 22:59:25 -07:00
fonts Improved Ui Dev Mode 2016-07-01 14:23:37 -07:00
gulpfile.js Ensure Opera build excludes chromereload file 2017-11-21 15:19:10 -08:00
images Improved Ui Dev Mode 2016-07-01 14:23:37 -07:00
mock-dev.js stub platform 2017-09-19 11:34:19 -07:00
package.json Add exit flag to mocha to exit after tests run 2017-12-15 14:41:58 -06:00
ui-dev.js development - fix ui dev 2017-09-29 11:50:24 -07:00
yarn.lock Add Import With Seed Phrase 2017-10-20 22:31:59 -07:00

README.md

MetaMask Plugin

Build Status Coverage Status Greenkeeper badge Stories in Ready

Support

If you're a user seeking support, here is our support site.

Developing Compatible Dapps

If you're a web dapp developer, we've got two types of guides for you:

New Dapp Developers

Current Dapp Developers

Building locally

  • Install Node.js version 6.3.1 or later.
  • Install local dependencies with npm install.
  • 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.

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