mozillascience / software-discovery-dashboard

MIT License
19 stars 8 forks source link

Build refactoring (Ongoing) #22

Closed lukecoy closed 8 years ago

lukecoy commented 8 years ago

Gulp is crazy and needs to be optimized. We can use this to keep track of enhancements.

  1. Watchify instead of watching and browserifying everytime components change
  2. Handling dependencies - how to manage new deps when working in development mode
lukecoy commented 8 years ago

This is kind of an iterative ongoing task, so I'll update it as things change.

Dependencies are, well, handled. Development mode takes ~6 seconds for me to completely start up a server, which is a HUGE improvement from what it took before.

lukecoy commented 8 years ago

I've introduced ES6 supported Jest unit testing into my local branch that I use to test out my Figshare interface. I've made into a watchable gulp task, so as your unit tests change, gulp will automatically let you know if those tests are passing are failing. Almost ready for a PR.