Skip to content

Commit 2cf694f

Browse files
tdetlefsenchristopherdro
authored andcommitted
add podspec (#129)
1 parent ee3ab80 commit 2cf694f

File tree

2 files changed

+20
-0
lines changed

2 files changed

+20
-0
lines changed

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,5 +15,6 @@
1515
"react-native"
1616
],
1717
"author": "Christopher Dro <[email protected]> (http://chris.si)",
18+
"homepage": "https://github.com/christopherdro/react-native-html-to-pdf",
1819
"license": "MIT"
1920
}

react-native-html-to-pdf.podspec

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.platform = :ios, "9.0"
14+
15+
s.source = { :git => "https://github.com/christopherdro/react-native-html-to-pdf.git", :tag => "#{s.version}" }
16+
s.source_files = "ios/**/*.{h,m}"
17+
18+
s.dependency 'React'
19+
end

0 commit comments

Comments
 (0)