7 Commits

Author SHA1 Message Date
bbbcb6c7a8 Add eslint, format 2025-05-05 16:14:57 +02:00
3065bf6c7a add type definitions 2024-06-28 13:53:48 +02:00
bfbb5d64de done 2024-06-28 13:32:22 +02:00
Lokesh Dhakar
881b4848ad build: Remove color-thief-node.js file. Already had color-thief.js for commonjs version 2019-08-03 23:24:21 -07:00
Lokesh Dhakar
bd7b05bda7 build: Copy node file to dist folder 2019-08-03 23:08:09 -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
9a4443097c Replace Grunt w/node deps: http-server, node-minify, uglify 2019-04-28 13:58:49 -07:00