commit
14b2f8a3a9
|
@ -4,6 +4,7 @@
|
|||
"main": "index.js",
|
||||
"author": "Jamon Holmgren <jamon@infinite.red>",
|
||||
"version": "0.1.0",
|
||||
"homepage": "https://github.com/react-native-community/react-native-webview#readme",
|
||||
"peerDependencies": {
|
||||
"react": "^16.0",
|
||||
"react-native": "^0.56"
|
||||
|
@ -12,4 +13,4 @@
|
|||
"escape-string-regexp": "^1.0.5",
|
||||
"fbjs": "^0.8.17"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -0,0 +1,18 @@
|
|||
require 'json'
|
||||
|
||||
package = JSON.parse(File.read(File.join(__dir__, 'package.json')))
|
||||
|
||||
Pod::Spec.new do |s|
|
||||
s.name = package['name']
|
||||
s.version = package['version']
|
||||
s.summary = package['description']
|
||||
|
||||
s.authors = package['author']
|
||||
s.homepage = package['homepage']
|
||||
s.platform = :ios, "9.0"
|
||||
|
||||
s.source = { :git => "https://github.com/react-native-community/react-native-webview.git" }
|
||||
s.source_files = "ios/**/*.{h,m}"
|
||||
|
||||
s.dependency 'React'
|
||||
end
|
Loading…
Reference in New Issue