generated from jhayworthg/vite-react-starter
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
95 lines (95 loc) · 2.57 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
{
"name": "vite-react-starter",
"version": "0.0.0",
"homepage": "./",
"description": "Starter template for react and typescript projects using vite",
"main": "index.js",
"author": "",
"license": "ISC",
"scripts": {
"dev": "vite",
"build": "tsc && vite build",
"serve": "vite preview"
},
"dependencies": {
"react": "^17.0.0",
"react-dom": "^17.0.0",
"react-router-dom": "^6.2.1"
},
"devDependencies": {
"@babel/core": "^7.13.8",
"@testing-library/dom": "^8.11.1",
"@testing-library/jest-dom": "^5.16.1",
"@testing-library/react": "^12.1.2",
"@testing-library/user-event": "^13.5.0",
"@types/jest": "^22.2.3",
"@types/lodash": "^4.14.108",
"@types/node": "^12.12.2",
"@types/react": "^16.8.24",
"@types/react-dom": "^17.0.0",
"@types/react-router-dom": "^4.2.6",
"@typescript-eslint/eslint-plugin": "^5.7.0",
"@typescript-eslint/parser": "^5.7.0",
"@vitejs/plugin-react-refresh": "^1.3.6",
"babel-eslint": "^10.1.0",
"babel-jest": "^27.4.5",
"eslint": "^8.5.0",
"eslint-config-prettier": "^8.3.0",
"eslint-plugin-import": "^2.25.3",
"eslint-plugin-jsx-a11y": "^6.5.1",
"eslint-plugin-prettier": "^4.0.0",
"eslint-plugin-react": "^7.27.1",
"eslint-plugin-react-hooks": "^4.3.0",
"eslint-plugin-simple-import-sort": "^7.0.0",
"identity-obj-proxy": "^3.0.0",
"jest": "^27.4.5",
"jest-circus": "^27.4.5",
"jest-environment-jsdom": "^27.4.4",
"jest-watch-typeahead": "^1.0.0",
"vite": "^2.7.3",
"vite-plugin-dts": "^0.9.6"
},
"jest": {
"roots": [
"<rootDir>/src",
"<rootDir>/lib",
"<rootDir>/tests"
],
"setupFilesAfterEnv": [
"<rootDir>/jest/mocks/jest.setup.js"
],
"collectCoverageForm": [
"lib/**/*.{js,jsx,ts,tsx}",
"!lib/**/*.d.ts"
],
"testMatch": [
"<rootDir>/tests/**/__tests__/**/*.{js,jsx,ts,tsx}",
"<rootDir>/tests/**/*.{spec,test}.{js,jsx,ts,tsx}"
],
"testEnvironment": "jsdom",
"transform": {
"^.+\\.(js|jsx|mjs|cjs|ts|tsx)$": "<rootDir>/node_modules/babel-jest"
},
"transformIgnorePatterns": [
"[/\\\\]node_modules[/\\\\].+\\.(js|jsx|mjs|cjs|ts|tsx)$",
"^.+\\.module\\.(css|sass|scss)$"
],
"moduleNameMapper": {
"^.+\\.module\\.(css|sass|scss)$": "identity-obj-proxy"
},
"watchPlugins": [
"jest-watch-typeahead/filename",
"jest-watch-typeahead/testname"
],
"resetMocks": true
},
"babel": {
"env": {
"test": {
"presets": [
"react-app"
]
}
}
}
}