HandyAndyShortStack / chinese_chess

javascript implementation of Xiangqi (象棋) with a westernized interface
16 stars 7 forks source link

NPM Package #1

Open micmarsh opened 10 years ago

micmarsh commented 10 years ago

First of all, thanks for the great code! This is the first easily-accessible Xiangqi library I've found that does things like actually account for check and other essentials.

Are there any plans to make this into an npm package? I'm definitely using your work for a project of mine regardless, but having it in npm would make dependencies much cleaner.

HandyAndyShortStack commented 10 years ago

@micmarsh, I am glad you find the code useful. I think releasing chinese_chess as an npm package is a great idea, but I do not have any experience doing that sort of thing. Would you be willing to help?

micmarsh commented 10 years ago

For sure! As far as I know, all you need by default is a package.json file with a "name" and "version" field, and then it can be deployed (there may be more to it): http://howtonode.org/introduction-to-npm. I'd do it myself, but I wouldn't want it to be published under my name when you've done all the real work :-)

HandyAndyShortStack commented 10 years ago

Well that wasn't that hard. I have released an npm package called chinese_chess that exports a Game object.

micmarsh commented 10 years ago

Cool, I'll probably check it out this weekend while refactoring my project. Thanks Andy!

On Thu, Jan 30, 2014 at 11:37 PM, Andy Short notifications@github.comwrote:

Well that wasn't that hard. I have released an npm package called chinese_chess that exports a ` object.

Reply to this email directly or view it on GitHubhttps://github.com/HandyAndyShortStack/chinese_chess/issues/1#issuecomment-33761280 .

Michael Marsh Lead Engineer Fetchnotes

michael.marsh42@gmail.com Github: micmarsh Fetchnotes: @mike Twitter: @mikemarsh42