Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
33 changes: 19 additions & 14 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,16 +1,7 @@

# OSX
#
.DS_Store

# node.js
#
node_modules/
npm-debug.log
yarn-error.log
package-lock.json


# Xcode
#
build/
Expand All @@ -30,20 +21,34 @@ DerivedData
*.ipa
*.xcuserstate
project.xcworkspace


# Android/IntelliJ
#
build/
.idea
.vscode
.gradle
local.properties
*.iml
android/gradle/
android/gradlew
android/gradlew.bat

# node.js
#
node_modules/
npm-debug.log
yarn-error.log

# BUCK
buck-out/
\.buckd/
# *.keystore
dev/
.vscode
*.keystore
!debug.keystore

# Bundle artifact
*.jsbundle

# CocoaPods
/ios/Pods/

.vscode/
9 changes: 1 addition & 8 deletions .npmignore
Original file line number Diff line number Diff line change
@@ -1,8 +1 @@
example
local_example
.vscode
.gitignore
.gitattributes
dev
*.keystore
package-lock.json
example/
10 changes: 10 additions & 0 deletions android/.npmignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
*.iml
.DS_Store
.gradle/
.idea/
.npmignore
build/
gradle/
gradlew
gradlew.bat
local.properties
6 changes: 6 additions & 0 deletions ios/.npmignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
*/project.xcworkspace/
*/xcuserdata/
.DS_Store
.npmignore
Pods/
build/
9 changes: 0 additions & 9 deletions ios/RNNetworkState.xcworkspace/contents.xcworkspacedata

This file was deleted.

8 changes: 8 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,15 @@
"name": "react-native-network-state",
"version": "1.1.5",
"description": "Network Reachability instantly module for React Native",
"files": [
"android",
"ios",
"fixAndroid.js",
"index.d.ts",
"RNNetworkState.podspec"
],
"main": "index.js",
"types": "index.d.ts",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
},
Expand Down