Commit Graph

6 Commits

Author SHA1 Message Date
Lokesh Dhakar
3e6de37ce7 test: Enable other palette count tests post-quantize func updates 2019-07-21 18:55:11 -07:00
Lokesh Dhakar
c91f3e808e feat: Add module support with new dist files
- `/dist/color-thief.umd.js`: UMD module. For simple script tag loading that exposes a global variable or for RequireJS AMD support.
- `/dist/color-thief.js`: CommonJS module. Entry point for Node.js and Browserify.
- `/dist/color-thief.mjs`: ES6 module. For modern browsers as well as Webpack and Rollup.
- `/dist/color-thief.min.js`: Duplicate of `/dist/color-thief.umd.js`. Kept around to maintain backwards compatibility.
2019-07-14 20:00:27 -07:00
Lokesh Dhakar
3e7554b321 refactor: Move test demo page and assets into cypress folder 2019-07-14 08:38:57 -07:00
Lokesh Dhakar
7a4e672b8c test: Add getPalette() tets 2019-05-02 09:04:23 -07:00
Lokesh Dhakar
8e77715d5d Add tests: getColor on black, red, color, transparent, white image 2019-04-29 08:24:09 -07:00
Lokesh Dhakar
43d8a74e6d wip tests: api spec stub, add test image 2019-04-28 21:10:58 -07:00