diff --git a/package.json b/package.json index ee9e35e93e..e42dd3dd73 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,7 @@ { "name": "react-native-toggle-calendar", "version": "1.0.3", + "homepage": "https://github.com/varunon9/react-native-toggle-calendar/blob/master/README.md", "main": "src/index.js", "description": "Horizontal as well as Grid calendar built on top of react-native-calendars", "scripts": { diff --git a/react-native-toggle-calendar.podspec b/react-native-toggle-calendar.podspec new file mode 100644 index 0000000000..5e552bc2aa --- /dev/null +++ b/react-native-toggle-calendar.podspec @@ -0,0 +1,19 @@ +require 'json' + +package = JSON.parse(File.read(File.join(__dir__, 'package.json'))) + +Pod::Spec.new do |s| + s.name = package['name'] + s.version = package['version'] + s.summary = package['description'] + s.license = package['license'] + + s.authors = package['author'] + s.homepage = package['homepage'] + s.platforms = { :ios => "9.0", :osx => "10.13" } + + s.source = { :git => "https://github.com/varunon9/react-native-toggle-calendar.git", :tag => "v#{s.version}" } + s.source_files = "apple/**/*.{h,m}" + + s.dependency 'React-Core' +end