-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpackage.json
54 lines (54 loc) · 1.34 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
{
"name": "msw-cypress",
"private": true,
"version": "1.0.0",
"type": "module",
"description": "Example of using MSW within Cypress",
"keywords": [
"vite",
"vitest",
"react",
"typescript",
"msw",
"cypress"
],
"scripts": {
"dev": "vite",
"build": "tsc && vite build",
"cypress": "cypress open",
"lint": "eslint src --ext ts,tsx --report-unused-disable-directives --max-warnings 0",
"preview": "vite preview",
"test": "vitest --run",
"test:ci": "vitest run --coverage",
"test:ui": "vitest --ui --coverage"
},
"repository": {
"type": "git",
"url": "https://github.com/abrahamgr/msw-cypress"
},
"dependencies": {
"react": "^18.2.0",
"react-dom": "^18.2.0"
},
"devDependencies": {
"@testing-library/react": "^14.0.0",
"@types/react": "^18.0.37",
"@types/react-dom": "^18.0.11",
"@typescript-eslint/eslint-plugin": "^5.59.0",
"@typescript-eslint/parser": "^5.59.0",
"@vitejs/plugin-react": "^4.0.0",
"@vitest/coverage-v8": "^0.32.2",
"@vitest/ui": "^0.32.2",
"cypress": "^12.16.0",
"eslint": "^8.38.0",
"eslint-plugin-react-hooks": "^4.6.0",
"eslint-plugin-react-refresh": "^0.3.4",
"jsdom": "^22.1.0",
"msw": "^1.2.2",
"typescript": "^5.0.2",
"vite": "^4.3.9"
},
"msw": {
"workerDirectory": "public"
}
}