@kurkle/color 0.2.1 → 0.3.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/README.md +1 -1
- package/dist/{color.js → color.cjs} +1 -1
- package/dist/color.esm.js +1 -1
- package/dist/color.min.js +1 -1
- package/package.json +15 -9
package/README.md
CHANGED
|
@@ -64,7 +64,7 @@ hsv(244, 100%, 100%, 0.6)
|
|
|
64
64
|
|
|
65
65
|
[typedocs](https://kurkle.github.io/color/)
|
|
66
66
|
|
|
67
|
-
**note** The docs are for the ESM module. UMD module only exports the [default export](https://kurkle.github.io/color/
|
|
67
|
+
**note** The docs are for the ESM module. UMD module only exports the [default export](https://kurkle.github.io/color/modules.html#default)
|
|
68
68
|
|
|
69
69
|
## Benchmarks
|
|
70
70
|
|
package/dist/color.esm.js
CHANGED
package/dist/color.min.js
CHANGED
package/package.json
CHANGED
|
@@ -1,10 +1,16 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kurkle/color",
|
|
3
|
-
"
|
|
3
|
+
"type": "module",
|
|
4
|
+
"version": "0.3.0",
|
|
4
5
|
"description": "css color parsing, manupulation and conversion",
|
|
5
|
-
"main": "dist/color.
|
|
6
|
+
"main": "dist/color.cjs",
|
|
6
7
|
"module": "dist/color.esm.js",
|
|
7
8
|
"types": "dist/color.d.ts",
|
|
9
|
+
"exports": {
|
|
10
|
+
"types": "./dist/color.d.ts",
|
|
11
|
+
"import": "./dist/color.esm.js",
|
|
12
|
+
"require": "./dist/color.cjs"
|
|
13
|
+
},
|
|
8
14
|
"scripts": {
|
|
9
15
|
"build": "node util/copy_dist.js && rollup -c",
|
|
10
16
|
"lint": "eslint src/*.js test/*.js util/*.js",
|
|
@@ -37,13 +43,14 @@
|
|
|
37
43
|
},
|
|
38
44
|
"homepage": "https://github.com/kurkle/color#readme",
|
|
39
45
|
"devDependencies": {
|
|
46
|
+
"@rollup/plugin-terser": "^0.1.0",
|
|
40
47
|
"assert": "^2.0.0",
|
|
41
48
|
"benchmark": "^2.1.4",
|
|
42
49
|
"chartjs-color": "^2.4.1",
|
|
43
50
|
"chartjs-color-string": "^0.6.0",
|
|
44
51
|
"child_process": "^1.0.2",
|
|
45
52
|
"chroma-js": "^2.1.1",
|
|
46
|
-
"color-name": "^
|
|
53
|
+
"color-name": "^2.0.0",
|
|
47
54
|
"color-names": "^2.0.0",
|
|
48
55
|
"color-parse": "^1.4.2",
|
|
49
56
|
"color-parser": "^0.1.0",
|
|
@@ -56,15 +63,14 @@
|
|
|
56
63
|
"eslint-plugin-react": "^7.22.0",
|
|
57
64
|
"fs": "0.0.1-security",
|
|
58
65
|
"perf_hooks": "0.0.1",
|
|
59
|
-
"rollup": "^
|
|
66
|
+
"rollup": "^3.5.0",
|
|
60
67
|
"rollup-plugin-analyzer": "^4.0.0",
|
|
61
68
|
"rollup-plugin-cleanup": "^3.2.1",
|
|
62
|
-
"rollup-plugin-istanbul": "^
|
|
63
|
-
"rollup-plugin-
|
|
64
|
-
"rollup-plugin-visualizer": "^5.5.0",
|
|
69
|
+
"rollup-plugin-istanbul": "^4.0.0",
|
|
70
|
+
"rollup-plugin-visualizer": "^5.8.3",
|
|
65
71
|
"tinycolor2": "^1.4.2",
|
|
66
|
-
"typedoc": "^0.
|
|
67
|
-
"typescript": "^4.
|
|
72
|
+
"typedoc": "^0.23.21",
|
|
73
|
+
"typescript": "^4.9.3",
|
|
68
74
|
"util": "^0.12.3"
|
|
69
75
|
}
|
|
70
76
|
}
|