Skip to content

Commit 2b14625

Browse files
committed
chore: add missing info to package.json
1 parent 5b33bb7 commit 2b14625

File tree

3 files changed

+37
-26
lines changed

3 files changed

+37
-26
lines changed

ios/RNCAndroidprogressbar.podspec

Lines changed: 0 additions & 24 deletions
This file was deleted.

package.json

Lines changed: 14 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "@react-native-community/progress-bar-android",
33
"version": "1.0.0",
4-
"description": "React Native Android Progress Bar",
4+
"description": "Progress Bar component for React Native",
55
"main": "index.js",
66
"scripts": {
77
"start": "node node_modules/react-native/local-cli/cli.js start",
@@ -10,6 +10,11 @@
1010
"test": "jest",
1111
"lint": "eslint 'js/**/*.js' && eslint 'example/**/*.js'"
1212
},
13+
"homepage": "https://github.com/react-native-community/react-native-progress-bar-android#readme",
14+
"repository": {
15+
"type": "git",
16+
"url": "https://github.com/react-native-community/react-native-progress-bar-android.git"
17+
},
1318
"keywords": [
1419
"react-native",
1520
"react native",
@@ -23,7 +28,11 @@
2328
"js",
2429
"index.js"
2530
],
26-
"author": "",
31+
"author": "Wagner Maciel <[email protected]>",
32+
"contributors": [
33+
"Vivian Fang <[email protected]>",
34+
"Jesse Katsumata <[email protected]>"
35+
],
2736
"license": "MIT",
2837
"peerDependencies": {
2938
"react": ">=16.8.6",
@@ -47,5 +56,8 @@
4756
},
4857
"jest": {
4958
"preset": "react-native"
59+
},
60+
"publishConfig": {
61+
"access": "public"
5062
}
5163
}
Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
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 = "react-native-progress-bar-android"
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+
14+
s.description = package['description']
15+
s.platform = :ios, "9.0"
16+
17+
s.source = { :git => "https://github.com/react-native-community/react-native-progress-bar-android.git", :tag => "master" }
18+
s.source_files = "ios/RNCAndroidprogressbar/**/*.{h,m}"
19+
s.requires_arc = true
20+
21+
s.dependency "React"
22+
23+
end

0 commit comments

Comments
 (0)