forked from lokesh/color-thief
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
65 lines (65 loc) · 2.03 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
{
"name": "@janishutz/colorthief",
"version": "3.0.2",
"author": {
"name": "Janis Hutz",
"email": "development@janishutz.com",
"url": "https://janishutz.com"
},
"description": "Get the dominant color or color palette from an image. Now including TypeScript",
"keywords": [
"color",
"palette",
"sampling",
"image",
"picture",
"photo",
"canvas"
],
"type": "module",
"homepage": "https://lokeshdhakar.com/projects/color-thief/",
"repository": {
"type": "git",
"url": "https://github.com/janishutz/color-thief.git"
},
"license": "MIT",
"source": "src/color-thief.ts",
"main": "dist/color-thief-node.cjs",
"browser": {
"dist/color-thief.mjs": "dist/color-thief.mjs",
"dist/color-thief.js": "dist/color-thief.js"
},
"module": "dist/color-thief-node.mjs",
"umd:main": "dist/color-thief.umd.js",
"amdName": "ColorThief",
"scripts": {
"build": "tsc --declaration && microbundle build --no-sourcemap built/*.js && node ./build/build.mjs",
"watch": "microbundle watch --no-sourcemap",
"dev": "http-server",
"test": "mocha && cypress run --config video=false",
"test:browser": "./node_modules/.bin/cypress run --headed",
"test:node": "mocha",
"cypress": "./node_modules/.bin/cypress open",
"lint": "eslint ./src/*"
},
"devDependencies": {
"@eslint/js": "^9.5.0",
"@stylistic/eslint-plugin": "^2.3.0",
"@types/eslint__js": "^8.42.3",
"chai": "^5.1.1",
"chai-as-promised": "^8.0.0",
"cypress": "^13.12.0",
"eslint": "^8.57.0",
"http-server": "^14.1.1",
"microbundle": "^0.15.1",
"mocha": "^10.5.2",
"mustache": "^4.2.0",
"typescript": "^5.5.2",
"typescript-eslint": "^7.14.1"
},
"dependencies": {
"@lokesh.dhakar/quantize": "^1.3.0",
"ndarray-pixels": "^4.1.0",
"sharp": "^0.33.4"
}
}