added support for passing custom npm options