Specify "files" field for npm packages (#7396)

(cherry picked from commit c5cb5b8bd8)
This commit is contained in:
Paul O’Shannessy
2016-08-12 16:02:23 -07:00
parent 44fa2c83d1
commit 21d9b85d66
4 changed files with 30 additions and 4 deletions
+7 -1
View File
@@ -11,5 +11,11 @@
"dependencies": {},
"peerDependencies": {
"react": "^15.3.0"
}
},
"files": [
"LICENSE",
"PATENTS",
"README.md",
"index.js"
],
}
+9 -1
View File
@@ -15,5 +15,13 @@
"dependencies": {},
"peerDependencies": {
"react": "^15.3.0"
}
},
"files": [
"LICENSE",
"PATENTS",
"README.md",
"dist/",
"index.js",
"server.js"
]
}
+7 -1
View File
@@ -15,5 +15,11 @@
"homepage": "https://facebook.github.io/react-native/",
"dependencies": {
"react": "^15.3.0"
}
},
"files": [
"LICENSE",
"PATENTS",
"README.md",
"index.js"
]
}
+7 -1
View File
@@ -16,5 +16,11 @@
"homepage": "https://facebook.github.io/react/",
"peerDependencies": {
"react": "^15.3.0"
}
},
"files": [
"LICENSE",
"PATENTS",
"README.md",
"index.js"
]
}