Horsed around with interfaces and RepositoryType annotation, finally figured how to give npm repos "/npm" url prefix