Just run npm install to download the dependencies, and change the gulpfile to suit your needs for instance name/user name/password.
Currently, this just extracts Script Includes (sys_script_include) and UI Scripts (sys_ui_script), but you can easily add Business Rules (sys_script), Client Scripts (sys_client_script), or whatever else you want to extract into a javascript file for whatever purpose.