mirror of
https://github.com/status-im/react-native-image-resizer.git
synced 2025-02-04 10:53:24 +00:00
Add podspec file (#52)
This commit is contained in:
parent
8a485bf0a9
commit
8514b33d29
20
react-native-image-resizer.podspec
Normal file
20
react-native-image-resizer.podspec
Normal file
@ -0,0 +1,20 @@
|
||||
require 'json'
|
||||
|
||||
package = JSON.parse(File.read(File.join(__dir__, 'package.json')))
|
||||
|
||||
Pod::Spec.new do |s|
|
||||
s.name = "react-native-image-resizer"
|
||||
s.version = package['version']
|
||||
s.summary = package['description']
|
||||
s.homepage = "https://github.com/bamlab/react-native-image-resizer"
|
||||
s.license = package['license']
|
||||
s.author = package['author']
|
||||
s.source = { :git => "https://github.com/bamlab/react-native-image-resizer.git", :tag => "v#{s.version}" }
|
||||
|
||||
s.platform = :ios, "8.0"
|
||||
|
||||
s.preserve_paths = 'README.md', 'LICENSE', 'package.json', 'index.js'
|
||||
s.source_files = "ios/RCTImageResizer/*.{h,m}"
|
||||
|
||||
s.dependency 'React'
|
||||
end
|
Loading…
x
Reference in New Issue
Block a user