build
rm -rf dist && rollup --config rollup.config.mjs
watch
npm run build -- --watch
check-types
tsc --noEmit
lint
eslint --ext js,ts src e2e
lint:fix
npm run lint --fix
prettier:check
prettier --list-different "{src,e2e}/**/*.{ts,tsx}"
prettier:write
prettier --write "{src,e2e}/**/*.{ts,tsx}"
e2e
vitest run --config e2e/vitest.config.ts
e2e:watch
vitest --config e2e/vitest.config.ts
e2e:update-snapshot
vitest run --config e2e/vitest.config.ts --update
upload
npm version patch && git push --follow-tags
postinstall
node ./scripts/is-ci.cjs || (node ./scripts/postinstall.js && (test -e dist/index.js && node dist/index.js --help || echo))