These are the scripts for my screeps.
Copy the Gruntfile example
npm install
cp example.Gruntfile.js Gruntfile.js
Change the placeholders inside it
...
options: {
email: 'enter_email', // this
password: 'enter_password', // this
branch: 'choose_branch', // and this
ptr: false
},
...
To deploy the script to screeps run:
grunt screeps
Which will deploy the code that is inside dist
folder to the specified branch of the specified account.