@electrovir/color 0.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE-CC0 +121 -0
- package/LICENSE-MIT +21 -0
- package/README.md +50 -0
- package/dist/color-formats.d.ts +254 -0
- package/dist/color-formats.js +175 -0
- package/dist/color-name-length.d.ts +176 -0
- package/dist/color-name-length.js +75 -0
- package/dist/color.d.ts +171 -0
- package/dist/color.js +243 -0
- package/dist/index.d.ts +3 -0
- package/dist/index.js +3 -0
- package/package.json +109 -0
package/package.json
ADDED
|
@@ -0,0 +1,109 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@electrovir/color",
|
|
3
|
+
"version": "0.0.0",
|
|
4
|
+
"description": "A wrapper for culori with an extremely simple API.",
|
|
5
|
+
"keywords": [
|
|
6
|
+
"color",
|
|
7
|
+
"culori",
|
|
8
|
+
"rgb",
|
|
9
|
+
"hsl",
|
|
10
|
+
"hwb",
|
|
11
|
+
"lab",
|
|
12
|
+
"lch",
|
|
13
|
+
"oklab",
|
|
14
|
+
"oklch"
|
|
15
|
+
],
|
|
16
|
+
"homepage": "https://github.com/electrovir/color",
|
|
17
|
+
"bugs": {
|
|
18
|
+
"url": "https://github.com/electrovir/color/issues"
|
|
19
|
+
},
|
|
20
|
+
"repository": {
|
|
21
|
+
"type": "git",
|
|
22
|
+
"url": "git+https://github.com/electrovir/color.git"
|
|
23
|
+
},
|
|
24
|
+
"license": "(MIT or CC0 1.0)",
|
|
25
|
+
"author": {
|
|
26
|
+
"name": "electrovir",
|
|
27
|
+
"url": "https://github.com/electrovir"
|
|
28
|
+
},
|
|
29
|
+
"sideEffects": false,
|
|
30
|
+
"type": "module",
|
|
31
|
+
"main": "dist/index.js",
|
|
32
|
+
"module": "dist/index.js",
|
|
33
|
+
"types": "dist/index.d.ts",
|
|
34
|
+
"scripts": {
|
|
35
|
+
"build": "virmator frontend build && npm run docs",
|
|
36
|
+
"compile": "virmator compile",
|
|
37
|
+
"docs": "virmator docs",
|
|
38
|
+
"format": "virmator format",
|
|
39
|
+
"lint": "virmator lint fix",
|
|
40
|
+
"publish": "virmator publish npm run test:all",
|
|
41
|
+
"start": "virmator frontend",
|
|
42
|
+
"test": "virmator test web",
|
|
43
|
+
"test:all": "npm run compile && concurrently --colors --kill-others-on-fail -c auto --names tests,spelling,format,docs,deps,lint,build \"npm run test:coverage\" \"npm run test:spelling\" \"npm run test:format\" \"npm run test:docs\" \"npm run test:deps\" \"npm run test:lint\" \"npm run build\"",
|
|
44
|
+
"test:coverage": "npm run test coverage",
|
|
45
|
+
"test:deps": "virmator deps check",
|
|
46
|
+
"test:docs": "virmator docs check",
|
|
47
|
+
"test:format": "virmator format check",
|
|
48
|
+
"test:lint": "virmator lint",
|
|
49
|
+
"test:spelling": "virmator spellcheck",
|
|
50
|
+
"test:update": "npm test update"
|
|
51
|
+
},
|
|
52
|
+
"dependencies": {
|
|
53
|
+
"@augment-vir/assert": "^31.23.3",
|
|
54
|
+
"@augment-vir/common": "^31.23.3",
|
|
55
|
+
"color-name": "^2.0.0",
|
|
56
|
+
"culori": "^4.0.1",
|
|
57
|
+
"type-fest": "^4.41.0"
|
|
58
|
+
},
|
|
59
|
+
"devDependencies": {
|
|
60
|
+
"@augment-vir/test": "^31.23.3",
|
|
61
|
+
"@eslint/eslintrc": "^3.3.1",
|
|
62
|
+
"@eslint/js": "^9.28.0",
|
|
63
|
+
"@stylistic/eslint-plugin": "^4.4.1",
|
|
64
|
+
"@stylistic/eslint-plugin-ts": "^4.4.1",
|
|
65
|
+
"@types/color-name": "^2.0.0",
|
|
66
|
+
"@types/culori": "^4.0.0",
|
|
67
|
+
"@typescript-eslint/eslint-plugin": "^8.33.1",
|
|
68
|
+
"@web/dev-server-esbuild": "^1.0.4",
|
|
69
|
+
"@web/test-runner": "^0.20.2",
|
|
70
|
+
"@web/test-runner-commands": "^0.9.0",
|
|
71
|
+
"@web/test-runner-playwright": "^0.11.0",
|
|
72
|
+
"@web/test-runner-visual-regression": "^0.10.0",
|
|
73
|
+
"cspell": "^9.0.2",
|
|
74
|
+
"dependency-cruiser": "^16.10.2",
|
|
75
|
+
"element-vir": "^26.0.0",
|
|
76
|
+
"esbuild": "^0.25.5",
|
|
77
|
+
"eslint": "^9.28.0",
|
|
78
|
+
"eslint-config-prettier": "^10.1.5",
|
|
79
|
+
"eslint-plugin-jsdoc": "^50.7.1",
|
|
80
|
+
"eslint-plugin-monorepo-cop": "^1.0.2",
|
|
81
|
+
"eslint-plugin-playwright": "^2.2.0",
|
|
82
|
+
"eslint-plugin-prettier": "^5.4.1",
|
|
83
|
+
"eslint-plugin-require-extensions": "^0.1.3",
|
|
84
|
+
"eslint-plugin-sonarjs": "^3.0.2",
|
|
85
|
+
"eslint-plugin-unicorn": "^59.0.1",
|
|
86
|
+
"execute-in-browser": "^1.0.7",
|
|
87
|
+
"istanbul-smart-text-reporter": "^1.1.5",
|
|
88
|
+
"markdown-code-example-inserter": "^3.0.3",
|
|
89
|
+
"prettier": "^3.3.3",
|
|
90
|
+
"prettier-plugin-interpolated-html-tags": "^2.0.1",
|
|
91
|
+
"prettier-plugin-jsdoc": "^1.3.2",
|
|
92
|
+
"prettier-plugin-multiline-arrays": "^4.0.3",
|
|
93
|
+
"prettier-plugin-organize-imports": "^4.1.0",
|
|
94
|
+
"prettier-plugin-packagejson": "^2.5.15",
|
|
95
|
+
"prettier-plugin-sort-json": "^4.1.1",
|
|
96
|
+
"prettier-plugin-toml": "^2.0.5",
|
|
97
|
+
"typedoc": "^0.28.5",
|
|
98
|
+
"typescript": "^5.8.3",
|
|
99
|
+
"typescript-eslint": "^8.33.1",
|
|
100
|
+
"virmator": "^13.15.4",
|
|
101
|
+
"vite": "^6.3.5"
|
|
102
|
+
},
|
|
103
|
+
"engines": {
|
|
104
|
+
"node": ">=22"
|
|
105
|
+
},
|
|
106
|
+
"publishConfig": {
|
|
107
|
+
"access": "public"
|
|
108
|
+
}
|
|
109
|
+
}
|