-
Notifications
You must be signed in to change notification settings - Fork 26
/
Copy pathpackage.json
54 lines (54 loc) · 1.3 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": "color-space",
"description": "Collection of color space conversions",
"version": "2.1.1",
"author": "Dmitry Ivanov <[email protected]>",
"type": "module",
"keywords": [
"color",
"colour",
"rgb",
"hsl",
"hsv",
"lab",
"luv",
"lch",
"cie",
"hsluv",
"husl",
"color-convert",
"gamut",
"color-conversions",
"color-space",
"color-translation",
"color-data",
"coloroid",
"cubehelix",
"munsell",
"hcg",
"hsp"
],
"repository": {
"type": "git",
"url": "https://github.com/colorjs/color-space.git"
},
"files": [
"*.js",
"dist"
],
"license": "MIT",
"main": "./index.js",
"types": "./dist/color-space.d.ts",
"devDependencies": {
"almost-equal": "^1.1.0",
"esbuild": "^0.24.2",
"uvu": "^0.5.3"
},
"scripts": {
"test": "uvu test",
"build": "esbuild ./index.js --bundle --format=esm --outfile=dist/color-space.js",
"min": "esbuild ./dist/color-space.js --minify --outfile=dist/color-space.min.js",
"types": "npx -y --package=typescript@latest -c 'tsc' && npx --package dts-bundle@latest -c 'dts-bundle --name color-space --main build/**/*.d.ts --baseDir . --out dist/color-space.d.ts'",
"prepublishOnly": "npm run build && npm run min && npm run types"
}
}