Using Yeoman ArcGIS JS App Generator
This video covers how to use the ArcGIS JS App Generator to quickly scaffold an application with testing and build tools provided.
This way you can quickly get an application up and running without having to worry about basic setup and application structure.