-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpackage.json
More file actions
68 lines (68 loc) · 1.63 KB
/
package.json
File metadata and controls
68 lines (68 loc) · 1.63 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
61
62
63
64
65
66
67
68
{
"name": "passes-wcag",
"version": "1.0.0-0",
"description": "Evaluate if two colors have sufficient contrast to pass WCAG requirements.",
"type": "module",
"main": "build/index.js",
"types": "build/index.d.ts",
"exports": {
".": {
"types": "./build/index.d.ts",
"import": "./build/index.js"
}
},
"files": [
"build"
],
"scripts": {
"build": "tsc",
"lint": "eslint --max-warnings=0 src/**/*.ts",
"mocha": "mocha",
"test": "yarn lint && yarn mocha",
"prepare": "yarn build",
"prepublishOnly": "yarn test",
"preversion": "yarn test",
"release": "np"
},
"repository": {
"type": "git",
"url": "git+https://github.com/misund/passes-wcag.git"
},
"keywords": [
"wcag",
"color",
"contrast",
"luminance",
"contrast-ratio",
"accessibility",
"a11y",
"relative-luminance",
"color-contrast",
"text-legibility"
],
"author": "Just Thomas Hiorth Misund",
"license": "GPL-3.0",
"bugs": {
"url": "https://github.com/misund/passes-wcag/issues"
},
"homepage": "https://github.com/misund/passes-wcag#readme",
"devDependencies": {
"@eslint/eslintrc": "3.3.1",
"@eslint/js": "9.37.0",
"@types/mocha": "10.0.10",
"@types/node": "25.0.1",
"@typescript-eslint/eslint-plugin": "7.18.0",
"@typescript-eslint/parser": "7.18.0",
"eslint": "9.37.0",
"eslint-config-airbnb": "19.0.4",
"eslint-config-prettier": "10.1.8",
"eslint-plugin-import": "2.32.0",
"mocha": "11.7.4",
"np": "10.2.0",
"tsx": "4.20.6",
"typescript": "5.9.3"
},
"dependencies": {
"get-contrast-ratio": "1.0.0-1"
}
}