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 *
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 .

Learn ReactJs, React Native from