moose-team / friends

:tv: P2P chat powered by the web.
http://moose-team.github.io/friends/
MIT License
3.17k stars 341 forks source link

Start on splitting web / desktop version #108

Closed shama closed 9 years ago

shama commented 9 years ago

This is a start on a web version. It makes app.js more platform agnostic and creates a desktop.js and web.js for the entry points to each version.

Although further work needs to be done to get it running on the web. I'm hitting this error:

Error: Cannot find module '/Users/Kyle/Documents/www/friends/node_modules/protocol-buffers/brfs' from '/Users/Kyle/Documents/www/friends'

and I imagine a few others are not web friendly. Still looking into solutions around those.


npm run web will start a server on localhost:9966.

ungoldman commented 9 years ago

@shama cool! if you run standard -F locally it should fix most of the linting errors.

shama commented 9 years ago

@ngoldman Oh nice, I didnt know about standard -F. Fixed those errors, thanks!

ungoldman commented 9 years ago

@shama I think it just wraps https://github.com/maxogden/standard-format

ungoldman commented 9 years ago

Looks good to me, here we go!

Flet commented 9 years ago

@shama awesome start!