reanimated-color-picker
Version:
A Pure JavaScript Color Picker for React Native
121 lines (120 loc) • 3.57 kB
JSON
{
"name": "reanimated-color-picker",
"version": "5.1.2",
"description": "A Pure JavaScript Color Picker for React Native",
"main": "lib/commonjs/index",
"module": "lib/module/index",
"react-native": "lib/src/index",
"types": "lib/typescript/index.d.ts",
"scripts": {
"test": "jest --silent=false && tsc --noEmit && eslint src --max-warnings=0",
"build": "node scripts/build.mjs",
"deploy-docs": "npm --prefix docs run build && git -C docs/dist init && git -C docs/dist add . && git -C docs/dist commit -m 'docs: deploy' && (git -C docs/dist fetch $(git remote get-url origin) gh-pages && git -C docs/dist checkout gh-pages || git -C docs/dist checkout -b gh-pages) && git -C docs/dist push -f $(git remote get-url origin) HEAD:gh-pages && rm -rf docs/dist/.git",
"prettier ": "prettier --ignore-unknown --write src --config-precedence prefer-file",
"prepare": "patch-package && npm run test && npm run build"
},
"keywords": [
"react-native",
"react native",
"color picker",
"react native color picker",
"expo",
"android",
"ios",
"web",
"reanimated",
"color",
"picker",
"wheel",
"slider",
"swatches",
"palette",
"rgb",
"hex",
"hsl",
"hsv",
"hsv",
"hwb",
"colorKit"
],
"files": [
"lib"
],
"repository": {
"type": "git",
"url": "git+https://github.com/alabsi91/reanimated-color-picker.git"
},
"author": "Ahmed AlAbsi <alabsi91@gmail.com> (https://github.com/alabsi91)",
"license": "MIT",
"bugs": {
"url": "https://github.com/alabsi91/reanimated-color-picker/issues"
},
"homepage": "https://github.com/alabsi91/reanimated-color-picker",
"devDependencies": {
"@babel/cli": "^7.28.6",
"@babel/core": "^7.23.7",
"@babel/preset-env": "^7.29.5",
"@babel/preset-react": "^7.28.5",
"@babel/preset-typescript": "^7.28.5",
"@react-native/eslint-config": "^0.85.3",
"@types/react": "^19.2.15",
"@typescript-eslint/eslint-plugin": "^7.18.0",
"babel-jest": "^30.4.1",
"babel-plugin-module-resolver": "^5.0.0",
"eslint": "^8.57.1",
"eslint-config-prettier": "^9.1.2",
"eslint-plugin-prettier": "^5.1.3",
"glob": "^13.0.6",
"jest": "^29.7.0",
"patch-package": "^8.0.1",
"prettier": "3.8.3",
"prettier-plugin-jsdoc": "^1.8.0",
"resolve-tspaths": "^0.8.23",
"ts-node": "^10.9.2",
"typescript": "5.5"
},
"peerDependencies": {
"expo": ">=44.0.0",
"react": "*",
"react-native": "*",
"react-native-gesture-handler": ">=2.0.0",
"react-native-reanimated": ">=2.0.0"
},
"peerDependenciesMeta": {
"expo": {
"optional": true
}
},
"eslintConfig": {
"extends": [
"@react-native",
"plugin:prettier/recommended",
"plugin:@typescript-eslint/recommended"
],
"ignorePatterns": [
"scripts/*",
"ExampleExpoLatest/**/*",
"ExampleLatest/**/*",
"ExampleOldArch/**/*",
"lib/**/*",
"docs/**/*",
"*.md"
],
"rules": {
"prefer-const": 1,
"@typescript-eslint/consistent-type-imports": 1,
"@typescript-eslint/no-non-null-assertion": 0,
"react-native/no-inline-styles": 0,
"react-native/no-single-element-style-arrays": 1,
"react-native/no-unused-styles": 1,
"react-hooks/exhaustive-deps": 0,
"react/no-unstable-nested-components": 0,
"prettier/prettier": 1,
"jsx-quotes": 0,
"curly": 0,
"no-shadow": 0,
"no-bitwise": 0,
"object-shorthand": 1
}
}
}