repo-tools
v0.3.1 tools git
build
npm run clean && npm run build:cli && chmod +x dist/cli.js
build:cli
tsup
watch
tsup --watch
clean
del dist/*
lint
eslint src test
typecheck
tsc --noEmit
test
is-ci "test:coverage" "test:watch"
test:coverage
TZ=UTC vitest run --coverage
test:watch
TZ=UTC vitest watch
format
prettier "**/*.{js,jsx,json,yml,yaml,css,less,scss,ts,tsx,md,graphql,mdx}" --write
validate
npm run lint && npm run typecheck && npm run build && npm run test:coverage && npm run size
size
size-limit
prepare
husky install
prepublishOnly
npm run validate