react-colorful
Version:
A tiny color picker component for modern React apps
114 lines (113 loc) • 2.8 kB
JSON
{
"name": "react-colorful",
"version": "2.0.2",
"description": "A tiny color picker component for modern React apps",
"source": "src/index.js",
"main": "dist/index.js",
"module": "dist/index.module.js",
"esmodule": "dist/index.esmodule.js",
"umd:main": "dist/index.umd.js",
"scripts": {
"lint": "eslint src/**/*.js demo/src/**/*.js",
"size": "npm run build && size-limit",
"test": "jest tests",
"build": "node ./build-packages.js",
"prepublishOnly": "npm run build",
"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 /react-colorful/",
"deploy-demo": "npm run build-demo && gh-pages -d demo/dist"
},
"size-limit": [
{
"path": "dist/index.module.js",
"limit": "2 KB"
},
{
"path": "rgb/index.module.js",
"limit": "2 KB"
},
{
"path": "rgbString/index.module.js",
"limit": "2 KB"
},
{
"path": "hsl/index.module.js",
"limit": "2 KB"
},
{
"path": "hslString/index.module.js",
"limit": "2 KB"
},
{
"path": "hsv/index.js",
"limit": "2 KB"
}
],
"jest": {
"verbose": true,
"transform": {
"\\.js$": "jest-esm-jsx-transform"
},
"moduleNameMapper": {
"\\.css$": "identity-obj-proxy"
}
},
"files": [
"ACKNOWLEDGMENTS",
"LICENSE",
"README.md",
"dist",
"hex",
"hsl",
"hslString",
"hsv",
"rgb",
"rgbString"
],
"repository": "omgovich/react-colorful",
"keywords": [
"react",
"color picker",
"react-component",
"colorpicker",
"tiny",
"hex",
"color",
"front-end",
"color-picker"
],
"author": "Vlad Shilov <omgovich@ya.ru>",
"license": "MIT",
"bugs": {
"url": "https://github.com/omgovich/react-colorful/issues"
},
"homepage": "https://omgovich.github.io/react-colorful",
"peerDependencies": {
"react": "^16.8.0",
"react-dom": "^16.8.0"
},
"devDependencies": {
"@size-limit/preset-small-lib": "^4.5.6",
"@testing-library/react": "^10.4.8",
"del": "^5.1.0",
"del-cli": "^3.0.1",
"eslint": "^7.5.0",
"eslint-config-prettier": "^6.11.0",
"eslint-plugin-prettier": "^3.1.4",
"eslint-plugin-react": "^7.20.3",
"eslint-plugin-react-hooks": "^4.0.8",
"gh-pages": "^3.1.0",
"identity-obj-proxy": "^3.0.0",
"jest": "^26.3.0",
"jest-esm-jsx-transform": "^1.0.0",
"microbundle": "^0.12.3",
"parcel-bundler": "^1.12.4",
"postcss-modules": "^3.2.0",
"prettier": "2.0.5",
"react": "^16.8.0",
"react-dom": "^16.8.0",
"size-limit": "^4.5.5",
"use-throttled-effect": "0.0.7"
},
"dependencies": {}
}