Check out example codes for "zip file ignoring directory starting with dot". It will help you in understanding the concepts better.

Code Example 1

if you are using 
zip -r 1.zip *
this will ignore the hidden directories(dot directory)

To include the dot directory use the below format. 
it includes everything in that directory
zip -r 1.zip .

Learn ReactJs, React Native from akashmittal.com