mirror of
https://github.com/facebook/react.git
synced 2025-11-01 09:12:30 +00:00
Specify "files" field for npm packages (#7396)
(cherry picked from commit c5cb5b8bd8)
This commit is contained in:
@@ -11,5 +11,11 @@
|
||||
"dependencies": {},
|
||||
"peerDependencies": {
|
||||
"react": "^15.3.0"
|
||||
}
|
||||
},
|
||||
"files": [
|
||||
"LICENSE",
|
||||
"PATENTS",
|
||||
"README.md",
|
||||
"index.js"
|
||||
],
|
||||
}
|
||||
|
||||
@@ -15,5 +15,13 @@
|
||||
"dependencies": {},
|
||||
"peerDependencies": {
|
||||
"react": "^15.3.0"
|
||||
}
|
||||
},
|
||||
"files": [
|
||||
"LICENSE",
|
||||
"PATENTS",
|
||||
"README.md",
|
||||
"dist/",
|
||||
"index.js",
|
||||
"server.js"
|
||||
]
|
||||
}
|
||||
|
||||
@@ -15,5 +15,11 @@
|
||||
"homepage": "https://facebook.github.io/react-native/",
|
||||
"dependencies": {
|
||||
"react": "^15.3.0"
|
||||
}
|
||||
},
|
||||
"files": [
|
||||
"LICENSE",
|
||||
"PATENTS",
|
||||
"README.md",
|
||||
"index.js"
|
||||
]
|
||||
}
|
||||
|
||||
@@ -16,5 +16,11 @@
|
||||
"homepage": "https://facebook.github.io/react/",
|
||||
"peerDependencies": {
|
||||
"react": "^15.3.0"
|
||||
}
|
||||
},
|
||||
"files": [
|
||||
"LICENSE",
|
||||
"PATENTS",
|
||||
"README.md",
|
||||
"index.js"
|
||||
]
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user