Skip to content

Commit 4cbc1ab

Browse files
author
cnilton
committed
added podspecs
1 parent 535257d commit 4cbc1ab

File tree

2 files changed

+20
-1
lines changed

2 files changed

+20
-1
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "react-native-floating-label-input",
33
"description": "A simple and customizable React Native TextInput with it's placeholder always shown.",
4-
"version": "1.3.7",
4+
"version": "1.3.8",
55
"main": "index.tsx",
66
"private": false,
77
"repository": {
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
require 'json'
2+
3+
package = JSON.parse(File.read(File.join(__dir__, 'package.json')))
4+
5+
Pod::Spec.new do |s|
6+
s.name = package['name']
7+
s.version = package['version']
8+
s.summary = package['description']
9+
s.license = package['license']
10+
11+
s.authors = package['author']
12+
s.homepage = package['homepage']
13+
s.platforms = { :ios => "9.0", :osx => "10.13" }
14+
15+
s.source = { :git => "https://github.com/cnilton/react-native-floating-label-input.git", :tag => "v#{s.version}" }
16+
s.source_files = "apple/**/*.{h,m}"
17+
18+
s.dependency 'React-Core'
19+
end

0 commit comments

Comments
 (0)