react-floater
v0.8.0 react react-component component tooltip modal popup alert notification
lint
eslint --ext .ts,.tsx src test
size
size-limit
test
is-ci "test:coverage" "test:watch"
build
npm run clean && npm run build:cjs && npm run build:esm
clean
del lib/* && del esm/*
format
prettier "**/*.{js,jsx,json,yml,yaml,css,less,scss,ts,tsx,md,graphql,mdx}" --write
validate
npm run lint && npm run test:coverage && npm run build && npm run size
build:cjs
tsc
build:esm
tsc -m es6 --outDir esm
watch:cjs
npm run build:cjs -- -w
watch:esm
npm run build:esm -- -w
test:watch
jest --watchAll --verbose
test:coverage
jest --bail --coverage
prepublishOnly
npm run validate