Commit Graph

22 Commits

Author SHA1 Message Date
archaeal
f3f20173ac fixes npm script command syntax 2020-06-26 16:09:28 -05:00
Lokesh Dhakar
043d653078 release: v2.3.0 2019-08-04 08:52:14 -07:00
Lokesh Dhakar
c8d91d8d69 build: Don't output sourcemaps 2019-08-03 23:21:28 -07:00
Lokesh Dhakar
3e992dc368 test: Add node tests with Mocha and Chai 2019-08-03 23:10:04 -07:00
Lokesh Dhakar
ec98c39d42 fix: Remove node req from package.json 2019-07-22 07:31:54 -07:00
Lokesh Dhakar
d527157d56 chore: Add get-pixels and quantize to deps list 2019-07-21 18:55:38 -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
2708113d10 chore: Upgrade cypress dep 2019-07-14 10:12:19 -07:00
Lokesh Dhakar
6f5c2c8d7d chore: Rename project in package.json to colorthief from color-thief. Former is taken by null2. 2019-07-14 09:46:15 -07:00
Lokesh Dhakar
9a1f39b216 build: v2.1.0 2019-07-14 09:32:13 -07:00
Lokesh Dhakar
44d7870641 chore: Add license to package.json and use mustache from node_modules 2019-07-14 08:39:50 -07:00
Lokesh Dhakar
d82f147343 style: Add eslint 2019-05-26 22:12:17 -07:00
Lokesh Dhakar
20c33cc3bb chore: Upgrade Cypress and docs on how to run tests 2019-05-25 19:18:34 -07:00
Lokesh Dhakar
eb38ecf0dc chore: Update npm dev task to ref http-server in local node_modules 2019-05-02 08:23:15 -07:00
Lokesh Dhakar
42da5347b2 Fix color-thief version. Accidentally bumped prev 2019-04-28 14:07:51 -07:00
Lokesh Dhakar
9a4443097c Replace Grunt w/node deps: http-server, node-minify, uglify 2019-04-28 13:58:49 -07:00
Lokesh Dhakar
105c888e73 Add node engine req to package.json 2019-04-27 20:51:13 -07:00
Lokesh Dhakar
af478eb09c Remove private boolean from package.json. Upgrade deps. 2016-10-30 20:21:15 -07:00
Lokesh Dhakar
de968be816 2.0.1: readme and version # 2015-10-05 08:35:57 -07:00
Lokesh Dhakar
36a3c4171e Remove CC License refs. MIT all-around. 2015-10-05 08:33:52 -07:00
Lokesh Dhakar
9cbad46067 Reorganize files for Bower distro 2014-04-17 11:07:23 -07:00
Lokesh Dhakar
cb5c9c6ca8 Updated demo page. Added package.json and bower.json. 2014-04-08 01:22:14 -04:00