docs: document common npm dependencies

Closes #5299