@metamask/snaps-rpc-methods
v3.2.1lint
yarn lint:eslint && yarn lint:misc --check && yarn lint:changelog && yarn lint:dependencies
test
jest && yarn posttest
build
yarn build:source && yarn build:types
clean
rimraf '*.tsbuildinfo' 'dist'
lint:ci
yarn lint
test:ci
yarn test
lint:fix
yarn lint:eslint --fix && yarn lint:misc --write
posttest
jest-it-up --margin 0.25
build:cjs
swc src --out-dir dist/cjs --config-file ../../.swcrc.build.json --config module.type=commonjs
build:esm
swc src --out-dir dist/esm --config-file ../../.swcrc.build.json --config module.type=es6
lint:misc
prettier --no-error-on-unmatched-pattern --loglevel warn "**/*.json" "**/*.md" "**/*.html" "!CHANGELOG.md" --ignore-path ../../.gitignore
build:clean
yarn clean && yarn build
build:types
tsc --project tsconfig.build.json
lint:eslint
eslint . --cache --ext js,ts,jsx,tsx
build:source
yarn build:esm && yarn build:cjs
lint:changelog
../../scripts/validate-changelog.sh @metamask/snaps-rpc-methods
publish:preview
yarn npm publish --tag preview
lint:dependencies
depcheck
npm i @metamask/[email protected]
Source Code
github.com/MetaMask/snapsMetadata
- Unknown
- ^18.16 || >=20
- Unknown
- released 11/1/2023