mirror of
https://github.com/facebook/react.git
synced 2025-11-01 09:12:30 +00:00
66f2097f33
Shallow renderer and test utils bundles Adds new bundles introduced with React 15.5 release to master (and 16 alpha) react-dom/test-utils: This new bundle contains what used to be react-addons-test-utils. This bundle shares things from react-dom rather than duplicates them. A temporary createRenderer method has been left behind as a way to access the new shallow renderer. This is for the ReactNative release cycle only and should be going away before the final release. react-test-renderer/shallow: This new shallow renderer is almost entirely stand-alone (in that it doesn't use the React reconciler or scheduler). The only touch points are ReactElement and prop/context validation. This renderer is stack and fiber compatible.
33 lines
651 B
JSON
33 lines
651 B
JSON
{
|
|
"name": "react-test-renderer",
|
|
"version": "16.0.0-alpha.9",
|
|
"description": "React package for snapshot testing.",
|
|
"main": "index.js",
|
|
"repository": "facebook/react",
|
|
"keywords": [
|
|
"react",
|
|
"react-native",
|
|
"react-testing"
|
|
],
|
|
"license": "BSD-3-Clause",
|
|
"bugs": {
|
|
"url": "https://github.com/facebook/react/issues"
|
|
},
|
|
"homepage": "https://facebook.github.io/react/",
|
|
"dependencies": {
|
|
"fbjs": "^0.8.9",
|
|
"object-assign": "^4.1.0"
|
|
},
|
|
"peerDependencies": {
|
|
"react": "^16.0.0-alpha.9"
|
|
},
|
|
"files": [
|
|
"LICENSE",
|
|
"PATENTS",
|
|
"README.md",
|
|
"index.js",
|
|
"shallow.js",
|
|
"cjs/"
|
|
]
|
|
}
|