lint
eslint --cache .
test
yarn hardhat test
build
yarn gen-contract-types && npx tsc
clean
rm -rf dist && rm -rf src/contracts/types && yarn hardhat clean
format
prettier --write "*/**/*.*{js,json,md,ts}"
compile
npx hardhat compile --force
test:all
yarn test && yarn test:jest
test:jest
yarn jest unit-tests
format:check
prettier --check "*/**/*.*{js,json,md,ts}"
test:coverage
yarn jest --coverage unit-tests
prepublishOnly
yarn build && yarn format && yarn lint
gen-contract-types
typechain --target ethers-v5 --out-dir src/contracts/types 'src/contracts/abis/*.json'