@metamask/snaps-cli

v0.1.1
A CLI for developing MetaMask Snaps.

lint

yarn lint:eslint && yarn lint:misc --check

test

jest

build

yarn build:init-template && yarn build:typescript && yarn build:chmod

setup

yarn install && yarn allow-scripts

publish

npm publish

lint:fix

yarn lint:eslint --fix && yarn lint:misc --write

lint:misc

prettier '**/*.json' '**/*.md' '!CHANGELOG.md' --ignore-path ../../.gitignore

test:watch

jest --watch

build:chmod

chmod +x ./dist/main.js

build:clean

yarn rimraf dist && yarn build

lint:eslint

eslint . --cache --ext js,ts

lint:changelog

yarn auto-changelog validate

prepublishOnly

yarn build:clean && yarn lint && yarn test

build:typescript

tsc --project ./tsconfig.local.json

build:init-template

node ./scripts/createInitTemplate.js
npm i @metamask/[email protected]

Metadata

  • ISC
  • >=12.11.0
  • Unknown
  • released 9/28/2021

Downloads