浏览代码

Added npmignore and gitignore exclusions

Rotem M 8 年前
父节点
当前提交
4124178295
共有 2 个文件被更改,包括 226 次插入0 次删除
  1. 1
    0
      .gitignore
  2. 225
    0
      .npmignore

+ 1
- 0
.gitignore 查看文件

@@ -148,3 +148,4 @@ xcuserdata
148 148
 android/gradlew
149 149
 android/gradlew.bat
150 150
 android/local.properties
151
+node_modules

+ 225
- 0
.npmignore 查看文件

@@ -1,2 +1,227 @@
1 1
 example/
2 2
 example-redux/
3
+
4
+test/
5
+res/generated/
6
+
7
+.npmignore
8
+
9
+
10
+#################
11
+# from .gitignore:
12
+################
13
+
14
+
15
+############
16
+# Node
17
+############
18
+# Logs
19
+logs
20
+*.log
21
+npm-debug.log*
22
+
23
+# Runtime data
24
+pids
25
+*.pid
26
+*.seed
27
+
28
+# Directory for instrumented libs generated by jscoverage/JSCover
29
+lib-cov
30
+
31
+# Coverage directory used by tools like istanbul
32
+coverage
33
+
34
+# nyc test coverage
35
+.nyc_output
36
+
37
+# Grunt intermediate storage (http://gruntjs.com/creating-plugins#storing-task-files)
38
+.grunt
39
+
40
+# node-waf configuration
41
+.lock-wscript
42
+
43
+# Compiled binary addons (http://nodejs.org/api/addons.html)
44
+build/Release
45
+
46
+# Dependency directories
47
+node_modules
48
+jspm_packages
49
+
50
+# Optional npm cache directory
51
+.npm
52
+
53
+# Optional REPL history
54
+.node_repl_history
55
+
56
+################
57
+# JetBrains
58
+################
59
+.idea
60
+
61
+## File-based project format:
62
+*.iws
63
+
64
+## Plugin-specific files:
65
+
66
+# IntelliJ
67
+/out/
68
+
69
+# mpeltonen/sbt-idea plugin
70
+.idea_modules/
71
+
72
+# JIRA plugin
73
+atlassian-ide-plugin.xml
74
+
75
+# Crashlytics plugin (for Android Studio and IntelliJ)
76
+com_crashlytics_export_strings.xml
77
+crashlytics.properties
78
+crashlytics-build.properties
79
+fabric.properties
80
+
81
+
82
+############
83
+# iOS
84
+############
85
+# Xcode
86
+#
87
+# gitignore contributors: remember to update Global/Xcode.gitignore, Objective-C.gitignore & Swift.gitignore
88
+
89
+## Build generated
90
+ios/build/
91
+ios/DerivedData/
92
+
93
+## Various settings
94
+*.pbxuser
95
+!default.pbxuser
96
+*.mode1v3
97
+!default.mode1v3
98
+*.mode2v3
99
+!default.mode2v3
100
+*.perspectivev3
101
+!default.perspectivev3
102
+ios/xcuserdata/
103
+
104
+## Other
105
+*.moved-aside
106
+*.xcuserstate
107
+
108
+## Obj-C/Swift specific
109
+*.hmap
110
+*.ipa
111
+*.dSYM.zip
112
+*.dSYM
113
+
114
+# CocoaPods
115
+#
116
+# We recommend against adding the Pods directory to your .gitignore. However
117
+# you should judge for yourself, the pros and cons are mentioned at:
118
+# https://guides.cocoapods.org/using/using-cocoapods.html#should-i-check-the-pods-directory-into-source-control
119
+#
120
+ios/Pods/
121
+
122
+# Carthage
123
+#
124
+# Add this line if you want to avoid checking in source code from Carthage dependencies.
125
+# Carthage/Checkouts
126
+
127
+Carthage/Build
128
+
129
+# fastlane
130
+#
131
+# It is recommended to not store the screenshots in the git repo. Instead, use fastlane to re-generate the
132
+# screenshots whenever they are needed.
133
+# For more information about the recommended setup visit:
134
+# https://github.com/fastlane/fastlane/blob/master/fastlane/docs/Gitignore.md
135
+
136
+fastlane/report.xml
137
+fastlane/screenshots
138
+
139
+
140
+############
141
+# Android
142
+############
143
+# Built application files
144
+*.apk
145
+*.ap_
146
+
147
+# Files for the Dalvik VM
148
+*.dex
149
+
150
+# Java class files
151
+*.class
152
+
153
+# Generated files
154
+android/bin/
155
+android/gen/
156
+android/out/
157
+
158
+# Gradle files
159
+android/.gradle/
160
+android/build/
161
+android/*/build/
162
+
163
+# Local configuration file (sdk path, etc)
164
+local.properties
165
+
166
+# Proguard folder generated by Eclipse
167
+android/proguard/
168
+
169
+# Log Files
170
+*.log
171
+
172
+# Android Studio Navigation editor temp files
173
+android/.navigation/
174
+
175
+# Android Studio captures folder
176
+android/captures/
177
+
178
+# Intellij
179
+*.iml
180
+
181
+# Keystore files
182
+*.jks
183
+
184
+##################
185
+# React-Native
186
+##################
187
+# OSX
188
+#
189
+.DS_Store
190
+
191
+# Xcode
192
+#
193
+build/
194
+*.pbxuser
195
+!default.pbxuser
196
+*.mode1v3
197
+!default.mode1v3
198
+*.mode2v3
199
+!default.mode2v3
200
+*.perspectivev3
201
+!default.perspectivev3
202
+xcuserdata
203
+*.xccheckout
204
+*.moved-aside
205
+DerivedData
206
+*.hmap
207
+*.ipa
208
+*.xcuserstate
209
+project.xcworkspace
210
+
211
+# Android/IJ
212
+#
213
+.idea
214
+android/.idea
215
+android/.gradle
216
+android/local.properties
217
+
218
+# node.js
219
+#
220
+node_modules/
221
+npm-debug.log
222
+
223
+# BUCK
224
+buck-out/
225
+\.buckd/
226
+android/app/libs
227
+android/keystores/debug.keystore