react-colorful
v5.2.2 react color picker react-component colorpicker tiny hex color front-end color-picker and 7 more...
lint
eslint src/**/*.{ts,tsx} demo/src/**/*.{ts,tsx}
size
npm run build && size-limit
check-types
tsc --noEmit true
test
jest tests --coverage
build
del-cli 'dist/*' && microbundle build --entry src/index.ts --jsx React.createElement --name react-colorful --css inline --tsconfig tsconfig.build.json
postbuild
cpy dist/index.module.js dist --rename=index.mjs && cpy dist/index.module.js.map dist --rename=index.mjs.map
prepublishOnly
npm run build
check-release
npm publish --dry-run
release
npm publish
start-demo
parcel demo/src/index.html --out-dir demo/dist --open
build-demo
del-cli 'demo/dist/*' && parcel build demo/src/index.html --out-dir demo/dist --public-url https://omgovich.github.io/react-colorful/
deploy-demo
npm run build-demo && gh-pages -d demo/dist