Skip to content

Commit de331fb

Browse files
Update .gitignore and .npmignore
1 parent 3526914 commit de331fb

File tree

6 files changed

+44
-31
lines changed

6 files changed

+44
-31
lines changed

.gitignore

Lines changed: 19 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,7 @@
1-
21
# OSX
32
#
43
.DS_Store
54

6-
# node.js
7-
#
8-
node_modules/
9-
npm-debug.log
10-
yarn-error.log
11-
package-lock.json
12-
13-
145
# Xcode
156
#
167
build/
@@ -30,20 +21,34 @@ DerivedData
3021
*.ipa
3122
*.xcuserstate
3223
project.xcworkspace
33-
3424

3525
# Android/IntelliJ
3626
#
3727
build/
3828
.idea
39-
.vscode
4029
.gradle
4130
local.properties
4231
*.iml
32+
android/gradle/
33+
android/gradlew
34+
android/gradlew.bat
35+
36+
# node.js
37+
#
38+
node_modules/
39+
npm-debug.log
40+
yarn-error.log
4341

4442
# BUCK
4543
buck-out/
4644
\.buckd/
47-
# *.keystore
48-
dev/
49-
.vscode
45+
*.keystore
46+
!debug.keystore
47+
48+
# Bundle artifact
49+
*.jsbundle
50+
51+
# CocoaPods
52+
/ios/Pods/
53+
54+
.vscode/

.npmignore

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1 @@
1-
example
2-
local_example
3-
.vscode
4-
.gitignore
5-
.gitattributes
6-
dev
7-
*.keystore
8-
package-lock.json
1+
example/

android/.npmignore

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
*.iml
2+
.DS_Store
3+
.gradle/
4+
.idea/
5+
.npmignore
6+
build/
7+
gradle/
8+
gradlew
9+
gradlew.bat
10+
local.properties

ios/.npmignore

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
*/project.xcworkspace/
2+
*/xcuserdata/
3+
.DS_Store
4+
.npmignore
5+
Pods/
6+
build/

ios/RNNetworkState.xcworkspace/contents.xcworkspacedata

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

package.json

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,15 @@
22
"name": "react-native-network-state",
33
"version": "1.1.5",
44
"description": "Network Reachability instantly module for React Native",
5+
"files": [
6+
"android",
7+
"ios",
8+
"fixAndroid.js",
9+
"index.d.ts",
10+
"RNNetworkState.podspec"
11+
],
512
"main": "index.js",
13+
"types": "index.d.ts",
614
"scripts": {
715
"test": "echo \"Error: no test specified\" && exit 1"
816
},

0 commit comments

Comments
 (0)