Skip to content

backbonecabal/metamask-module

Repository files navigation

MetaMask Module Template

This module is maintained in the style of the MetaMask team.

It uses:

  • Typescript
  • Rollup

Installation

@metamask/this-module is made available as either a CommonJS module, and ES6 module, or an ES5 bundle.

  • ES6 module: import thisModule from '@metamask/this-module'
  • ES5 module: const thisModule = require('@metamask/this-module')
  • ES5 bundle: dist/metamask-this-module.bundle.js (this can be included directly in a page)

Usage

Add examples here

API

Add examples here

Testing

Run yarn test to run the tests once.

To run tests on file changes, run yarn test:watch.

Release & Publishing

The project follows the same release process as the other libraries in the MetaMask organization:

  1. Create a release branch
    • For a typical release, this would be based on master
    • To update an older maintained major version, base the release branch on the major version branch (e.g. 1.x)
  2. Update the changelog
  3. Update version in package.json file (e.g. yarn version --minor --no-git-tag-version)
  4. Create a pull request targeting the base branch (e.g. master or 1.x)
  5. Code review and QA
  6. Once approved, the PR is squashed & merged
  7. The commit on the base branch is tagged
  8. The tag can be published as needed

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors