Go to file
tmashuang 0ebec8d0a8 Change Ci Badge url for readme 2017-07-18 09:08:24 -07:00
app turn off auto faucet and remove file 2017-07-17 17:37:01 -04: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 Sinon stub infura network status 2017-07-14 13:06:42 -07:00
ui Add support page link to help page 2017-07-17 09:57: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
.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
.nvmrc Add platform specific builds and zip tasks (#486) 2016-07-26 15:15:40 -07:00
.travis.yml
.yo-rc.json
CHANGELOG.md turn off auto faucet and remove file 2017-07-17 17:37:01 -04: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 Change Ci Badge url for readme 2017-07-18 09:08:24 -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 Update Sinon 2017-07-14 13:05:56 -07: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