Add rollup-plugin-screeps-upload to upload directly to screeps

This commit is contained in:
Adam Laycock
2017-11-21 20:28:24 +00:00
parent 4d6ebf3ec9
commit 80674295f1
5 changed files with 22 additions and 0 deletions

View File

@@ -15,6 +15,14 @@ Open the folder in your terminal and run `npm install` (or `yarn`) to install th
Fire up your preferred editor with typescript installed and you are good to go!
### Rollup
Screeps Typescript Starter uses rollup to compile your typescript and upload it to a screeps server.
Change `creeps.sample.json` to `screeps.json` and update the settings.
Running `rollup -c` will compile and upload your code.
## Typings
The typings for Screeps comes from [typed-screeps](https://github.com/screepers/typed-screeps), if you have an issue with incorrect typings open an issue there.