Resolves multiple occurrences of a dependency to a same package.
Resolves multiple occurrences of a dependency to a same package.
resolutions (or fail
if there is no such resolution).
The dependencies to resolve
The resolutions to use in case of conflict (they will be ignored if there are no conflicts)
Logger
The resolved dependencies
Write a package.
Write a package.json file defining the NPM dependencies of the application, plus the ones required to do the bundling.
Logger
File to write into
NPM dependencies
NPM devDependencies
Resolutions to use in case of conflicting dependencies
Classpath (used to look for dependencies of Scala.js libraries this project depends on)
Current configuration
The created package.json file