Repository navigation
Expand file tree
/
Copy pathpackage.json
More file actions
107 lines (107 loc) · 2.68 KB
/
Copy pathpackage.json
File metadata and controls
107 lines (107 loc) · 2.68 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
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
{
"name": "cudly-frontend",
"version": "1.0.0",
"description": "CUDly Cloud Commitment Optimizer Dashboard",
"private": true,
"scripts": {
"build": "webpack --mode production",
"build:dev": "webpack --mode development",
"watch": "webpack --mode development --watch",
"test": "jest --coverage",
"test:watch": "jest --watch",
"test:e2e": "playwright test",
"test:e2e:install": "playwright install --with-deps chromium",
"lint": "eslint src/**/*.ts",
"typecheck": "tsc --noEmit",
"clean": "rm -rf dist"
},
"devDependencies": {
"@babel/core": "7.29.7",
"@babel/preset-env": "7.28.5",
"@babel/preset-typescript": "7.28.5",
"@testing-library/dom": "9.3.4",
"@testing-library/jest-dom": "6.9.1",
"@types/chart.js": "2.9.41",
"@types/jest": "30.0.0",
"@types/jsdom": "21.1.7",
"@playwright/test": "^1.60.0",
"@typescript-eslint/eslint-plugin": "8.62.1",
"@typescript-eslint/parser": "8.62.1",
"@ungap/structured-clone": "1.3.1",
"babel-loader": "9.2.1",
"copy-webpack-plugin": "14.0.0",
"css-loader": "6.11.0",
"css-minimizer-webpack-plugin": "8.0.0",
"eslint": "8.57.1",
"html-webpack-plugin": "5.6.5",
"jest": "30.5.2",
"jest-environment-jsdom": "30.5.2",
"jsdom": "22.1.0",
"mini-css-extract-plugin": "2.9.4",
"serve": "^14.2.6",
"style-loader": "3.3.4",
"ts-jest": "29.4.6",
"ts-loader": "9.6.2",
"typescript": "5.9.3",
"webpack": "5.108.3",
"webpack-cli": "5.1.4"
},
"dependencies": {
"@types/qrcode": "1.5.6",
"chart.js": "4.5.1",
"qrcode": "1.5.4"
},
"overrides": {
"brace-expansion": "^5.0.8",
"compression": "^1.8.2"
},
"jest": {
"preset": "ts-jest",
"testEnvironment": "jsdom",
"setupFilesAfterEnv": [
"<rootDir>/src/__tests__/setup.ts"
],
"testMatch": [
"**/__tests__/**/*.test.ts"
],
"testPathIgnorePatterns": [
"/node_modules/",
"/src/__tests__/setup.ts",
"/src/__tests__/mocks/",
"/tests-e2e/"
],
"moduleNameMapper": {
"\\.(css|less|scss|sass)$": "<rootDir>/src/__tests__/mocks/styleMock.ts"
},
"collectCoverageFrom": [
"src/**/*.ts",
"!src/__tests__/**",
"!src/**/*.d.ts",
"!tests-e2e/**"
],
"coverageDirectory": "coverage",
"coverageThreshold": {
"global": {
"branches": 20,
"functions": 20,
"lines": 20,
"statements": 20
}
},
"transform": {
"^.+\\.tsx?$": "ts-jest"
},
"moduleFileExtensions": [
"ts",
"tsx",
"js",
"jsx",
"json"
]
},
"browserslist": [
"> 1%",
"last 2 versions",
"not dead"
]
}