-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
54 lines (54 loc) · 1.32 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
{
"name": "palette-from-image",
"version": "1.0.0",
"description": "A simple library to generate color palettes from images.",
"keywords": [
"palette",
"color",
"image",
"photo",
"picture",
"canvas"
],
"files": [
"lib"
],
"main": "lib/index.js",
"module": "./lib/index.mjs",
"types": "lib/index.d.ts",
"exports": {
".": {
"require": "./lib/index.js",
"import": "./lib/index.mjs",
"types": "./lib/index.d.ts"
}
},
"repository": "github:matiand/palette-from-image",
"license": "MIT",
"scripts": {
"build": "tsup src/index.ts --dts --minify --treeshake --format cjs,esm --outDir lib",
"test": "vitest run",
"test:watch": "vitest",
"prepublishOnly": "npm run build"
},
"devDependencies": {
"@types/quantize": "^1.0.0",
"@types/skmeans": "^0.11.4",
"jsdom": "^22.1.0",
"tsup": "^6.7.0",
"typescript": "^5.0.4",
"vitest": "^0.31.1",
"vitest-canvas-mock": "^0.2.2"
},
"dependencies": {
"colord": "^2.9.3",
"quantize": "^1.0.2",
"skmeans": "^0.11.3"
},
"overrides": {
"jest-canvas-mock": "2.5.0"
},
"engines": {
"node": ">=16"
}
}