pre-commit
lint-staged
prepublishOnly
yarn build && yarn run lint && yarn run test
prebuild
yarn clean && tsc --emitDeclarationOnly --declaration -p tsconfig.json
build
rollup -c
clean
rm -rf dist
format
prettier --write '**/*.{html,js,json,md,ts}'
format-file
prettier --write
lint
eslint -c .eslintrc.js '**/*.ts' --ignore-path '.gitignore'
lint-file
eslint --fix
test
jest test/unit
test-integration
jest test/integration --testTimeout=20000
docs
typedoc --plugin none --out docs src/index.ts
docs-md
typedoc --plugin typedoc-plugin-markdown --out docs-md src/index.ts
prepare
husky install