Fixed condition to discard root directory files
Updated release version 0.11
Fixed bug about generating index.js for root directory
Updated npm package version