-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
68 lines (68 loc) · 2.84 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
{
"name": "love-vite",
"private": true,
"version": "0.0.0",
"scripts": {
"dev": "vite",
"build": "npm run test:unit && vite build",
"build:production": "vite build --mode production",
"build:staging": "vite build --mode staging",
"build:test": "vite build --mode testing",
"build:development": "vite build --mode development",
"preview": "vite preview",
"test": "vitest",
"test:unit": "vitest run",
"test:coverage": "vitest run --coverage",
"test:ui": "vitest --ui",
"test:ci": "npm run test:unit",
"test:e2e": "npx playwright test",
"test:e2e:container": "docker run --rm --network host -v $(pwd):/work/ -w /work/ -it mcr.microsoft.com/playwright:v1.23.1-focal /bin/bash -c 'npm install; npx playwright test'",
"test:e2e:update-screenshots": "npx playwright test --update-snapshots",
"test:e2e:update-screenshots:container": "docker run --rm --network host -v $(pwd):/work/ -w /work/ -it mcr.microsoft.com/playwright:v1.23.1-focal /bin/bash -c 'npm install; npx playwright test --update-snapshots'",
"test:e2e:debug": "PWDEBUG=1 npx playwright test",
"test:e2e:debug:console": "PWDEBUG=console npx playwright test",
"test:e2e:debug:api": "PDEBUG=pw:api npx playwright test",
"test:e2e:debug:webserver": "DEBUG=pw:webserver npx playwright test",
"test:e2e:report": "npx playwright show-report",
"test:e2e:chromium": "npx playwright test --project=chromium",
"test:e2e:firefox": "npx playwright test --project=firefox",
"test:e2e:webkit": "npx playwright test --project=webkit",
"test:e2e:mobile-android": "npx playwright test --project='Mobile Chrome'",
"test:e2e:mobile-safari": "npx playwright test --project='Mobile Safari'",
"lint": "eslint --ignore-path .eslintignore -f junit -o reports/eslint-report.xml .",
"format": "prettier . --check"
},
"dependencies": {
"react": "^18.0.0",
"react-dom": "^18.0.0"
},
"devDependencies": {
"@playwright/test": "^1.22.2",
"@testing-library/jest-dom": "^5.16.4",
"@testing-library/react": "^13.1.1",
"@testing-library/user-event": "^14.1.1",
"@vitejs/plugin-react": "^1.3.0",
"@vitest/ui": "^0.15.0",
"autoprefixer": "^10.4.5",
"c8": "^7.11.3",
"dotenv": "^16.0.1",
"eslint": "^8.14.0",
"eslint-config-prettier": "^8.5.0",
"eslint-plugin-import": "^2.26.0",
"eslint-plugin-jest": "^26.1.5",
"eslint-plugin-jest-dom": "^4.0.2",
"eslint-plugin-prettier": "^4.0.0",
"eslint-plugin-react": "^7.29.4",
"eslint-plugin-react-hooks": "^4.5.0",
"eslint-plugin-security": "^1.5.0",
"eslint-plugin-testing-library": "^5.5.0",
"jsdom": "^19.0.0",
"postcss": "^8.4.12",
"prettier": "^2.6.2",
"prettier-plugin-tailwindcss": "^0.1.10",
"tailwindcss": "^3.0.24",
"vite": "^2.9.5",
"vite-plugin-eslint": "^1.6.0",
"vitest": "^0.15.0"
}
}