Check dependencies and their versions in a node project

Use npm list to list dependencies, a useful options is to use --depth=<n> to limit depth as it also list dependencies of the dependencies.