Skip to content

Commit ec62502

Browse files
committed
-Published module on npm
-Used published npm module in the Example
1 parent 4ede392 commit ec62502

File tree

5 files changed

+8
-5
lines changed

5 files changed

+8
-5
lines changed

.npmignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Example

Example/ios/ReactNativeSpinnerDemo.xcodeproj/xcshareddata/xcschemes/ReactNativeSpinnerDemo.xcscheme

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@
8080
</AdditionalOptions>
8181
</TestAction>
8282
<LaunchAction
83-
buildConfiguration = "Debug"
83+
buildConfiguration = "Release"
8484
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
8585
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
8686
launchStyle = "0"

Example/package-lock.json

Lines changed: 3 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Example/package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
"scripts": {
66
"android": "react-native run-android",
77
"ios": "react-native run-ios",
8+
"android:build": "cd ./android && ./gradlew assembleRelease && open './app/build/outputs/apk/'",
89
"start": "node node_modules/react-native/local-cli/cli.js start",
910
"test": "jest"
1011
},
@@ -13,7 +14,7 @@
1314
"react-native": "0.55.4",
1415
"react-native-animatable": "^1.3.0",
1516
"react-native-indicators": "^0.13.0",
16-
"react-native-spinner-button": "git+https://github.com/simformsolutions/react-native-spinner-button.git"
17+
"react-native-spinner-button": "^1.0.1"
1718
},
1819
"devDependencies": {
1920
"babel-jest": "23.0.1",

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "react-native-spinner-button",
3-
"version": "1.0.0",
3+
"version": "1.0.1",
44
"description": "This is a react-native button component with a spinner. You can load a spinner or a button from the same component depending on a flag. for eg, you have a button. And on press of that button you are doing something and wants the user to show a spinner, all you have to do is use this component. You can pass along a boolean flag. The component will render a spinner if the flag is true and button if the flag is false.",
55
"author": "Rupal Patel <[email protected]>",
66
"main": "./components/SpinnerButton.js",

0 commit comments

Comments
 (0)