Add podspec file (#52)

This commit is contained in:
Ian Grayson 2016-10-14 12:37:45 -07:00 committed by Florian Rival
parent 8a485bf0a9
commit 8514b33d29
1 changed files with 20 additions and 0 deletions

View File

@ -0,0 +1,20 @@
require 'json'
package = JSON.parse(File.read(File.join(__dir__, 'package.json')))
Pod::Spec.new do |s|
s.name = "react-native-image-resizer"
s.version = package['version']
s.summary = package['description']
s.homepage = "https://github.com/bamlab/react-native-image-resizer"
s.license = package['license']
s.author = package['author']
s.source = { :git => "https://github.com/bamlab/react-native-image-resizer.git", :tag => "v#{s.version}" }
s.platform = :ios, "8.0"
s.preserve_paths = 'README.md', 'LICENSE', 'package.json', 'index.js'
s.source_files = "ios/RCTImageResizer/*.{h,m}"
s.dependency 'React'
end