-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathpackage.json
67 lines (67 loc) · 1.49 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
66
67
{
"name": "color-thief-ts",
"version": "1.1.1",
"description": "Get the dominant color or color palette from an image.",
"type": "module",
"files": [
"README.md",
"dist",
"package.json"
],
"main": "./dist/browser.js",
"module": "./dist/browser.mjs",
"types": "./dist/browser.d.ts",
"exports": {
".": {
"import": "./dist/browser.mjs",
"require": "./dist/browser.js",
"node": "./dist/node.js"
},
"./node": {
"import": "./dist/node.mjs",
"require": "./dist/node.js"
}
},
"typesVersions": {
"*": {
"browser": [
"dist/browser.d.ts"
],
"node": [
"dist/node.d.ts"
]
}
},
"scripts": {
"build": "yarn build:browser && yarn build:node",
"build:browser": "tsup src/browser.ts --format esm,cjs --dts",
"build:node": "tsup src/node.ts --format esm,cjs --dts",
"test": "echo \"Error: no test specified\" && exit 1"
},
"repository": {
"type": "git",
"url": "git+https://github.com/wh5938316/color-thief-ts.git"
},
"keywords": [
"javascript",
"canvas",
"colorthief",
"palette",
"color",
"typescript"
],
"author": "Herr Wang",
"license": "MIT",
"bugs": {
"url": "https://github.com/wh5938316/color-thief-ts/issues"
},
"homepage": "https://github.com/wh5938316/color-thief-ts#readme",
"dependencies": {
"get-pixels": "^3.3.3",
"quantize": "^1.0.2"
},
"devDependencies": {
"tsup": "^6.5.0",
"typescript": "^4.9.4"
}
}