-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
88 lines (88 loc) · 2.23 KB
/
Copy pathpackage.json
File metadata and controls
88 lines (88 loc) · 2.23 KB
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
{
"name": "chrome-extension-react-typescript-starter",
"version": "0.1.0",
"private": true,
"dependencies": {
"@tailwindcss/vite": "^4.0.14",
"@testing-library/user-event": "^13.5.0",
"@types/node": "^20.0.0",
"@types/react": "^18.0.27",
"@types/react-dom": "^18.0.10",
"autoprefixer": "^10.4.21",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"tailwindcss": "^4.0.14",
"typescript": "^4.9.4",
"web-vitals": "^2.1.4"
},
"scripts": {
"dev": "vite",
"build": "tsc && vite build",
"preview": "vite preview",
"test": "jest --watchAll --detectOpenHandles",
"coverage": "jest --coverage"
},
"devDependencies": {
"@babel/core": "^7.24.0",
"@babel/plugin-proposal-private-property-in-object": "^7.21.11",
"@babel/plugin-transform-runtime": "^7.24.0",
"@babel/preset-env": "^7.24.0",
"@babel/preset-react": "^7.23.3",
"@babel/preset-typescript": "^7.23.3",
"@tailwindcss/postcss": "^4.0.14",
"@testing-library/jest-dom": "^6.4.2",
"@testing-library/react": "^14.2.1",
"@types/chrome": "^0.0.263",
"@types/jest": "^29.5.12",
"@types/sinon-chrome": "^2.2.15",
"@vitejs/plugin-react": "^4.2.1",
"babel-jest": "^29.7.0",
"jest": "^29.7.0",
"jest-environment-jsdom": "^29.7.0",
"jest-sinon": "^1.1.0",
"sinon": "^17.0.1",
"sinon-chrome": "^3.0.1",
"ts-jest": "^29.1.2",
"vite": "^5.0.10"
},
"babel": {
"presets": [
"@babel/preset-env",
"@babel/preset-react",
"@babel/preset-typescript"
],
"plugins": [
"@babel/plugin-transform-runtime"
]
},
"jest": {
"preset": "ts-jest",
"testEnvironment": "jsdom",
"setupFilesAfterEnv": [
"<rootDir>/src/setupTests.ts"
],
"transform": {
"^.+\\.(js|jsx|ts|tsx)$": "ts-jest",
"^.+\\.css$": "<rootDir>/src/__mocks__/styleMock.js"
},
"moduleNameMapper": {
"\\.(css|less)$": "<rootDir>/src/__mocks__/styleMock.js"
},
"coverageReporters": [
"text",
"html"
],
"testMatch": [
"**/__tests__/**/*.[jt]s?(x)",
"**/?(*.)+(spec|test).[jt]s?(x)"
],
"moduleFileExtensions": [
"ts",
"tsx",
"js",
"jsx",
"json",
"node"
]
}
}