Go to file
greenkeeper[bot] 82aa0d48d4 chore(package): update dependencies 2017-07-18 22:41:30 +00:00
app transactions - block nonce-tracker while updating pending transactions 2017-07-18 15:27:15 -07:00
development Remove bad state file 2017-06-13 17:58:51 -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 Fix transaction confirmation ordering 2017-07-17 14:18:00 -07:00
ui Fix transaction confirmation ordering 2017-07-17 14:18:00 -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 changelog - add nonce-tracker note 2017-07-18 15:30:32 -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
ISSUE_TEMPLATE Do not recommend posting logs publicly on github. 2017-06-15 16:20:19 -07:00
LICENSE license 2016-07-14 14:37:40 -07:00
README.md Shield looks better 2017-07-18 09:20:48 -07:00
USER_AGREEMENT.md Remove version from terms of service. 2016-10-11 14:33:05 -07:00
circle.yml Bump node version 2017-07-12 15:09:01 -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 first version of phishing site warning 2017-07-12 13:09:20 -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 chore(package): update dependencies 2017-07-18 22:41:30 +00:00
testem.yml Merge in crypto. 2016-10-19 11:17:29 -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