-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathpackage.json
76 lines (76 loc) · 2.46 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
{
"name": "webapp-baseline",
"version": "0.0.1",
"description": "Baseline for creating React+Typescript web apps",
"main": "index.tsx",
"type": "module",
"license": "Apache-2.0",
"private": true,
"scripts": {
"start": "vite",
"build": "vite build --mode production",
"build:ci": "npm run build",
"preview": "vite preview",
"test": "vitest run --coverage",
"test:vitest": "vitest run --coverage",
"test:watch": "vitest",
"test:e2e": "playwright test",
"test:e2e:ui": "playwright test --ui",
"test:e2e:ci": "CI=true playwright test",
"test:e2e:docker": "DOCKER=true playwright test",
"test:e2e:docker:update-snapshots": "DOCKER=true playwright test --update-snapshots",
"playwright:clear-cache": "rm -rf playwright/.cache",
"test:component": "npm run playwright:clear-cache && playwright test -c playwright-ct.config.ts",
"test:component:docker": "npm ci && npm run playwright:clear-cache && playwright test -c playwright-ct.config.ts",
"posttest:component": "npm run playwright:clear-cache",
"test:component:ci": "CI=true npm run test:component",
"test:component:update-snapshots": "npm run playwright:clear-cache && playwright test -c playwright-ct.config.ts --update-snapshots",
"lint": "eslint src",
"lint:fix": "eslint --fix ."
},
"dependencies": {
"react": "18.3.1",
"react-dom": "18.3.1",
"react-router-dom": "6.29.0"
},
"devDependencies": {
"@eslint/js": "9.21.0",
"@playwright/experimental-ct-react": "1.50.1",
"@playwright/test": "1.50.1",
"@types/eslint__js": "8.42.3",
"@types/node": "22.13.5",
"@types/react": "18.3.18",
"@types/react-dom": "18.3.5",
"@types/react-router-dom": "5.3.3",
"@vitejs/plugin-react": "4.3.4",
"@vitest/coverage-istanbul": "2.1.8",
"eslint": "9.21.0",
"eslint-config-prettier": "9.1.0",
"eslint-plugin-prettier": "5.2.3",
"eslint-plugin-react": "7.37.4",
"eslint-plugin-react-hooks": "5.1.0",
"prettier": "3.5.1",
"typescript": "5.7.3",
"typescript-eslint": "8.24.1",
"vite": "5.4.14",
"vite-plugin-checker": "0.9.0",
"vitest": "2.1.8"
},
"browserslist": {
"production": [
"defaults"
],
"development": [
"last 2 chrome version",
"last 2 firefox version",
"last 2 safari version"
]
},
"prettier": {
"trailingComma": "all",
"singleQuote": true,
"semi": false,
"bracketSpacing": false,
"arrowParens": "always"
}
}