Yeah, this really should be a Yeoman generator & there probably already is one, but I like doing these sort of things from scratch.
config/
dist/
src/
index.js
bar.js
gulpfile.js
index.js
package.json
readme.md
gulp
- builds currentsrc/
todist/
, watches/buildssrc/*.js
, and nodemonsindex.js
gulp build
- builds currentsrc/
todist/
and exitsgulp watch
- builds currentsrc/
todist/
and watches/buildssrc/*.js
gulp nodemon
- nodemonsindex.js
The app comes with config
by default so you can use NODE_ENV=xxx
to set up your environment