Fixed path issues when building projects directly.
Added package target
Added dist dir to ignores list