116 lines
4.7 KiB
JSON
116 lines
4.7 KiB
JSON
|
{
|
|||
|
"_args": [
|
|||
|
[
|
|||
|
{
|
|||
|
"raw": "react-deep-force-update@^1.0.0",
|
|||
|
"scope": null,
|
|||
|
"escapedName": "react-deep-force-update",
|
|||
|
"name": "react-deep-force-update",
|
|||
|
"rawSpec": "^1.0.0",
|
|||
|
"spec": ">=1.0.0 <2.0.0",
|
|||
|
"type": "range"
|
|||
|
},
|
|||
|
"/home/jdaugherty/work/GT2/GT2-Android/node_modules/react-proxy"
|
|||
|
]
|
|||
|
],
|
|||
|
"_from": "react-deep-force-update@>=1.0.0 <2.0.0",
|
|||
|
"_id": "react-deep-force-update@1.1.1",
|
|||
|
"_inCache": true,
|
|||
|
"_location": "/react-deep-force-update",
|
|||
|
"_nodeVersion": "8.1.2",
|
|||
|
"_npmOperationalInternal": {
|
|||
|
"host": "s3://npm-registry-packages",
|
|||
|
"tmp": "tmp/react-deep-force-update-1.1.1.tgz_1503490298960_0.5825116515625268"
|
|||
|
},
|
|||
|
"_npmUser": {
|
|||
|
"name": "gaearon",
|
|||
|
"email": "dan.abramov@gmail.com"
|
|||
|
},
|
|||
|
"_npmVersion": "4.6.1",
|
|||
|
"_phantomChildren": {},
|
|||
|
"_requested": {
|
|||
|
"raw": "react-deep-force-update@^1.0.0",
|
|||
|
"scope": null,
|
|||
|
"escapedName": "react-deep-force-update",
|
|||
|
"name": "react-deep-force-update",
|
|||
|
"rawSpec": "^1.0.0",
|
|||
|
"spec": ">=1.0.0 <2.0.0",
|
|||
|
"type": "range"
|
|||
|
},
|
|||
|
"_requiredBy": [
|
|||
|
"/react-proxy"
|
|||
|
],
|
|||
|
"_resolved": "https://registry.npmjs.org/react-deep-force-update/-/react-deep-force-update-1.1.1.tgz",
|
|||
|
"_shasum": "bcd31478027b64b3339f108921ab520b4313dc2c",
|
|||
|
"_shrinkwrap": null,
|
|||
|
"_spec": "react-deep-force-update@^1.0.0",
|
|||
|
"_where": "/home/jdaugherty/work/GT2/GT2-Android/node_modules/react-proxy",
|
|||
|
"author": {
|
|||
|
"name": "Dan Abramov",
|
|||
|
"email": "dan.abramov@me.com"
|
|||
|
},
|
|||
|
"bugs": {
|
|||
|
"url": "https://github.com/gaearon/react-deep-force-update/issues"
|
|||
|
},
|
|||
|
"dependencies": {},
|
|||
|
"description": "Force-updates React component tree recursively",
|
|||
|
"devDependencies": {
|
|||
|
"babel": "^5.5.8",
|
|||
|
"babel-core": "^5.6.18",
|
|||
|
"babel-eslint": "^4.1.8",
|
|||
|
"eslint": "^0.23",
|
|||
|
"eslint-config-airbnb": "0.0.6",
|
|||
|
"eslint-plugin-react": "^2.3.0",
|
|||
|
"expect": "^1.6.0",
|
|||
|
"jsdom": "^7.2.2",
|
|||
|
"mocha": "^2.2.5",
|
|||
|
"mocha-jsdom": "^1.1.0",
|
|||
|
"react": "^0.14.0-rc1",
|
|||
|
"react-addons-test-utils": "^0.14.0-rc1",
|
|||
|
"rimraf": "^2.3.4"
|
|||
|
},
|
|||
|
"directories": {},
|
|||
|
"dist": {
|
|||
|
"shasum": "bcd31478027b64b3339f108921ab520b4313dc2c",
|
|||
|
"tarball": "https://registry.npmjs.org/react-deep-force-update/-/react-deep-force-update-1.1.1.tgz"
|
|||
|
},
|
|||
|
"files": [
|
|||
|
"lib",
|
|||
|
"src"
|
|||
|
],
|
|||
|
"gitHead": "8cb0bc8288c302d56d47bf6eef5a63c5a92e9efd",
|
|||
|
"homepage": "https://github.com/gaearon/react-deep-force-update",
|
|||
|
"keywords": [
|
|||
|
"react"
|
|||
|
],
|
|||
|
"license": "MIT",
|
|||
|
"main": "lib/index.js",
|
|||
|
"maintainers": [
|
|||
|
{
|
|||
|
"name": "gaearon",
|
|||
|
"email": "dan.abramov@gmail.com"
|
|||
|
},
|
|||
|
{
|
|||
|
"name": "wkwiatek",
|
|||
|
"email": "wojtek.kwiatek@gmail.com"
|
|||
|
}
|
|||
|
],
|
|||
|
"name": "react-deep-force-update",
|
|||
|
"optionalDependencies": {},
|
|||
|
"readme": "react-deep-force-update\n=========================\n\n[![build status](https://img.shields.io/travis/gaearon/react-deep-force-update/master.svg?style=flat-square)](https://travis-ci.org/gaearon/react-deep-force-update) \n[![npm version](https://img.shields.io/npm/v/react-deep-force-update.svg?style=flat-square)](https://www.npmjs.com/package/react-deep-force-update) \n[![npm downloads](https://img.shields.io/npm/dm/react-deep-force-update.svg?style=flat-square)](https://www.npmjs.com/package/react-deep-force-update)\n\nForce-updates React component tree recursively.\n\n**Don’t use this in your application code!**\n\nYou’ll only need this if you’re writing a React development tool or library like [React Proxy](https://github.com/gaearon/react-proxy) and you want to enforce a deep update regardless of what component classes have to say.\n\n## Installation\n\n```\nnpm install --save react-deep-force-update\n```\n\nRequires React 0.13 and newer.\n\n## Usage\n\n```js\nimport React from 'react'; // or 'react-native'\nimport getDeepForceUpdate from 'react-deep-force-update';\n\nconst deepForceUpdate = getDeepForceUpdate(React);\nconst instance = React.render(<Something />);\n\n// Will force-update the whole rendered tree\n// even if components in the middle of it\n// define a strict shouldComponentUpdate().\ndeepForceUpdate(instance);\n```\n\n## Credits\n\nThis project is based on the [code written by @syranide](https://github.com/gaearon/react-hot-api/commit/b3d6059a17407ef44765814ce06b36716d110041).\n\n## License\n\nMIT\n",
|
|||
|
"readmeFilename": "README.md",
|
|||
|
"repository": {
|
|||
|
"type": "git",
|
|||
|
"url": "git+https://github.com/gaearon/react-deep-force-update.git"
|
|||
|
},
|
|||
|
"scripts": {
|
|||
|
"build": "babel src --out-dir lib",
|
|||
|
"clean": "rimraf lib",
|
|||
|
"lint": "eslint src test",
|
|||
|
"prepublish": "npm run clean && npm run build",
|
|||
|
"test": "mocha --compilers js:babel/register --recursive",
|
|||
|
"test:watch": "npm run test -- --watch"
|
|||
|
},
|
|||
|
"version": "1.1.1"
|
|||
|
}
|