Repository navigation
Expand file tree
/
Copy pathpackage.json
More file actions
110 lines (110 loc) · 2.83 KB
/
Copy pathpackage.json
File metadata and controls
110 lines (110 loc) · 2.83 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
108
109
110
{
"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' 'tests-e2e/**/*.ts' playwright.config.ts",
"typecheck": "tsc --noEmit",
"clean": "rm -rf dist"
},
"devDependencies": {
"@babel/core": "8.1.0",
"@babel/preset-env": "8.0.7",
"@babel/preset-typescript": "8.0.7",
"@playwright/test": "^1.64.1",
"@testing-library/dom": "10.4.2",
"@testing-library/jest-dom": "7.0.1",
"@types/jest": "30.0.0",
"@types/jsdom": "30.0.0",
"@types/qrcode": "1.5.6",
"@typescript-eslint/eslint-plugin": "8.72.1",
"@typescript-eslint/parser": "8.72.1",
"@ungap/structured-clone": "1.4.0",
"babel-loader": "10.1.1",
"copy-webpack-plugin": "14.0.0",
"css-loader": "7.1.5",
"css-minimizer-webpack-plugin": "8.0.0",
"eslint": "10.14.0",
"globals": "17.14.0",
"html-webpack-plugin": "5.6.8",
"jest": "30.5.2",
"jest-environment-jsdom": "30.5.2",
"jsdom": "30.1.3",
"mini-css-extract-plugin": "2.10.2",
"serve": "^14.2.8",
"style-loader": "4.0.0",
"ts-jest": "29.4.15",
"ts-loader": "9.6.2",
"typescript": "6.0.3",
"webpack": "5.112.2",
"webpack-cli": "7.3.1"
},
"dependencies": {
"chart.js": "4.6.1",
"qrcode": "1.5.4"
},
"overrides": {
"brace-expansion": "^5.0.8",
"babel-preset-current-node-syntax": {
"@babel/core": "$@babel/core"
}
},
"jest": {
"preset": "ts-jest",
"testEnvironment": "jsdom",
"globalSetup": "<rootDir>/src/__tests__/globalSetup.ts",
"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"
]
}