UNPKG

react-lazy-cache

Version:

A utility to lazily calculate and cache values in a react component based on props

64 lines (63 loc) 1.79 kB
{ "name": "react-lazy-cache", "description": "A utility to lazily calculate and cache values in a react component based on props", "version": "3.0.1", "homepage": "https://github.com/erikras/react-lazy-cache", "repository": { "type": "git", "url": "git://github.com/erikras/react-lazy-cache.git" }, "scripts": { "build": "npm run build:lib && npm run build:umd && npm run build:umd:min", "build:lib": "babel src --out-dir lib", "build:umd": "webpack src/index.js dist/react-lazy-cache.js --config webpack.config.development.js", "build:umd:min": "webpack src/index.js dist/react-lazy-cache.min.js --config webpack.config.production.js", "clean": "rimraf dist lib", "lint": "eslint src", "prepublish": "npm run lint && npm run test && npm run clean && npm run build", "test": "mocha --compilers js:babel/register --recursive" }, "author": "Erik Rasmussen <rasmussenerik@gmail.com> (http://github.com/erikras)", "license": "MIT", "bugs": { "url": "git://github.com/erikras/react-lazy-cache/issues" }, "engines": { "node": ">= 0.10.0" }, "main": "./lib/index.js", "keywords": [ "react", "cache", "lazy", "memoize", "reactjs", "calculate" ], "devDependencies": { "babel": "^5.8.23", "babel-core": "^5.8.25", "babel-eslint": "^4.1.3", "babel-loader": "^5.3.2", "eslint": "^1.6.0", "eslint-config-airbnb": "^0.1.0", "eslint-plugin-react": "^3.5.1", "expect": "^1.12.1", "mocha": "^2.3.3", "rifraf": "^2.0.2", "rimraf": "^2.4.3", "webpack": "^1.12.2" }, "npmName": "react-lazy-cache", "npmFileMap": [ { "basePath": "/dist/", "files": [ "*.js" ] } ], "dependencies": { "deep-equal": "^1.0.1" } }