mirror of
https://github.com/janishutz/color-thief.git
synced 2025-11-25 22:04:25 +00:00
50 lines
1.4 KiB
JSON
50 lines
1.4 KiB
JSON
{
|
|
"name": "colorthief",
|
|
"version": "2.2.1",
|
|
"author": {
|
|
"name": "Lokesh Dhakar",
|
|
"email": "lokesh.dhakar@gmail.com",
|
|
"url": "http://lokeshdhakar.com/"
|
|
},
|
|
"description": "Get the dominant color or color palette from an image.",
|
|
"keywords": [
|
|
"color",
|
|
"palette",
|
|
"sampling",
|
|
"image",
|
|
"picture",
|
|
"photo",
|
|
"canvas"
|
|
],
|
|
"homepage": "http://lokeshdhakar.com/projects/color-thief/",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "https://github.com/lokesh/color-thief.git"
|
|
},
|
|
"license": "MIT",
|
|
"source": "src/color-thief.js",
|
|
"main": "dist/color-thief.js",
|
|
"module": "dist/color-thief.mjs",
|
|
"umd:main": "dist/color-thief.umd.js",
|
|
"amdName": "ColorThief",
|
|
"scripts": {
|
|
"build": "microbundle; node ./build/build.js",
|
|
"watch": "microbundle watch",
|
|
"dev": " ./node_modules/http-server/bin/http-server",
|
|
"test": "./node_modules/.bin/cypress open"
|
|
},
|
|
"devDependencies": {
|
|
"@node-minify/core": "^4.0.5",
|
|
"@node-minify/uglify-es": "^4.0.5",
|
|
"cypress": "^3.4.0",
|
|
"eslint": "^5.16.0",
|
|
"http-server": "^0.11.1",
|
|
"microbundle": "^0.11.0",
|
|
"mustache": "^3.0.1"
|
|
},
|
|
"dependencies": {
|
|
"get-pixels": "^3.3.2",
|
|
"quantize": "github:lokesh/quantize"
|
|
}
|
|
}
|