graypegg / chromatism

:rainbow: A simple set of utility functions for colours.
1.78k stars 37 forks source link

More ESM #20

Closed TehShrike closed 7 years ago

TehShrike commented 7 years ago

These changes do a few things, most importantly:

I also tossed a .travis.yml file into the project so that @toish can go to https://travis-ci.org/toish/chromatism and flip the switch, giving us automated tests.

graypegg commented 7 years ago

Not at home at the moment, but I turned on travis CI! Colour objects held in arrays were being processed in the old api as a list of colours which could be multi-dimensional, so that functionality may need to be moved into convert.js!

TehShrike commented 7 years ago

The tests are passing now as of this PR, but after this is merged you may want to add some more tests to assert that the old conversion functionality is still retained by the current convert operation.