1 | require 'json'
|
2 |
|
3 | package = JSON.parse(File.read(File.join(__dir__, 'package.json')))
|
4 |
|
5 | Pod::Spec.new do |s|
|
6 | s.name = "react-native-viewpager"
|
7 | s.version = package['version']
|
8 | s.summary = package['description']
|
9 | s.license = package['license']
|
10 |
|
11 | s.authors = package['author']
|
12 | s.homepage = package['homepage']
|
13 |
|
14 | s.platform = :ios, "9.0"
|
15 | s.source = { :git => "https://github.com/react-native-community/react-native-viewpager.git", :tag => "v#{s.version}" }
|
16 | s.source_files = "ios/**/*.{h,m}"
|
17 | s.requires_arc = true
|
18 |
|
19 | s.dependency 'React-Core'
|
20 | end
|