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-custom-keyboard"
|
7 | s.version = package["version"]
|
8 | s.summary = package["description"]
|
9 | s.description = <<-DESC
|
10 | react-native-custom-keyboard
|
11 | DESC
|
12 | s.homepage = "https://github.com/github_account/react-native-custom-keyboard"
|
13 | s.license = "MIT"
|
14 |
|
15 | s.authors = { "Your Name" => "yourname@email.com" }
|
16 | s.platforms = { :ios => "9.0" }
|
17 | s.source = { :git => "https://github.com/github_account/react-native-custom-keyboard.git", :tag => "#{s.version}" }
|
18 |
|
19 | s.source_files = "ios/**/*.{h,m,swift}"
|
20 | s.requires_arc = true
|
21 |
|
22 | s.dependency "React"
|
23 |
|
24 |
|
25 | end
|
26 |
|