-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
91 lines (91 loc) · 2.38 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
{
"name": "cicd-demo",
"version": "0.0.0",
"license": "MIT",
"scripts": {
"dev": "vite",
"build": "tsc && vite build",
"preview": "vite preview",
"check-types": "tsc --pretty --noEmit",
"check-lint": "eslint 'src/**/*.{js,jsx,ts,tsx}'",
"test": "yarn run jest -env=jsdom",
"commit": "cz"
},
"dependencies": {
"react": "^17.0.2",
"react-dom": "^17.0.2"
},
"devDependencies": {
"@babel/core": "^7.16.12",
"@testing-library/dom": "^8.11.2",
"@testing-library/jest-dom": "^5.16.1",
"@testing-library/react": "^12.1.2",
"@testing-library/user-event": "^13.5.0",
"@types/react": "^17.0.33",
"@types/react-dom": "^17.0.10",
"@typescript-eslint/eslint-plugin": "^5.10.1",
"@typescript-eslint/parser": "^5.10.1",
"@vitejs/plugin-react": "^1.0.7",
"babel-eslint": "^10.1.0",
"babel-jest": "^27.4.6",
"babel-preset-react-app": "^10.0.1",
"cz-conventional-changelog": "^3.3.0",
"eslint": "^8.7.0",
"eslint-plugin-react": "^7.28.0",
"identity-obj-proxy": "^3.0.0",
"jest": "^27.4.7",
"jest-circus": "^27.4.6",
"jest-scss-transform": "^1.0.1",
"jest-watch-typeahead": "^1.0.0",
"typescript": "^4.4.4",
"vite": "^2.7.2"
},
"jest": {
"roots": [
"<rootDir>/src"
],
"setupFilesAfterEnv": [
"<rootDir>/jest/jest.setup.js"
],
"collectCoverageFrom": [
"src/**/*.{js,jsx,ts,tsx}",
"!src/**/*.d.ts"
],
"testMatch": [
"<rootDir>/src/**/__tests__/**/*.{js,jsx,ts,tsx}",
"<rootDir>/src/**/*.{spec,test}.{js,jsx,ts,tsx}"
],
"testEnvironment": "jsdom",
"transform": {
"^.+\\.(js|jsx|mjs|cjs|ts|tsx)$": "<rootDir>/node_modules/babel-jest",
"^.+\\.scss$": "jest-scss-transform",
"^.+\\.css$": "<rootDir>/jest/mocks/cssMock.js"
},
"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"
]
}
}
},
"config": {
"commitizen": {
"path": "./node_modules/cz-conventional-changelog"
}
}
}