build modules for dist in tmp directory
fixeing auto git
excluding server.js
excluding server.js