Go to file
Dan Finlay a741cc4fc4 Merge branch 'master' into AddTokenList 2017-06-12 17:17:16 -07:00
app Merge branch 'master' into AddTokenList 2017-06-12 17:17:16 -07:00
development Merge branch 'master' into AddTokenList 2017-06-12 17:17:16 -07:00
docs Break docs up into individual files 2017-06-05 13:55:48 -07:00
mascara Merge pull request #1574 from MetaMask/internfix 2017-06-12 10:37:46 -07:00
notices Add new beta notice. 2017-05-08 13:54:25 -07:00
test Linting 2017-06-12 11:08:32 -07:00
ui Merge branch 'master' into AddTokenList 2017-06-12 17:17:16 -07:00
.babelrc Add support for async/await 2017-05-12 12:04:42 -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 Add support for async/await 2017-05-12 12:04:42 -07:00
.gitattributes Fix gitattributes 2016-06-29 17:28:49 -07:00
.gitignore gitignore - add package-lock and re-arrange by category 2017-06-12 13:30:59 -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.7.8 2017-06-12 15:57:01 -07: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
LICENSE license 2016-07-14 14:37:40 -07:00
README.md Break docs up into individual files 2017-06-05 13:55:48 -07:00
USER_AGREEMENT.md Remove version from terms of service. 2016-10-11 14:33:05 -07:00
circle.yml ci - use node 7.6.0 2017-05-12 12:37:31 -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 Add address image map to icon factory 2017-05-26 00:43:14 -07:00
images Improved Ui Dev Mode 2016-07-01 14:23:37 -07:00
mock-dev.js Fix UI Dev Mode for Tx Approval 2017-02-20 23:33:21 -08:00
package.json Merge branch 'master' into AddTokenList 2017-06-12 17:17:16 -07:00
testem.yml Got encrypting working, not yet decrypting 2016-10-14 13:21:00 -07:00
ui-dev.js Fix UI Dev Mode for Tx Approval 2017-02-20 23:33:21 -08:00

README.md

MetaMask Plugin Build Status

Developing Compatible Dapps

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

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