webpack can be installed globally, but it delegates to a locally-installed version if one exists:
https://github.com/webpack/webpack/blob/7e08847df59f9bed1854ce660946b285055c73d6/bin/webpack.js#L8-L14
Perhaps we should consider the same so that people can use the jest command easily instead of npm test.