Repository navigation
Expand file tree
/
Copy pathpackage.json
More file actions
104 lines (104 loc) · 2.8 KB
/
Copy pathpackage.json
File metadata and controls
104 lines (104 loc) · 2.8 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
{
"name": "@axe-core/react",
"version": "4.14.0",
"description": "Dynamic accessibility analysis for React using axe-core",
"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"
}
}
},
"files": [
"dist/after.js",
"dist/after.d.ts",
"dist/after.js.map",
"dist/cache.js",
"dist/cache.d.ts",
"dist/cache.js.map",
"dist/index.js",
"dist/index.mjs",
"dist/index.d.ts",
"dist/index.d.mts",
"dist/index.js.map"
],
"engines": {
"node": ">=22.12.0"
},
"scripts": {
"build": "tsup index.ts --dts --format esm,cjs",
"prepare": "pnpm run build",
"test": "tsc && pnpm run test:types && jest",
"test:export": "pnpm run test:esm && pnpm run test:commonjs && pnpm run test:ts",
"test:esm": "node test/esmTest.mjs",
"test:commonjs": "node test/commonjsTest.js",
"test:ts": "tsc --ignoreConfig test/tsTest.ts --noEmit --skipLibCheck --esModuleInterop",
"test:types": "cd test && tsc",
"lint:package": "pnpm run pack:lint && publint --strict ../../node_modules/.cache/package-lint/react.tgz",
"lint:types": "pnpm run pack:lint && attw ../../node_modules/.cache/package-lint/react.tgz",
"pack:lint": "pnpm pack --config.ignore-scripts=true --out ../../node_modules/.cache/package-lint/react.tgz"
},
"keywords": [
"accessibility",
"a11y",
"lint",
"test"
],
"contributors": [
{
"name": "Niklas Holmberg (@badtant)"
},
{
"name": "Dylan Barrell (dylan@barrell.com)"
},
{
"name": "Jennifer Stern (@junyper)"
},
{
"name": "Marcy Sutton (@marcysutton)"
},
{
"name": "Wilco Fiers (@wilcofiers)"
}
],
"author": "Dylan Barrell (dylan@barrell.com)",
"license": "MPL-2.0",
"dependencies": {
"axe-core": "~4.14.0",
"requestidlecallback": "^0.3.0"
},
"devDependencies": {
"@babel/core": "^7.19.3",
"@babel/preset-env": "^7.19.4",
"@babel/preset-react": "^7.18.6",
"@babel/preset-typescript": "^7.18.6",
"@types/react": "17.0.0",
"@types/react-dom": "17.0.0",
"@types/requestidlecallback": "^0.3.5",
"@wojtekmaj/enzyme-adapter-react-17": "^0.8.0",
"chai": "^4.3.6",
"enzyme": "^3.11.0",
"http-server": "^14.1.1",
"jest": "^30.0.5",
"jest-environment-jsdom": "^30.1.2",
"react": "17.0.2",
"react-dom": "17.0.2",
"react-shadow": "^20.4.0",
"sinon": "^22.0.0",
"ts-node": "^10.9.1",
"tsup": "^8.0.1",
"typescript": "^6.0.3"
},
"repository": {
"type": "git",
"url": "https://github.com/dequelabs/axe-core-npm.git"
}
}