Add podspec file (#52)
This commit is contained in:
parent
8a485bf0a9
commit
8514b33d29
|
@ -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
|
Loading…
Reference in New Issue