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

This commit is contained in:
Paul O’Shannessy
2016-08-02 15:11:45 -07:00
committed by GitHub
parent 769f34f644
commit 2f098bb224
4 changed files with 30 additions and 5 deletions
+7 -1
View File
@@ -11,5 +11,11 @@
"dependencies": {},
"peerDependencies": {
"react": "^16.0.0-alpha"
}
},
"files": [
"LICENSE",
"PATENTS",
"README.md",
"index.js"
],
}
+9 -1
View File
@@ -15,5 +15,13 @@
"dependencies": {},
"peerDependencies": {
"react": "^16.0.0-alpha"
}
},
"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": "^16.0.0-alpha"
}
},
"files": [
"LICENSE",
"PATENTS",
"README.md",
"index.js"
]
}
+7 -2
View File
@@ -16,6 +16,11 @@
"homepage": "https://facebook.github.io/react/",
"peerDependencies": {
"react": "^16.0.0-alpha"
}
},
"files": [
"LICENSE",
"PATENTS",
"README.md",
"index.js"
]
}