109 lines
5.4 KiB
JSON
109 lines
5.4 KiB
JSON
|
{
|
||
|
"_args": [
|
||
|
[
|
||
|
{
|
||
|
"raw": "hoist-non-react-statics@^2.2.1",
|
||
|
"scope": null,
|
||
|
"escapedName": "hoist-non-react-statics",
|
||
|
"name": "hoist-non-react-statics",
|
||
|
"rawSpec": "^2.2.1",
|
||
|
"spec": ">=2.2.1 <3.0.0",
|
||
|
"type": "range"
|
||
|
},
|
||
|
"/home/jdaugherty/work/GT2/GT2-Android/node_modules/react-redux"
|
||
|
]
|
||
|
],
|
||
|
"_from": "hoist-non-react-statics@>=2.2.1 <3.0.0",
|
||
|
"_id": "hoist-non-react-statics@2.3.1",
|
||
|
"_inCache": true,
|
||
|
"_location": "/hoist-non-react-statics",
|
||
|
"_nodeVersion": "6.11.2",
|
||
|
"_npmOperationalInternal": {
|
||
|
"host": "s3://npm-registry-packages",
|
||
|
"tmp": "tmp/hoist-non-react-statics-2.3.1.tgz_1504135770608_0.4960349383763969"
|
||
|
},
|
||
|
"_npmUser": {
|
||
|
"name": "mridgway",
|
||
|
"email": "mcridgway@gmail.com"
|
||
|
},
|
||
|
"_npmVersion": "3.10.10",
|
||
|
"_phantomChildren": {},
|
||
|
"_requested": {
|
||
|
"raw": "hoist-non-react-statics@^2.2.1",
|
||
|
"scope": null,
|
||
|
"escapedName": "hoist-non-react-statics",
|
||
|
"name": "hoist-non-react-statics",
|
||
|
"rawSpec": "^2.2.1",
|
||
|
"spec": ">=2.2.1 <3.0.0",
|
||
|
"type": "range"
|
||
|
},
|
||
|
"_requiredBy": [
|
||
|
"/react-redux"
|
||
|
],
|
||
|
"_resolved": "https://registry.npmjs.org/hoist-non-react-statics/-/hoist-non-react-statics-2.3.1.tgz",
|
||
|
"_shasum": "343db84c6018c650778898240135a1420ee22ce0",
|
||
|
"_shrinkwrap": null,
|
||
|
"_spec": "hoist-non-react-statics@^2.2.1",
|
||
|
"_where": "/home/jdaugherty/work/GT2/GT2-Android/node_modules/react-redux",
|
||
|
"author": {
|
||
|
"name": "Michael Ridgway",
|
||
|
"email": "mcridgway@gmail.com"
|
||
|
},
|
||
|
"bugs": {
|
||
|
"url": "https://github.com/mridgway/hoist-non-react-statics/issues"
|
||
|
},
|
||
|
"dependencies": {},
|
||
|
"description": "Copies non-react specific statics from a child component to a parent component",
|
||
|
"devDependencies": {
|
||
|
"babel": "^6.23.0",
|
||
|
"babel-cli": "^6.24.1",
|
||
|
"babel-plugin-transform-class-properties": "^6.24.1",
|
||
|
"babel-plugin-transform-react-jsx-source": "^6.22.0",
|
||
|
"babel-preset-es2015": "^6.24.1",
|
||
|
"babel-preset-es2016": "^6.24.1",
|
||
|
"babel-preset-react": "^6.24.1",
|
||
|
"babel-register": "^6.24.1",
|
||
|
"chai": "^4.0.1",
|
||
|
"coveralls": "^2.11.1",
|
||
|
"create-react-class": "^15.5.3",
|
||
|
"eslint": "^3.8.0",
|
||
|
"istanbul": "^0.4.5",
|
||
|
"mocha": "^3.4.2",
|
||
|
"pre-commit": "^1.0.7",
|
||
|
"react": "^15.0.0"
|
||
|
},
|
||
|
"directories": {},
|
||
|
"dist": {
|
||
|
"shasum": "343db84c6018c650778898240135a1420ee22ce0",
|
||
|
"tarball": "https://registry.npmjs.org/hoist-non-react-statics/-/hoist-non-react-statics-2.3.1.tgz"
|
||
|
},
|
||
|
"gitHead": "d42f54d137f60a24dfd22d207353db546c13676c",
|
||
|
"homepage": "https://github.com/mridgway/hoist-non-react-statics#readme",
|
||
|
"keywords": [
|
||
|
"react"
|
||
|
],
|
||
|
"license": "BSD-3-Clause",
|
||
|
"main": "index.js",
|
||
|
"maintainers": [
|
||
|
{
|
||
|
"name": "mridgway",
|
||
|
"email": "mcridgway@gmail.com"
|
||
|
}
|
||
|
],
|
||
|
"name": "hoist-non-react-statics",
|
||
|
"optionalDependencies": {},
|
||
|
"readme": "# hoist-non-react-statics\n\n[![NPM version](https://badge.fury.io/js/hoist-non-react-statics.svg)](http://badge.fury.io/js/hoist-non-react-statics)\n[![Build Status](https://img.shields.io/travis/mridgway/hoist-non-react-statics.svg)](https://travis-ci.org/mridgway/hoist-non-react-statics)\n[![Coverage Status](https://img.shields.io/coveralls/mridgway/hoist-non-react-statics.svg)](https://coveralls.io/r/mridgway/hoist-non-react-statics?branch=master)\n[![Dependency Status](https://img.shields.io/david/mridgway/hoist-non-react-statics.svg)](https://david-dm.org/mridgway/hoist-non-react-statics)\n[![devDependency Status](https://img.shields.io/david/dev/mridgway/hoist-non-react-statics.svg)](https://david-dm.org/mridgway/hoist-non-react-statics#info=devDependencies)\n\nCopies non-react specific statics from a child component to a parent component. \nSimilar to `Object.assign`, but with React static keywords blacklisted from\nbeing overridden.\n\n```bash\n$ npm install --save hoist-non-react-statics\n```\n\n## Usage\n\n```js\nimport hoistNonReactStatic from 'hoist-non-react-statics';\n\nhoistNonReactStatic(targetComponent, sourceComponent);\n```\n\n## What does this module do?\n\nSee this [explanation](https://facebook.github.io/react/docs/higher-order-components.html#static-methods-must-be-copied-over) from the React docs.\n\n## Compatible React Versions\n\n| Compatible React Version | hoist-non-react-statics Version |\n|--------------------------|-------------------------------|\n| 0.13-15.0 | >= 1.0.0 |\n\n## Browser Support\n\nThis package uses `Object.defineProperty` which has a broken implementation in IE8. In order to use this package in IE8, you will need a polyfill that fixes this method.\n\n## License\nThis software is free to use under the Yahoo Inc. BSD license.\nSee the [LICENSE file][] for license text and copyright information.\n\n[LICENSE file]: https://github.com/mridgway/hoist-non-react-statics/blob/master/LICENSE.md\n\nThird-party open source code used are listed in our [package.json file]( https://github.com/mridgway/hoist-non-react-statics/blob/master/package.json).\n",
|
||
|
"readmeFilename": "README.md",
|
||
|
"repository": {
|
||
|
"type": "git",
|
||
|
"url": "git://github.com/mridgway/hoist-non-react-statics.git"
|
||
|
},
|
||
|
"scripts": {
|
||
|
"cover": "node node_modules/istanbul/lib/cli.js cover --dir artifacts -- ./node_modules/mocha/bin/_mocha tests/unit/ --recursive --compilers js:babel/register --reporter spec",
|
||
|
"lint": "eslint ./index.js",
|
||
|
"test": "mocha tests/unit/ --recursive --compilers js:babel-register --reporter spec"
|
||
|
},
|
||
|
"types": "index.d.ts",
|
||
|
"version": "2.3.1"
|
||
|
}
|