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