-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathpackage.json
More file actions
60 lines (60 loc) · 1.43 KB
/
Copy pathpackage.json
File metadata and controls
60 lines (60 loc) · 1.43 KB
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
{
"name": "chroma-flow",
"version": "1.0.0",
"description": "Zero-dependency TypeScript library & CLI for generating accessible (WCAG + color-blind-safe) color palettes from a single seed color using OKLCH.",
"license": "MIT",
"author": "Cryptoteep",
"homepage": "https://github.com/Cryptoteep/chroma-flow",
"repository": {
"type": "git",
"url": "https://github.com/Cryptoteep/chroma-flow.git"
},
"bugs": {
"url": "https://github.com/Cryptoteep/chroma-flow/issues"
},
"keywords": [
"color",
"palette",
"oklch",
"wcag",
"accessibility",
"design-system",
"tailwind",
"color-blind",
"cvd",
"contrast",
"typescript",
"cli"
],
"type": "module",
"main": "./dist/index.js",
"module": "./dist/index.js",
"types": "./dist/index.d.ts",
"exports": {
".": {
"types": "./dist/index.d.ts",
"import": "./dist/index.js"
},
"./package.json": "./package.json"
},
"files": [
"dist",
"cli",
"src",
"README.md",
"LICENSE"
],
"bin": {
"chroma-flow": "./dist/cli/chroma-flow.js"
},
"sideEffects": false,
"scripts": {
"build": "bun build src/index.ts --outdir dist --target node && bun build cli/chroma-flow.ts --outfile dist/cli/chroma-flow.js --target node",
"cli": "bun run cli/chroma-flow.ts",
"example": "bun run examples/basic.ts",
"prepublishOnly": "bun run build"
},
"engines": {
"node": ">=18"
}
}