2018-02-05 15:41:02 +01:00
|
|
|
require 'json'
|
|
|
|
|
|
|
|
package = JSON.parse(File.read(File.join(__dir__, 'package.json')))
|
|
|
|
|
|
|
|
Pod::Spec.new do |s|
|
2018-03-11 19:28:54 -04:00
|
|
|
s.name = "react-native-fast-image"
|
|
|
|
s.version = package['version']
|
|
|
|
s.summary = "🚩 FastImage, performant React Native image component."
|
2018-02-05 15:41:02 +01:00
|
|
|
|
2018-03-11 19:28:54 -04:00
|
|
|
s.authors = { "Dylan Vann" => "dylan@dylanvann.com" }
|
|
|
|
s.homepage = "https://github.com/DylanVann/react-native-fast-image#readme"
|
|
|
|
s.license = "MIT"
|
2018-03-17 23:25:49 -04:00
|
|
|
|
2018-03-11 19:28:54 -04:00
|
|
|
s.platform = :ios, "8.0"
|
2018-03-17 23:25:49 -04:00
|
|
|
s.framework = 'UIKit'
|
|
|
|
s.requires_arc = true
|
2018-02-05 15:41:02 +01:00
|
|
|
|
2018-03-11 19:28:54 -04:00
|
|
|
s.source = { :git => "https://github.com/DylanVann/react-native-fast-image.git" }
|
|
|
|
s.source_files = "ios/**/*.{h,m}"
|
2018-02-05 15:41:02 +01:00
|
|
|
s.exclude_files = "ios/Vendor/**/*.{h,m}"
|
|
|
|
|
|
|
|
s.dependency 'React'
|
2018-03-17 23:25:49 -04:00
|
|
|
s.dependency 'SDWebImage/Core'
|
|
|
|
s.dependency 'SDWebImage/GIF'
|
2018-02-05 15:41:02 +01:00
|
|
|
s.dependency 'FLAnimatedImage'
|
|
|
|
end
|