socialcalc icon indicating copy to clipboard operation
socialcalc copied to clipboard

Reorganize file structure

Open infojunkie opened this issue 8 years ago • 3 comments

...using standard JS practices.

infojunkie avatar Dec 17 '15 23:12 infojunkie

I would like to look at this but only have limited experience with other JS products. Do you have an idea of what you want to copy?

willhallonline avatar Jan 01 '16 07:01 willhallonline

OK so, ideas so far are:

  • lib/ (contains all the js)
  • assets/
  • assets/img/ (contains the images)
  • assets/css/ (contains the css)
  • tests/ (any tests)
  • demo/ (demo html)

root directory would have

  • README.md
  • CHANGES.md
  • CONTRIBUTORS.md
  • LICENCE.md
  • LEGAL.md
  • package.json
  • gulpfile.js
  • socialcalc.js
  • socialcalc.min.js
  • socialcalc.css
  • socialcalc.min.css

Not sure if we even still need the perl? I don't want to change the repo too much but pretty sure not needed at all. And the demo html files aren't really needed as they are. Just one demo/index.html?

willhallonline avatar Jan 05 '16 23:01 willhallonline

Sounds good to me :-) We don't need the Perl files, and yes we can simplify the demo files to just one.

infojunkie avatar Jan 16 '16 19:01 infojunkie