build
run-s build:dist-folder build:bundle
build:bundle
rollup -c
build:dist-folder
mkdirp dist
test
mocha
test-coverage
nyc --reporter text --reporter html --reporter lcovonly npm run test
//integration-test
This cannot run as a prepare step, as it will trigger a loop
integration-test
test-repos/do-test.sh
lint
eslint .
prettier:check
prettier --check '**/*.{js,css,md}'
prettier:write
prettier --write '**/*.{js,css,md}'
prepare
run-p test lint build
preversion
npm run integration-test && ./scripts/preversion.sh