File tree Expand file tree Collapse file tree 1 file changed +6
-4
lines changed Expand file tree Collapse file tree 1 file changed +6
-4
lines changed Original file line number Diff line number Diff line change 1
1
require 'json'
2
2
3
- package = JSON . parse ( File . read ( File . join ( __dir__ , 'package.json' ) ) )
4
-
5
3
Pod ::Spec . new do |s |
4
+
5
+ # NPM package specification
6
+ package = JSON . parse ( File . read ( File . join ( File . dirname ( __FILE__ ) , "package.json" ) ) )
7
+
6
8
s . name = "RNSharedElement"
7
9
s . version = package [ 'version' ]
8
10
s . summary = package [ 'description' ]
9
11
s . license = package [ 'license' ]
10
12
11
13
s . authors = package [ 'author' ]
12
- s . homepage = package [ 'homepage' ]
13
- s . platform = :ios , "9.0"
14
+ s . homepage = "https://github.com/IjzerenHein/react-native-shared-element"
15
+ s . platforms = { :ios => "9.0" }
14
16
15
17
s . source = { :git => "https://github.com/IjzerenHein/react-native-shared-element.git" , :tag => "v#{ s . version } " }
16
18
s . source_files = "ios/**/*.{h,m}"
You can’t perform that action at this time.
0 commit comments