Files
react-native/packages/react-native-test-renderer/package.json
T
Jack Pope bdc88c3fad Allow package to be imported by tests in xplat (#42826)
Summary:
Pull Request resolved: https://github.com/facebook/react-native/pull/42826

yungsters debugged the failing test library import and found that we don't yet support package exports. Switching this to main with an index file allows us to import the library in other places.

Changelog: [internal]

Reviewed By: yungsters

Differential Revision: D53240712

fbshipit-source-id: 046a7d1678cbca181e4a4de607a9c0e7490ef047
2024-02-02 14:34:43 -08:00

17 lines
471 B
JSON

{
"name": "@react-native/test-renderer",
"private": true,
"version": "0.0.0",
"description": "A Test rendering library for React Native",
"license": "MIT",
"devDependencies": {
"@babel/core": "^7.20.0",
"@babel/plugin-transform-react-jsx": "^7.0.0",
"@babel/preset-env": "^7.20.0",
"@babel/preset-flow": "^7.20.0"
},
"dependencies": {},
"main": "src/index.js",
"peerDependencies": { "jest": "^29.7.0" }
}