dependencies added to package and factory is exported in npm world