-
Notifications
You must be signed in to change notification settings - Fork 4
/
package.json
85 lines (85 loc) · 2.66 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
{
"name": "a11y-visualizer",
"private": true,
"version": "5.4.2",
"type": "module",
"scripts": {
"dev": "vite",
"dev:firefox": "vite --config vite.firefox.config.ts",
"build": "run-p build:*",
"build:firefox": "tsc && vite build --config vite.firefox.config.ts",
"build:chrome": "tsc && vite build",
"clean": "run-p clean:*",
"clean:firefox": "rm -rf dist-firefox",
"clean:chrome": "rm -rf dist",
"zip": "run-p zip:*",
"zip:firefox": "cd dist-firefox && zip -r ../a11y-visualizer-firefox.zip *",
"zip:chrome": "cd dist && zip -r ../a11y-visualizer-chrome.zip *",
"package": "run-s clean build zip",
"lint": "run-s lint:*",
"lint:eslint": "eslint . --ext ts,tsx --report-unused-disable-directives --max-warnings 0",
"lint:prettier": "prettier --check .",
"lint:html": "markuplint src/**/*.html src/**/*.tsx",
"format": "prettier --write .",
"release": "tsx scripts/release.ts",
"preview": "vite preview",
"prepare": "husky",
"test": "run-p test:*",
"test:chromium": "vitest run --browser chromium",
"test:firefox": "vitest run --browser firefox",
"test-watch": "run-p test-watch:*",
"test-watch:chromium": "vitest --browser chromium",
"test-watch:firefox": "vitest --browser firefox"
},
"dependencies": {
"dom-accessibility-api": "^0.6.3",
"i18next": "^23.10.1",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react-i18next": "^14.1.0",
"react-icons": "^5.0.1",
"react-shadow": "^20.4.0"
},
"devDependencies": {
"@crxjs/vite-plugin": "^2.0.0-beta.26",
"@markuplint/jsx-parser": "^4.7.2",
"@markuplint/react-spec": "^4.5.2",
"@types/chrome": "^0.0.265",
"@types/jsdom": "^21.1.6",
"@types/react": "^18.2.66",
"@types/react-dom": "^18.2.22",
"@types/semver": "^7.5.8",
"@typescript-eslint/eslint-plugin": "^7.2.0",
"@typescript-eslint/parser": "^7.2.0",
"@vitejs/plugin-react": "^4.2.1",
"@vitest/browser": "^1.6.0",
"autoprefixer": "^10.4.19",
"eslint": "^8.57.0",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-react-hooks": "^4.6.0",
"eslint-plugin-react-refresh": "^0.4.6",
"husky": "^9.0.11",
"jsdom": "^24.0.0",
"lint-staged": "^15.2.2",
"markuplint": "^4.8.1",
"npm-run-all": "^4.1.5",
"playwright": "^1.45.1",
"postcss": "^8.4.38",
"prettier": "3.2.5",
"semver": "^7.6.0",
"tailwindcss": "^3.4.3",
"tsx": "^4.7.2",
"typescript": "^5.2.2",
"vite": "^5.2.0",
"vitest": "^1.5.2"
},
"lint-staged": {
"*.{ts,tsx}": [
"prettier --write",
"eslint"
],
"*.{md,json,yml,html,css}": [
"prettier --write"
]
}
}