lint
eslint -c .eslintrc.js '{src,test}/**/*.ts'
test
yarn test:mocha
build
tsc -b tsconfig.build.json && tsc -b tsconfig.umd.json
lint:fix
eslint -c .eslintrc.js --fix '{src,test}/**/*.ts'
test:mocha
STAGE=${STAGE:-local} FORCE_COLOR=1 LOG_LEVEL=error LOCAL=true nyc --reporter=text --reporter=html ts-mocha -p tsconfig.mocha.json --timeout 20000 --paths 'test/mocha/**/*.ts'
test:watch
ts-mocha -p tsconfig.mocha.json --paths 'test/**/*.ts' -w --watch-files '**/**/*.ts'
test:integration
STAGE=${STAGE:-local} FORCE_COLOR=1 LOG_LEVEL=error LOCAL=true nyc --check-coverage=false --reporter=text --reporter=html ts-mocha -p tsconfig.mocha.json --timeout 20000 --paths 'test/integration/**/*.ts'