{ "_args": [ [ { "raw": "react-test-renderer@16.2.0", "scope": null, "escapedName": "react-test-renderer", "name": "react-test-renderer", "rawSpec": "16.2.0", "spec": "16.2.0", "type": "version" }, "/Volumes/2009-SSD/GT2/GT2-iOS" ] ], "_from": "react-test-renderer@16.2.0", "_id": "react-test-renderer@16.2.0", "_inCache": true, "_location": "/react-test-renderer", "_nodeVersion": "8.4.0", "_npmOperationalInternal": { "host": "s3://npm-registry-packages", "tmp": "tmp/react-test-renderer-16.2.0.tgz_1511904748686_0.5972350621595979" }, "_npmUser": { "name": "clemmy", "email": "clement.hoang24@gmail.com" }, "_npmVersion": "5.3.0", "_phantomChildren": {}, "_requested": { "raw": "react-test-renderer@16.2.0", "scope": null, "escapedName": "react-test-renderer", "name": "react-test-renderer", "rawSpec": "16.2.0", "spec": "16.2.0", "type": "version" }, "_requiredBy": [ "#DEV:/", "/jest-expo" ], "_resolved": "https://registry.npmjs.org/react-test-renderer/-/react-test-renderer-16.2.0.tgz", "_shasum": "bddf259a6b8fcd8555f012afc8eacc238872a211", "_shrinkwrap": null, "_spec": "react-test-renderer@16.2.0", "_where": "/Volumes/2009-SSD/GT2/GT2-iOS", "bugs": { "url": "https://github.com/facebook/react/issues" }, "dependencies": { "fbjs": "^0.8.16", "object-assign": "^4.1.1", "prop-types": "^15.6.0" }, "description": "React package for snapshot testing.", "devDependencies": {}, "directories": {}, "dist": { "integrity": "sha512-Kd4gJFtpNziR9ElOE/C23LeflKLZPRpNQYWP3nQBY43SJ5a+xyEGSeMrm2zxNKXcnCbBS/q1UpD9gqd5Dv+rew==", "shasum": "bddf259a6b8fcd8555f012afc8eacc238872a211", "tarball": "https://registry.npmjs.org/react-test-renderer/-/react-test-renderer-16.2.0.tgz" }, "files": [ "LICENSE", "README.md", "index.js", "shallow.js", "cjs/" ], "homepage": "https://reactjs.org/", "keywords": [ "react", "react-native", "react-testing" ], "license": "MIT", "main": "index.js", "maintainers": [ { "name": "clemmy", "email": "clement.hoang24@gmail.com" }, { "name": "acdlite", "email": "acdlite@me.com" }, { "name": "sophiebits", "email": "npm@sophiebits.com" }, { "name": "flarnie", "email": "flarnie.npm@gmail.com" }, { "name": "trueadm", "email": "dg@domgan.com" }, { "name": "cpojer", "email": "christoph.pojer@gmail.com" }, { "name": "brianvaughn", "email": "briandavidvaughn@gmail.com" }, { "name": "gaearon", "email": "dan.abramov@gmail.com" }, { "name": "fb", "email": "opensource+npm@fb.com" }, { "name": "zpao", "email": "paul@oshannessy.com" } ], "name": "react-test-renderer", "optionalDependencies": {}, "peerDependencies": { "react": "^16.0.0" }, "readme": "# `react-test-renderer`\n\nThis package provides an experimental React renderer that can be used to render React components to pure JavaScript objects, without depending on the DOM or a native mobile environment.\n\nEssentially, this package makes it easy to grab a snapshot of the \"DOM tree\" rendered by a React DOM or React Native component without using a browser or jsdom.\n\nUsage:\n\n```jsx\nconst ReactTestRenderer = require('react-test-renderer');\n\nconst renderer = ReactTestRenderer.create(\n Facebook\n);\n\nconsole.log(renderer.toJSON());\n// { type: 'a',\n// props: { href: 'https://www.facebook.com/' },\n// children: [ 'Facebook' ] }\n```\n\nYou can also use Jest's snapshot testing feature to automatically save a copy of the JSON tree to a file and check in your tests that it hasn't changed: https://facebook.github.io/jest/blog/2016/07/27/jest-14.html.\n", "readmeFilename": "README.md", "repository": { "type": "git", "url": "git+https://github.com/facebook/react.git" }, "version": "16.2.0" }