-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
159 lines (159 loc) · 4.7 KB
/
package.json
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
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
{
"name": "@feedzai/react-a11y-tools",
"author": "Feedzai",
"version": "3.0.0",
"license": "MIT",
"main": "./dist/index.cjs",
"types": "./dist/index.d.ts",
"module": "./dist/index.mjs",
"files": [
"dist"
],
"scripts": {
"types:check": "tsc --project ./tsconfig.json --noEmit",
"build": "npm run types:check && vite build",
"format:fix": "npm run prettier:base -- --write 'src/**/*.{ts,tsx,js,jsx}'",
"lint": "eslint \"src/**/*.{ts,tsx,js,jsx}\" --fix",
"prettier:base": "prettier --parser typescript",
"postbuild": "npx size-limit",
"docs:install": "cd ./documentation && npm install",
"docs:start": "cd ./documentation && npm run start",
"docs:start-ci": "npm run docs:install && cd ./documentation && npm run start",
"docs:build": "npm run docs:install && cd ./documentation && npm run build",
"reinstall": "rm -rf node_modules && npm install",
"coverage:clean": "merge-coverage clear && merge-coverage clear --folder coverage",
"coverage:merge": "merge-coverage combine-coverage --tools cypress,vitest",
"coverage:combine-reports": "merge-coverage combine-reports",
"pretest": "npm run coverage:clean",
"test:unit": "vitest --ui",
"test:unit-watch": "vitest watch",
"test:unit-ci": "vitest run",
"test:component-open": "cypress open --component --browser chrome",
"test:component-run": "cypress run --component --browser chrome",
"test:e2e-open": "cypress open --e2e",
"test:e2e-run": "cypress run --e2e --browser chrome",
"test:e2e": "start-server-and-test docs:start-ci http://localhost:3000/react-a11y-tools/ 'npm run test:e2e-run'",
"test": "npm run test:unit-ci && npm run test:component-run && npm run test:e2e",
"posttest": "npm run coverage:merge && npm run coverage:combine-reports",
"test:ci": "npm run test:unit-ci && npm run test:component-run && npm run test:e2e",
"check-updates": "npx npm-check-updates --format group --interactive",
"semantic-release": "semantic-release"
},
"peerDependencies": {
"@feedzai/js-utilities": "^1.4.2",
"react": ">=17.0.2",
"react-dom": ">=17.0.2"
},
"repository": {
"type": "git",
"url": "https://github.com/feedzai/react-a11y-tools.git"
},
"devDependencies": {
"@cypress/code-coverage": "3.12.41",
"@feedzai/js-utilities": "^1.4.2",
"@jtmdias/merge-coverage": "^1.1.1",
"@semantic-release/changelog": "^6.0.3",
"@semantic-release/commit-analyzer": "^11.1.0",
"@semantic-release/git": "^10.0.1",
"@semantic-release/github": "^9.2.6",
"@semantic-release/npm": "^11.0.2",
"@semantic-release/release-notes-generator": "^12.1.0",
"@size-limit/preset-small-lib": "11.1.4",
"@testing-library/cypress": "10.0.2",
"@testing-library/jest-dom": "6.4.6",
"@testing-library/react": "16.0.0",
"@types/jsdom": "16.2.13",
"@types/node": "20.14.10",
"@types/react": "18.3.3",
"@types/react-dom": "18.3.0",
"@typescript-eslint/eslint-plugin": "7.16.0",
"@typescript-eslint/parser": "7.16.0",
"@vitejs/plugin-react-swc": "^3.7.0",
"@vitest/coverage-istanbul": "^2.0.2",
"@vitest/ui": "^2.0.2",
"autoprefixer": "10.4.19",
"axe-core": "4.9.1",
"cypress": "13.13.0",
"cypress-axe": "1.5.0",
"cypress-multi-reporters": "1.6.4",
"cypress-real-events": "1.13.0",
"cypress-recurse": "1.35.3",
"eslint": "8.56.0",
"eslint-config-prettier": "9.1.0",
"eslint-import-resolver-typescript": "3.6.1",
"eslint-plugin-cypress": "2.15.1",
"eslint-plugin-import": "2.29.1",
"eslint-plugin-jsx-a11y": "6.9.0",
"eslint-plugin-prettier": "4.0.0",
"eslint-plugin-react": "7.34.3",
"eslint-plugin-react-hooks": "4.6.2",
"husky": "7.0.4",
"jsdom": "^24.1.0",
"lint-staged": "11.2.3",
"postcss": "^8.4.39",
"prettier": "3.3.2",
"react": "^18.3.1",
"react-dom": "^18.3.1",
"react-is": "18.3.1",
"react-router": "^6.24.1",
"react-router-dom": "^6.24.1",
"sass": "1.77.8",
"semantic-release": "^22.0.12",
"size-limit": "11.1.4",
"start-server-and-test": "2.0.4",
"typescript": "5.5.3",
"vite": "^5.3.3",
"vite-plugin-dts": "^3.9.1",
"vite-plugin-istanbul": "5.0.0",
"vite-tsconfig-paths": "^4.3.2",
"vitest": "^2.0.2"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"*.{js,jsx,ts,tsx,html}": [
"npm run format:fix",
"npm run lint"
]
},
"size-limit": [
{
"path": "dist/index.cjs",
"limit": "15 kB",
"ignore": [
"fs"
]
},
{
"path": "dist/index.mjs",
"limit": "15 kB",
"ignore": [
"fs"
]
}
],
"nyc": {
"all": true,
"report-dir": "coverage-reports/cypress",
"reporter": [
"lcov",
"json"
],
"check-coverage": true,
"watermarks": {
"statements": 80,
"branches": 70,
"functions": 80,
"lines": 80
},
"include": [
"src/**/*"
]
},
"dependencies": {
"focus-trap-react": "^10.2.3"
}
}