UNPKG

react-native-animated-background-color-view

Version:

A modified React Native 'View' component that animates it's 'backgroundColor' when 'color' prop changes.

84 lines (83 loc) 4.15 kB
{ "name": "react-native-animated-background-color-view", "version": "1.3.3", "description": "A modified React Native 'View' component that animates it's 'backgroundColor' when 'color' prop changes.", "main": "index.js", "scripts": { "changelog:commit": "git add CHANGELOG.md && git commit -m 'Update CHANGELOG.md' && echo \"\\x1b[42m\\x1b[1m CHANGELOG \\x1b[0m\" Committed CHANGELOG.md", "changelog:generate:major": "./node_modules/.bin/changelog -M && echo \"\\x1b[42m\\x1b[1m CHANGELOG \\x1b[0m\" Updated CHANGELOG.md", "changelog:generate:minor": "./node_modules/.bin/changelog -m && echo \"\\x1b[42m\\x1b[1m CHANGELOG \\x1b[0m\" Updated CHANGELOG.md", "changelog:generate:patch": "./node_modules/.bin/changelog -p && echo \"\\x1b[42m\\x1b[1m CHANGELOG \\x1b[0m\" Updated CHANGELOG.md", "eslint": "./node_modules/.bin/eslint src/ --max-warnings=0 && echo \"\\x1b[42m\\x1b[1m ESLINT \\x1b[0m\" No JavaScript ESLint errors to fix", "eslint:fix": "./node_modules/.bin/eslint --fix src/ && echo \"\\x1b[42m\\x1b[1m ESLINT \\x1b[0m\" ESLint JavaScript errors fixed", "lib:build": "./node_modules/.bin/babel src --out-dir lib && echo \"\\x1b[42m\\x1b[1m BABEL \\x1b[0m\" Library built", "lib:clean": "rm -rf lib/ && echo \"\\x1b[42m\\x1b[1m CLEAN \\x1b[0m\" Library directory removed", "lib:copy-package-json": "cp package.json lib/ && cp README.md lib/ && echo \"\\x1b[42m\\x1b[1m COPY \\x1b[0m\" Copied package.json to library", "lib:delete-tests": "find lib/ -name '**test**' -delete && echo \"\\x1b[42m\\x1b[1m DELETE \\x1b[0m\" Removed tests from library", "lib:pre-publish": "npm run --silent eslint:fix && npm run --silent test && npm run --silent lib:clean && npm run --silent lib:build && npm run --silent lib:delete-tests && npm run --silent lib:copy-package-json", "lib:publish": "npm publish ./lib", "release:major": "npm run --silent changelog:generate:major && npm run --silent changelog:commit && npm version major && npm run lib:pre-publish", "release:minor": "npm run --silent changelog:generate:minor && npm run --silent changelog:commit && npm version minor && npm run lib:pre-publish", "release:patch": "npm run --silent changelog:generate:patch && npm run --silent changelog:commit && npm version patch && npm run lib:pre-publish", "test": "./node_modules/.bin/jest --config ./jest.config.json", "test:coverage": "./node_modules/.bin/jest --config ./jest.config.json --coverage" }, "repository": { "type": "git", "url": "https://github.com/joeyschroeder/react-native-animated-background-color-view.git" }, "keywords": [ "android", "animated", "background", "color", "ios", "native", "react", "view" ], "author": { "name": "Joey Schroeder", "email": "schrjos@gmail.com" }, "license": "MIT", "homepage": "https://github.com/joeyschroeder/react-native-animated-background-color-view", "dependencies": { "color": "^4.2.3", "lodash.isequal": "^4.5.0", "prop-types": "^15.8.1" }, "devDependencies": { "@babel/cli": "^7.18.10", "@babel/core": "^7.18.13", "@babel/eslint-parser": "^7.18.9", "@babel/plugin-proposal-class-properties": "^7.18.6", "@babel/preset-env": "^7.18.10", "@babel/preset-react": "^7.18.6", "babel-core": "^7.0.0-bridge.0", "enzyme": "^3.11.0", "enzyme-adapter-react-16": "^1.15.6", "eslint": "^8.22.0", "eslint-config-airbnb": "^19.0.4", "eslint-config-prettier": "^8.5.0", "eslint-plugin-import": "^2.26.0", "eslint-plugin-jest": "^25.7.0", "eslint-plugin-jsx-a11y": "^6.6.1", "eslint-plugin-prettier": "^4.2.1", "eslint-plugin-react": "^7.31.0", "eslint-plugin-react-native": "^4.0.0", "generate-changelog": "^1.8.0", "jest": "^27.5.1", "jest-cli": "^27.5.1", "metro-react-native-babel-preset": "^0.72.1", "prettier": "^2.7.1", "react": "^17.0.2", "react-dom": "^17.0.2", "react-native": "^0.69.5", "react-test-renderer": "^17.0.2" }, "peerDependencies": { "react": ">= 15 || >= 16 || >= 17 || >= 18", "react-native": ">=0.6" } }