I investigated possible workflows for a JavaScript development and as a result made a small git repository. There I made lite api for the Finite-State machine to show many possible ways how you can develop JavaScript. :)

Link to repository