web3-rpc-methods
v1.3.1-dev.2f24244.0lint
eslint --cache --cache-strategy content --ext .ts .
test
jest --config=./test/unit/jest.config.js
build
concurrently --kill-others-on-fail "yarn:build:*(!check)"
clean
rimraf dist && rimraf lib
format
prettier --write '**/*'
test:ci
jest --coverage=true --coverage-reporters=json --verbose
lint:fix
eslint --fix --ext .js,.ts .
prebuild
yarn clean
build:cjs
tsc --build tsconfig.cjs.json && echo '{"type": "commonjs"}' > ./lib/commonjs/package.json
build:esm
tsc --build tsconfig.esm.json && echo '{"type": "module"}' > ./lib/esm/package.json
test:unit
jest --config=./test/unit/jest.config.js
test:watch
npm test -- --watch
build:check
node -e "require('./lib')"
build:types
tsc --build tsconfig.types.json
test:integration
jest --config=./test/integration/jest.config.js --passWithNoTests
test:coverage:unit
jest --config=./test/unit/jest.config.js --coverage=true --coverage-reporters=text
test:coverage:integration
jest --config=./test/integration/jest.config.js --passWithNoTests --coverage=true --coverage-reporters=text
npm i [email protected]
Metadata
- LGPL-3.0
- >=14
- ChainSafe Systems
- released 9/9/2024