[podspec] Include podspec in npm distribution

Summary:
The way RCT_EXPORT_MODULE currently works, any module that is included as a pod also needs react itself to be included as a pod.

npm seems to be the preferred way to get the latest copy of react (compared to github directly or the cocoapods repo) so what this diff enables is including react as a pod if it was installed via npm.
Closes https://github.com/facebook/react-native/pull/1057
Github Author: James Ide <ide@jameside.com>

Test Plan: Imported from GitHub, without a `Test Plan:` line.
This commit is contained in:
James Ide 2015-04-29 08:21:44 -07:00
parent 11f204748d
commit 1cff06dca3
1 changed files with 1 additions and 0 deletions

View File

@ -23,6 +23,7 @@
"main": "Libraries/react-native/react-native.js",
"files": [
"React",
"React.podspec",
"Examples/SampleApp",
"Libraries",
"packager",