-
Notifications
You must be signed in to change notification settings - Fork 547
/
package.json
91 lines (91 loc) · 2.39 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
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
{
"name": "chroma-js",
"description": "JavaScript library for color conversions",
"version": "3.1.2",
"packageManager": "[email protected]",
"author": "Gregor Aisch",
"type": "module",
"homepage": "https://github.com/gka/chroma.js",
"keywords": [
"color"
],
"maintainers": [
{
"name": "Gregor Aisch",
"email": "[email protected]",
"web": "https://vis4.net"
}
],
"bugs": "https://github.com/gka/chroma.js/issues",
"repository": {
"type": "git",
"url": "git://github.com/gka/chroma.js.git"
},
"exports": {
".": {
"import": "./index.js",
"require": "./dist/chroma.cjs"
},
"./light": {
"import": "./index-light.js",
"require": "./dist/chroma-light.cjs"
},
"./src/colors/*.js": {
"import": "./src/colors/*.js"
},
"./src/generator/*.js": {
"import": "./src/generator/*.js"
},
"./src/interpolator/*.js": {
"import": "./src/interpolator/*.js"
},
"./src/io/*.js": {
"import": "./src/io/*.js"
},
"./src/ops/*.js": {
"import": "./src/ops/*.js"
},
"./src/utils/*.js": {
"import": "./src/utils/*.js"
}
},
"main": "./index.js",
"scripts": {
"prepublishOnly": "npm test -- --run && node .bin/update-version.cjs && npm run build",
"build": "rollup -c && cross-env DEV=1 rollup -c ",
"docs": "cd docs && make",
"docs-preview": "cd docs && make && make preview",
"test": "vitest",
"test:update": "vitest -u",
"lint": "prettier --check index.js index.umd.js index.umd.light.js src *.config.js test && eslint index.js index.umd.js index.umd.light.js src",
"format": "prettier --write index.js index.umd.js index.umd.light.js src *.config.js test",
"prepare": "husky"
},
"devDependencies": {
"@babel/eslint-parser": "^7.25.8",
"@eslint/eslintrc": "^3.1.0",
"@eslint/js": "^9.12.0",
"@rollup/plugin-buble": "^1.0.3",
"@rollup/plugin-terser": "^0.4.4",
"cross-env": "^7.0.3",
"eslint": "^9.12.0",
"globals": "^15.11.0",
"http-server": "^14.1.1",
"husky": "^9.1.6",
"markdown-to-html": "0.0.13",
"minimatch": "^10.0.1",
"prettier": "^3.3.3",
"rollup": "^4.24.0",
"rollup-plugin-license": "^3.5.3",
"vitest": "^2.1.2"
},
"license": "(BSD-3-Clause AND Apache-2.0)",
"spm": {
"main": "chroma.js",
"ignore": [
"src",
"doc",
"test"
]
}
}