Repository navigation
Expand file tree
/
Copy pathpackage.json
More file actions
105 lines (105 loc) · 3.14 KB
/
Copy pathpackage.json
File metadata and controls
105 lines (105 loc) · 3.14 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
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
{
"name": "accessibility-plugin-react",
"version": "2.30.0",
"description": "A composable React display-preference widget with a clean light design, persistent settings and movable accessible controls.",
"main": "dist/index.js",
"module": "dist/index.mjs",
"types": "dist/index.d.ts",
"exports": {
".": {
"import": {
"types": "./dist/index.d.mts",
"default": "./dist/index.mjs"
},
"require": {
"types": "./dist/index.d.ts",
"default": "./dist/index.js"
}
},
"./dist/style.css": "./dist/style.css",
"./style.css": "./dist/style.css",
"./fonts/*": "./dist/fonts/*"
},
"files": [
"dist",
"LICENSE",
"NOTICE",
"docs"
],
"scripts": {
"build": "tsup && npm run build:css",
"build:css": "node scripts/build-css.mjs",
"dev": "tsup --watch",
"lint": "eslint src tests scripts --max-warnings 0",
"typecheck": "tsc --noEmit && tsc --noEmit -p tsconfig.tests.json",
"test": "vitest run",
"test:watch": "vitest",
"prepublishOnly": "npm run build",
"validate": "npm run typecheck && npm run lint && npm test && npm run build",
"pack:check": "node scripts/check-package.mjs",
"test:browser": "playwright test",
"test:browser:smoke": "playwright test --project=react18-chromium",
"test:consumers": "npm run build && npm run pack:check && node scripts/prepare-consumers.mjs",
"example": "vite examples",
"example:next": "npm --prefix examples/next-app run dev",
"format": "prettier --write src tests scripts examples docs README.md AGENTS.md CHANGELOG.md *.ts *.json *.mjs .github",
"format:check": "prettier --check src tests scripts examples docs README.md AGENTS.md CHANGELOG.md *.ts *.json *.mjs .github"
},
"peerDependencies": {
"react": "^18.3.1 || ^19.0.0",
"react-dom": "^18.3.1 || ^19.0.0"
},
"devDependencies": {
"@axe-core/playwright": "^4.13.0",
"@eslint/js": "^10.0.1",
"@playwright/test": "^1.64.0",
"@testing-library/jest-dom": "^6.6.3",
"@testing-library/react": "^16.1.0",
"@types/node": "^22.20.5",
"@types/react": "^18.3.12",
"@types/react-dom": "^18.3.1",
"eslint": "^10.12.0",
"eslint-plugin-react-hooks": "^7.1.1",
"jsdom": "^25.0.1",
"prettier": "^3.9.10",
"react": "^18.3.1",
"react-dom": "^18.3.1",
"tsup": "^8.3.5",
"typescript": "^5.7.2",
"typescript-eslint": "^8.71.1",
"vite": "^7.3.7",
"vitest": "^4.1.12"
},
"keywords": [
"accessibility",
"a11y",
"react",
"widget",
"plugin",
"font-size",
"contrast",
"grayscale",
"invert-colors"
],
"author": "Praboth Charith",
"license": "ISC",
"repository": {
"type": "git",
"url": "git+https://github.com/prabothcharith/accessibility-plugin-react.git"
},
"sideEffects": [
"**/*.css"
],
"engines": {
"node": ">=22.13"
},
"homepage": "https://github.com/prabothcharith/accessibility-plugin-react#readme",
"bugs": {
"url": "https://github.com/prabothcharith/accessibility-plugin-react/issues"
},
"publishConfig": {
"registry": "https://registry.npmjs.org/",
"access": "public",
"tag": "latest"
}
}