react-colorful

v5.2.3
🎨 A tiny (2,5 KB) color picker component for React and Preact apps. Fast, well-tested, dependency-free, mobile-friendly and accessible
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

Metadata

  • MIT
  • Whatever
  • Vlad Shilov
  • released 7/1/2021

Downloads

Maintainers