This commit is contained in:
Douglas Nassif Roma Junior
2019-12-04 08:08:41 -03:00
parent bc21ff9985
commit f8e5517764
2 changed files with 10 additions and 10 deletions

View File

@@ -2,21 +2,17 @@ require 'json'
packageJson = JSON.parse(File.read('package.json'))
version = packageJson["version"]
description = packageJson["description"]
homepage = packageJson["homepage"]
license = packageJson["license"]
author = packageJson["author"]
repository = packageJson["repository"]["url"]
iqVersion = version.split('-').first
Pod::Spec.new do |s|
s.name = "ReactNativeKeyboardManager"
s.version = version
s.description = description
s.homepage = homepage
s.summary = "A <ReactNativeKeyboardManager /> component for react-native"
s.license = license
s.authors = author
s.description = packageJson["description"]
s.homepage = packageJson["homepage"]
s.summary = packageJson["description"]
s.license = packageJson["license"]
s.authors = packageJson["author"]
s.source = { :git => repository, :tag => version }
s.platform = :ios, "9.0"
s.preserve_paths = 'README.md', 'package.json', '*.js'

View File

@@ -14,7 +14,11 @@
"keyboard",
"IQKeyboardManager"
],
"author": "Douglas Nassif Roma Junior",
"author": {
"name": "Douglas Nassif Roma Junior",
"email": "nassifrroma@gmail.com",
"url": "http://douglasjunior.me"
},
"license": "MIT",
"bugs": {
"url": "https://github.com/douglasjunior/react-native-keyboard-manager/issues"