Using node. 
Requires.
1. Node, install for your env
2. requirejs as node module - on command prompt 
   npm install -g requirejs