Thanks for this article.
Gaëtan Renaudeau
11

You definitely want babel in your devDependencies. Scripts run by npm hooks will automatically include the bin files of those dependencies in their PATH. So running the `babel` command in your prepublish hook would use the version of babel listed in devDependencies, which is a good idea for all sorts of reasons. (Mainly because it ensures developers aren’t getting different results on their individual environments just because they’re running a different version of babel.)

One clap, two clap, three clap, forty?

By clapping more or less, you can signal to us which stories really stand out.