-
Notifications
You must be signed in to change notification settings - Fork 10
Expand file tree
/
Copy pathpackage.json
More file actions
76 lines (76 loc) · 1.98 KB
/
Copy pathpackage.json
File metadata and controls
76 lines (76 loc) · 1.98 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
69
70
71
72
73
74
75
76
{
"name": "apcach",
"version": "0.6.4",
"description": "JS color calculator for composing colors with consistent APCA contrast ratio",
"keywords": [
"A11y",
"Accessibility",
"APCA",
"Colors",
"Composer",
"Contrast",
"OKLCH"
],
"repository": "antiflasher/apcach",
"type": "module",
"license": "MIT",
"sideEffects": false,
"exports": {
".": "./index.js",
"./package.json": "./package.json"
},
"scripts": {
"dev": "vitest -c config.vitest.mts",
"start": "vite ./demo/",
"lint": "pnpm run --parallel --filter='.' /^lint:[^:]*$/",
"lint:eslint": "eslint .",
"lint:size": "size-limit",
"format": "pnpm run lint:eslint --fix && prettier --write '**/*.{ts,js,md,json}'",
"test": "pnpm run --parallel --filter='.' /^test:[^:]*$/",
"test:unit": "vitest -c config.vitest.mts run",
"postinstall": "pnpm exec simple-git-hooks"
},
"dependencies": {
"apca-w3": "^0.1.9",
"apcach": "link:",
"culori": "^4.0.1",
"wcag-contrast": "^3.0.0"
},
"devDependencies": {
"@logux/eslint-config": "^53.5.1",
"@size-limit/preset-small-lib": "^11.1.6",
"@types/apca-w3": "^0.1.3",
"@types/culori": "^2.1.1",
"@types/wcag-contrast": "^3.0.3",
"benchmark": "^2.1.4",
"clean-publish": "^5.1.0",
"eslint": "^9.19.0",
"eslint-config-standard": "^17.1.0",
"eslint-plugin-import": "^2.31.0",
"eslint-plugin-n": "^17.15.1",
"eslint-plugin-perfectionist": "^4.7.0",
"eslint-plugin-prefer-let": "^4.0.0",
"eslint-plugin-promise": "^7.2.1",
"nano-staged": "^0.8.0",
"prettier": "^3.4.2",
"simple-git-hooks": "^2.11.1",
"size-limit": "^11.1.6",
"vite": "^6.0.11",
"vitest": "^3.0.4"
},
"size-limit": [
{
"limit": "17.32 kB"
}
],
"simple-git-hooks": {
"pre-commit": "./node_modules/.bin/nano-staged",
"pre-push": "pnpm typecheck"
},
"nano-staged": {
"*.{js,cjs,mjs,ts,mts}": [
"eslint --fix",
"prettier --write"
]
}
}