tree-changes-hook
v0.9.0 comparison tree react hook
build
npm run clean && npm run build:cjs && npm run build:esm
build:cjs
tsc
build:esm
tsc -m es6 --outDir esm
watch:cjs
npm run build:cjs -- -w
watch:esm
npm run build:esm -- -w
lint
eslint --ext .ts,.tsx src test
clean
del lib/* && del esm/*
test
jest
test:coverage
jest --coverage --bail
test:watch
jest --watchAll --verbose
typecheck
tsc --noEmit
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 test:coverage && npm run build && npm run size
size
size-limit
prepublishOnly
npm run validate