overra / screeps-remote

ISC License
17 stars 6 forks source link

converted to npm-style library #4

Closed troygoode closed 8 years ago

troygoode commented 8 years ago

Okay, this is a pretty big PR – sorry...

I love your tool but really wanted it in library form so that rather than cloning it (and thus having to maintain the code myself), I could install it from NPM as a devDependency and have it just work. This PR makes that possible.

I've created a separate repository to act as an exemplar of getting started using the library, which might make the new usage a bit clearer:

https://github.com/troygoode/screeps-remote-example

I understand that this is very different from how your tool currently works, and won't be offended if you don't want to take it in this direction. Let me know if I should make a more permanent fork.

Thanks for the awesome tool!

overra commented 8 years ago

Thanks @troygoode! This is something I had planned on doing eventually but I've been taking a break from screeps. I'll take a look at the changes tomorrow.

overra commented 8 years ago

Everything looks good to me! Thanks again for your contribution, I have more ideas for this project but I'm not sure when I'll have time to work on them. Hit me up if you're interested either by email or Twitter @overra