How can I fork and patch node transitions with NPM?
I am using a browser and would like to modify their dependency browser-pack
where they are using UMD. I created a fork and would like to use this forked one browser-pack
in my project.
I know how I can specify a dependency on the github url, but how do I change the transitive dependency browserify
to use my forked one browser-pack
?
Of course, only a solution that works in a team (without being able to customize it) is a good solution for me. Considering mine package.json
looks like this.
{
"name": "X",
"version": "2.0.0",
"dependencies": {
"browserify": "^4.2.3"
}
}
+3
source to share