refactor(task): use `__dirname` global to load npm tasks

missed the forest for the trees here