UNPKG

reactshouldupdate

Version:

Simple util to compare props and state in shouldComponentUpdate

63 lines (62 loc) 1.73 kB
{ "name": "reactshouldupdate", "version": "1.0.1", "description": "Simple util to compare props and state in shouldComponentUpdate", "homepage": "https://github.com/Exilz/reactshouldupdate", "author": { "name": "Maxime Bertonnier", "email": "m.bertonnier@gmail.com", "url": "https://github.com/Exilz" }, "files": [ "/dist" ], "main": "dist/index.js", "jsnext:main": "lib/index.js", "keywords": [ "react", "shouldcomponentupdate", "props", "state", "compare", "deep" ], "standard": { "ignore": [ "/dist" ] }, "scripts": { "clean": "rimraf dist", "lint": "standard", "compile:bundle": "WEBPACK_ENV=dev webpack && WEBPACK_ENV=build webpack", "compile:watch": "WEBPACK_ENV=dev webpack --progress --colors --watch", "build": "babel lib --out-dir dist", "build:watch": "watch 'npm run build' lib", "preversion": "npm run lint -s && npm run test -s && npm run build -s", "bundle": "npm run build && npm run compile:bundle" }, "repository": "https://github.com/Exilz/reactshouldupdate", "license": "MIT", "devDependencies": { "lodash.isequal": "^4.2.0", "babel": "^6.3.26", "babel-cli": "^6.3.17", "babel-core": "^6.3.26", "babel-eslint": "^5.0.0-beta6", "babel-loader": "^6.2.1", "babel-plugin-add-module-exports": "^0.1.2", "babel-plugin-transform-es2015-arrow-functions": "^6.3.13", "babel-preset-es2015": "^6.3.13", "babel-tape-runner": "^2.0.0", "eslint": "^1.10.3", "eslint-loader": "^1.2.0", "rimraf": "^2.5.0", "standard": "^5.4.1", "watch": "^0.17.1", "webpack": "^1.12.10" }, "dependencies": { "lodash.isequal": "^4.2.0" } }