Skip to content

Commit 9aba84a

Browse files
committed
Improved .npmignore & .gitignore
1 parent b0bfdaf commit 9aba84a

File tree

4 files changed

+98
-14
lines changed

4 files changed

+98
-14
lines changed

.gitattributes

Lines changed: 0 additions & 1 deletion
This file was deleted.

.gitignore

Lines changed: 12 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,6 @@
22
#
33
.DS_Store
44

5-
# node.js
6-
#
7-
node_modules/
8-
npm-debug.log
9-
yarn-error.log
10-
115
# Xcode
126
#
137
build/
@@ -35,8 +29,20 @@ build/
3529
.gradle
3630
local.properties
3731
*.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
3841

3942
# BUCK
4043
buck-out/
4144
\.buckd/
4245
*.keystore
46+
47+
# Editor config
48+
.vscode

.npmignore

Lines changed: 86 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,86 @@
1+
# JS
2+
node_modules
3+
yarn.lock
4+
5+
# Project files
6+
CONTRIBUTING.md
7+
CODE_OF_CONDUCT.md
8+
README.md
9+
10+
# Config files
11+
.babelrc
12+
babel.config.js
13+
.editorconfig
14+
.eslintrc
15+
.flowconfig
16+
.watchmanconfig
17+
jsconfig.json
18+
.npmrc
19+
.gitattributes
20+
.circleci
21+
*.coverage.json
22+
.opensource
23+
.circleci
24+
.eslintignore
25+
codecov.yml
26+
27+
# Example
28+
example/
29+
30+
# Android
31+
android/*/build/
32+
android/gradlew
33+
android/build
34+
android/gradlew.bat
35+
android/gradle/
36+
android/com_crashlytics_export_strings.xml
37+
android/local.properties
38+
android/.gradle/
39+
android/.signing/
40+
android/.idea/gradle.xml
41+
android/.idea/libraries/
42+
android/.idea/workspace.xml
43+
android/.idea/tasks.xml
44+
android/.idea/.name
45+
android/.idea/compiler.xml
46+
android/.idea/copyright/profiles_settings.xml
47+
android/.idea/encodings.xml
48+
android/.idea/misc.xml
49+
android/.idea/modules.xml
50+
android/.idea/scopes/scope_settings.xml
51+
android/.idea/vcs.xml
52+
android/*.iml
53+
android/.settings
54+
55+
# iOS
56+
ios/*.xcodeproj/xcuserdata
57+
*.pbxuser
58+
*.mode1v3
59+
*.mode2v3
60+
*.perspectivev3
61+
*.xcuserstate
62+
project.xcworkspace/
63+
xcuserdata/
64+
ios/build/
65+
66+
# Misc
67+
.DS_Store
68+
.DS_Store?
69+
*.DS_Store
70+
coverage.android.json
71+
coverage.ios.json
72+
coverage
73+
npm-debug.log
74+
.github
75+
._*
76+
.Spotlight-V100
77+
.Trashes
78+
ehthumbs.db
79+
Thumbs.dbandroid/gradle
80+
docs
81+
.idea
82+
tests/
83+
bin/test.js
84+
codorials
85+
.vscode
86+
.nyc_output

package.json

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,6 @@
44
"version": "3.1.0",
55
"description": "React Native TCP socket API for Android & iOS",
66
"main": "src/index.js",
7-
"files": [
8-
"/android",
9-
"!/android/build",
10-
"/ios",
11-
"/src",
12-
"/*.podspec"
13-
],
147
"scripts": {
158
"test": "jest",
169
"lint": "eslint ."

0 commit comments

Comments
 (0)