-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
103 lines (103 loc) · 2.86 KB
/
Copy pathpackage.json
File metadata and controls
103 lines (103 loc) · 2.86 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
{
"name": "@jtmdias/react-a11y-tools",
"description": "A small React component library that aims to ease the process of creating accessible design systems, web apps or websites",
"private": false,
"version": "3.1.0",
"engines": {
"node": ">= 20",
"npm": ">= 10"
},
"author": {
"name": "João Dias",
"url": "https://joaodias.me"
},
"homepage": "https://github.com/JoaoTMDias/frontend/tree/main/packages/react-a11y-tools",
"type": "module",
"main": "./dist/index.cjs",
"module": "./dist/index.mjs",
"types": "./dist/index.d.ts",
"exports": {
".": {
"import": "./dist/index.mjs",
"require": "./dist/index.cjs"
}
},
"files": [
"dist"
],
"scripts": {
"types:check": "tsc --project ./tsconfig.json --noEmit",
"build": "npm run types:check && vite build",
"postbuild": "npm run bundle-size",
"pretest": "merge-coverage clear && merge-coverage clear --folder coverage-reports/cypress && merge-coverage clear --folder coverage || true",
"test:open": "cypress open --component",
"test:run": "cypress run --component",
"test:integration-open": "cypress open --e2e",
"test:integration-run": "cypress run --e2e",
"docs:start": "node ./scripts/documentation.mjs",
"test:integration": "start-server-and-test docs:start http://localhost:3000/frontend/ 'npm run test:integration-run'",
"test": "npm run test:integration && npm run test:run",
"bundle-size": "size-limit",
"reinstall": "rimraf node_modules && npm install"
},
"peerDependencies": {
"react": ">= 18",
"react-dom": ">= 18"
},
"dependencies": {
"@jtmdias/js-utilities": "*",
"focus-trap-react": "^11.0.3"
},
"devDependencies": {
"@cypress/code-coverage": "^3.13.11",
"@jtmdias/merge-coverage": "*",
"@size-limit/preset-small-lib": "^11.1.6",
"@testing-library/cypress": "^10.0.3",
"@types/react": "^18.2.56",
"@types/react-dom": "^18.2.19",
"@typescript-eslint/eslint-plugin": "^7.0.2",
"@typescript-eslint/parser": "^7.0.2",
"@vitejs/plugin-react-swc": "^3.7.2",
"axe-core": "^4.10.2",
"cypress": "^13.6.6",
"cypress-axe": "^1.6.0",
"cypress-multi-reporters": "^1.6.4",
"cypress-real-events": "^1.14.0",
"cypress-recurse": "^1.35.3",
"eslint": "^8.56.0",
"eslint-plugin-react-hooks": "^4.6.0",
"eslint-plugin-react-refresh": "^0.4.18",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react-router-dom": "5.3.4",
"sass": "^1.83.4",
"size-limit": "^11.1.6",
"start-server-and-test": "2.0.10",
"ts-node": "^10.9.2",
"typescript": "^5.7.3",
"vite": "^6.0.11",
"vite-plugin-dts": "^4.5.0",
"vite-plugin-istanbul": "^6.0.2",
"vite-tsconfig-paths": "^5.1.4"
},
"repository": {
"type": "git",
"url": "https://github.com/JoaoTMDias/react-a11y-tools.git"
},
"size-limit": [
{
"path": "dist/index.cjs",
"limit": "15kB",
"ignore": [
"fs"
]
},
{
"path": "dist/index.mjs",
"limit": "15 kB",
"ignore": [
"fs"
]
}
]
}