mirror of
https://github.com/zhigang1992/react-native-keyboard-manager.git
synced 2026-01-12 09:23:57 +08:00
metadata
This commit is contained in:
@@ -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'
|
||||
|
||||
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user