-
Notifications
You must be signed in to change notification settings - Fork 2
/
package.json
51 lines (51 loc) · 1.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
{
"name": "get-best-contrast-color",
"version": "0.3.1",
"description": "Calculate the color in an array of colors that gives the highest contrast to another color.",
"main": "build/index.js",
"scripts": {
"build": "babel src -d build",
"lint": "eslint --max-warnings=0 src",
"mocha": "mocha --require @babel/register",
"postpublish": "git push --tags",
"prepublish": "yarn build && yarn test",
"release": "np",
"test": "yarn lint && yarn mocha"
},
"repository": {
"type": "git",
"url": "git+https://github.com/misund/get-best-contrast-color.git"
},
"keywords": [
"color",
"contrast",
"contrast-ratio",
"accessibility",
"a11y",
"luminance",
"relative-luminance",
"text-legibility"
],
"author": "Just Thomas Hiorth Misund",
"license": "GPL-3.0",
"bugs": {
"url": "https://github.com/misund/get-best-contrast-color/issues"
},
"homepage": "https://github.com/misund/get-best-contrast-color#readme",
"devDependencies": {
"@babel/cli": "7.7.0",
"@babel/core": "7.7.2",
"@babel/preset-env": "7.7.1",
"@babel/register": "7.7.0",
"eslint": "6.6.0",
"eslint-config-airbnb": "17.1.1",
"eslint-plugin-import": "2.18.2",
"eslint-plugin-jsx-a11y": "6.2.3",
"eslint-plugin-react": "7.16.0",
"mocha": "6.2.2",
"np": "5.1.3"
},
"dependencies": {
"get-contrast-ratio": "0.2.1"
}
}