-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
53 lines (53 loc) · 1.2 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
{
"keywords": [
"rgb",
"rgba",
"hex",
"alpha",
"color",
"convert",
"typescript"
],
"author": "Florian Fehrenbacher",
"license": "ISC",
"name": "@zero-deps/hex-2-rgb",
"repository": {
"type": "git",
"url": "https://github.com/flofehrenbacher/hex-2-rgb.git"
},
"version": "2.2.0",
"description": "lightweight typescript function to convert hexes of format #rrggbb to rgb(x,y,z) or rgba(x,y,z,a)",
"main": "dist/index.js",
"module": "dist/index.mjs",
"types": "dist/index.d.ts",
"scripts": {
"test": "jest",
"type-check": "tsc --noEmit",
"prebuild": "rm -rf dist",
"build": "tsup src/index.ts --format esm,cjs --dts",
"size": "size-limit",
"prepublishOnly": "run-s build size"
},
"size-limit": [
{
"limit": "500 B",
"path": "dist/index.js"
},
{
"limit": "150 B",
"path": "dist/index.mjs"
}
],
"devDependencies": {
"@size-limit/preset-small-lib": "9.0.0",
"@swc/core": "1.10.1",
"@types/jest": "29.5.14",
"jest": "29.7.0",
"npm-run-all2": "6.2.6",
"prettier": "3.4.2",
"ts-jest": "29.2.5",
"size-limit": "9.0.0",
"tsup": "8.3.5",
"typescript": "5.7.2"
}
}