2017-02-14 16:02:54 +00:00
|
|
|
require 'json'
|
|
|
|
package = JSON.parse(File.read('package.json'))
|
|
|
|
|
|
|
|
Pod::Spec.new do |s|
|
|
|
|
s.name = "RNFirebase"
|
|
|
|
s.version = package["version"]
|
|
|
|
s.summary = package["description"]
|
|
|
|
s.description = <<-DESC
|
2017-08-18 10:46:55 +00:00
|
|
|
A well tested feature rich Firebase implementation for React Native, supporting iOS & Android.
|
2017-02-14 16:02:54 +00:00
|
|
|
DESC
|
2017-08-18 10:46:55 +00:00
|
|
|
s.homepage = "http://invertase.io/react-native-firebase"
|
2017-02-14 16:02:54 +00:00
|
|
|
s.license = package['license']
|
2017-08-18 10:46:55 +00:00
|
|
|
s.authors = "Invertase Limited"
|
2017-02-14 16:02:54 +00:00
|
|
|
s.source = { :git => "https://github.com/invertase/react-native-firebase.git", :tag => "v#{s.version}" }
|
2017-03-16 16:48:03 +00:00
|
|
|
s.social_media_url = 'http://twitter.com/mikediarmid'
|
2017-02-14 16:02:54 +00:00
|
|
|
s.platform = :ios, "8.0"
|
|
|
|
s.preserve_paths = 'README.md', 'package.json', '*.js'
|
2017-06-16 10:27:46 +00:00
|
|
|
s.source_files = 'ios/RNFirebase/**/*.{h,m}'
|
2017-07-19 11:35:37 +00:00
|
|
|
s.dependency 'React'
|
2017-02-14 16:02:54 +00:00
|
|
|
end
|