@mechamittens/extension

v0.0.4
<!-- ALL-CONTRIBUTORS-BADGE:START - Do not remove or modify this section --> [![All Contributors](https://img.shields.io/badge/all_contributors-6-orange.svg?style=flat-square)](#contributors-) <!-- ALL-CONTRIBUTORS-BADGE:END -->

start

yarn build dev

dist

yarn build prod

build

node development/build/index.js

start:test

yarn build testDev

benchmark:chrome

SELENIUM_BROWSER=chrome node test/e2e/benchmark.js

benchmark:firefox

SELENIUM_BROWSER=firefox node test/e2e/benchmark.js

build:test

yarn build test

test

yarn test:unit && yarn lint

dapp

node development/static-server.js node_modules/@metamask/test-dapp/dist --port 8080

dapp-chain

GANACHE_ARGS='-b 2' concurrently -k -n ganache,dapp -p '[{time}][{name}]' 'yarn ganache:start' 'sleep 5 && yarn dapp'

forwarder

node ./development/static-server.js ./node_modules/@metamask/forwarder/dist/ --port 9010

dapp-forwarder

concurrently -k -n forwarder,dapp -p '[{time}][{name}]' 'yarn forwarder' 'yarn dapp'

sendwithprivatedapp

node development/static-server.js test/e2e/send-eth-with-private-key-test --port 8080

test:unit

mocha --exit --require test/env.js --require test/setup.js --recursive "test/unit/**/*.js" "ui/app/**/*.test.js"

test:unit:global

mocha --exit --require test/env.js --require test/setup.js --recursive mocha test/unit-global/*

test:unit:lax

mocha --exit --require test/env.js --require test/setup.js --recursive "test/unit/{,**/!(permissions)}/*.js" "ui/app/**/*.test.js"

test:unit:strict

mocha --exit --require test/env.js --require test/setup.js --recursive "test/unit/**/permissions/*.js"

test:unit:path

mocha --exit --require test/env.js --require test/setup.js --recursive

test:e2e:chrome

SELENIUM_BROWSER=chrome test/e2e/run-all.sh

test:e2e:firefox

SELENIUM_BROWSER=firefox test/e2e/run-all.sh

test:coverage

nyc --silent --check-coverage yarn test:unit:strict && nyc --silent --no-clean yarn test:unit:lax && nyc report --reporter=text --reporter=html

test:coverage:strict

nyc --check-coverage yarn test:unit:strict

test:coveralls-upload

if [ "$COVERALLS_REPO_TOKEN" ]; then nyc report --reporter=text-lcov | coveralls; fi

ganache:start

./development/run-ganache

sentry:publish

node ./development/sentry-publish.js

lint

eslint . --ext js,json && yarn lint:styles

lint:fix

eslint . --ext js,json --fix

lint:changed

{ git ls-files --others --exclude-standard ; git diff-index --name-only --diff-filter=d HEAD ; } | grep --regexp='[.]js$' --regexp='[.]json$' | tr '\n' '\0' | xargs -0 eslint

lint:changed:fix

{ git ls-files --others --exclude-standard ; git diff-index --name-only --diff-filter=d HEAD ; } | grep --regexp='[.]js$' --regexp='[.]json$' | tr '\n' '\0' | xargs -0 eslint --fix

lint:shellcheck

./development/shellcheck.sh

lint:styles

stylelint '*/**/*.scss'

lint:lockfile

lockfile-lint --path yarn.lock --allowed-hosts npm yarn github.com codeload.github.com --empty-hostname false --allowed-schemes "https:" "git+https:"

validate-source-maps

node ./development/sourcemap-validator.js

verify-locales

node ./development/verify-locale-strings.js

verify-locales:fix

node ./development/verify-locale-strings.js --fix

mozilla-lint

addons-linter dist/firefox

watch

mocha --watch --require test/env.js --require test/setup.js --reporter min --recursive "test/unit/**/*.js" "ui/app/**/*.test.js"

devtools:react

react-devtools

devtools:redux

remotedev --hostname=localhost --port=8000

start:dev

concurrently -k -n build,react,redux yarn:start yarn:devtools:react yarn:devtools:redux

announce

node development/announcer.js

storybook

start-storybook -p 6006 -c .storybook --static-dir ./app

storybook:build

build-storybook -c .storybook -o .out --static-dir ./app

storybook:deploy

storybook-to-ghpages --existing-output-dir .out --remote storybook --branch master

update-changelog

./development/auto-changelog.sh

generate:migration

./development/generate-migration.sh
npm i @mechamittens/extension

Metadata

  • MIT
  • ^10.16.0
  • Unknown
  • released 3/16/2021

Downloads

Maintainers