mirror of
https://github.com/zebrajr/react.git
synced 2026-01-15 12:15:22 +00:00
Specifying the directory as part of the `repository` field in a `package.json` allows third party tools to provide better support when working with monorepos. For example, it allows them to correctly construct a commit diff for a specific package. This format was accepted by npm in https://github.com/npm/rfcs/pull/19.
19 lines
390 B
JSON
19 lines
390 B
JSON
{
|
|
"name": "react-native-renderer",
|
|
"version": "16.0.0",
|
|
"private": true,
|
|
"repository": {
|
|
"type" : "git",
|
|
"url" : "https://github.com/facebook/react.git",
|
|
"directory": "packages/react-native-renderer"
|
|
},
|
|
"dependencies": {
|
|
"object-assign": "^4.1.1",
|
|
"prop-types": "^15.6.2",
|
|
"scheduler": "^0.11.0"
|
|
},
|
|
"peerDependencies": {
|
|
"react": "^16.0.0"
|
|
}
|
|
}
|