Commit Graph

14 Commits

Author SHA1 Message Date
Lokesh Dhakar
20d3593422 build: resolve Quantize dep issue, upgrade Cypress 2023-02-27 15:30:44 -08:00
Lokesh Dhakar
07522f86d8 test: Fix cors test, typo 2019-08-25 18:29:35 -07:00
Lokesh Dhakar
c9e6563a44 test: Add test for CORS 2019-08-24 18:59:26 -07:00
Lokesh Dhakar
2aa036737a test: Remove bad test case, colorcount(1) 2019-07-21 23:04:48 -07:00
Lokesh Dhakar
8236c9d71f refactor: Move validation logic to core 2019-07-21 22:58:43 -07:00
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
a271686ab9 fix: Test tpl using wrong elapsedTime var 2019-07-14 09:19:57 -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
Lokesh Dhakar
dadaba619a testing: Remove Cypress examples 2019-04-27 23:00:07 -07:00
Lokesh Dhakar
f319e54b19 Add Cypress dep for testing 2019-04-27 20:52:10 -07:00