Skip to content

Commit

Permalink
feat: add podspec (#15)
Browse files Browse the repository at this point in the history
  • Loading branch information
guhungry authored and Trancever committed Mar 12, 2019
1 parent 94b1e73 commit b6d3b9f
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions react-native-image-editor.podspec
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
require 'json'

package = JSON.parse(File.read(File.join(__dir__, 'package.json')))

Pod::Spec.new do |s|
s.name = "react-native-image-editor"
s.version = package['version']
s.summary = package['description']
s.license = package['license']

s.authors = package['author']
s.homepage = package['homepage']
s.platform = :ios, "9.0"

s.source = { :git => "https://github.com/react-native-community/react-native-image-editor.git", :tag => "#{s.version}" }
s.source_files = "ios/**/*.{h,m}"

s.dependency 'React'
end

0 comments on commit b6d3b9f

Please sign in to comment.