User Tools

Site Tools



If you have dozens of build targets in your package.json you may wish to use autocompletion. Setting it up turns out to be extremely easy. Just use something like

npm completion >> $HOME/.bashrc


npm completion >> $HOME/.zshrc

I do not know if this works on native Windows but then again, I am not responsible for you developing under Windows without using WSL.

A bit more on this npm feature:

tips_and_tricks/npm.txt · Last modified: 2020/10/16 10:04 by jupp