build
npm run build:commonjs && npm run build:esm
build:commonjs
rimraf build && ttsc && cp -r src/contracts/gen build/contracts/
build:esm
rimraf build-esm && ttsc -m esnext -t es2015 --outDir build-esm && cp -r src/contracts/gen build-esm/contracts/
build:watch
npx ttsc --watch
test
jest
clean
rimraf build
prepublish
npm run clean && npm run build
test-coverage
jest --coverage && cat ./coverage/lcov.info | coveralls
lint
eslint src test --ext .ts,.js
lint:fix
eslint --fix . --ext .ts,.js
verify
npm run lint && npm run test
sandbox
DEBUG=ERROR-*,WARN-*,INFO-*,DEBUG-*,-DEBUG-helper*,-DEBUG-util* nodemon -r dotenv/config -r tsconfig-paths/register
contracts
rimraf "src/contracts/gen/*.d.ts" && npm run abi && npx typechain --target=web3-v1 --outDir src/contracts/gen "src/contracts/abi/*.json" && prettier --write src/contracts/gen/*.ts
prepare
husky install