use dependencyMap for npm rewriting