Screeps SOLID

Setup

Dependencies

npm install

Upload to Screeps Server

Move or copy screeps.sample.json to screeps.json and edit it, changing the credentials and optionally adding or removing some of the destinations.

Important! To upload code to a private server, you must have screepsmod-auth installed and configured!

Dev and Deployment

Evaluate code with linter

npm run lint

Build TypeScript to es6 and output to dist directory

npm run build

Build and push to Screeps server

npm run push

Build and push to Screeps server, whenever code changes

npm run watch

Build and run unit tests locally

npm test