|
34 | 34 | "watch": "yarn webpack serve --progress --mode production",
|
35 | 35 | "lint": "eslint src --ext .js,.ts,.tsx --ignore-pattern '!.*.js'",
|
36 | 36 | "format": "yarn lint --fix",
|
| 37 | + "test": "jest", |
| 38 | + "test:watch": "jest --watchAll=true", |
| 39 | + "test:coverage": "rm -rf coverage && jest --coverage && open coverage/lcov-report/index.html", |
37 | 40 | "postinstall": "husky install"
|
38 | 41 | },
|
39 | 42 | "dependencies": {
|
| 43 | + "classcraft": "^1.0.1", |
40 | 44 | "i18next": "^21.9.2",
|
41 | 45 | "i18next-browser-languagedetector": "^6.1.5",
|
42 | 46 | "i18next-resources-to-backend": "^1.0.0",
|
|
53 | 57 | "@commitlint/cli": "^17.4.4",
|
54 | 58 | "@commitlint/config-conventional": "^17.4.4",
|
55 | 59 | "@svgr/webpack": "^6.5.1",
|
| 60 | + "@swc/core": "^1.4.2", |
| 61 | + "@swc/jest": "^0.2.36", |
| 62 | + "@testing-library/jest-dom": "^6.4.2", |
| 63 | + "@testing-library/react": "^14.2.1", |
56 | 64 | "@trivago/prettier-plugin-sort-imports": "^4.0.0",
|
| 65 | + "@types/jest": "^29.5.12", |
57 | 66 | "@types/node": "^18.11.18",
|
58 | 67 | "@types/react": "^18.0.27",
|
59 | 68 | "@types/react-dom": "^18.0.10",
|
|
76 | 85 | "file-loader": "^6.2.0",
|
77 | 86 | "html-webpack-plugin": "^5.5.0",
|
78 | 87 | "husky": "^8.0.0",
|
| 88 | + "jest": "^29.7.0", |
| 89 | + "jest-environment-jsdom": "^29.7.0", |
79 | 90 | "mini-css-extract-plugin": "^2.7.2",
|
80 | 91 | "postcss": "^8.4.31",
|
81 | 92 | "postcss-loader": "^7.0.2",
|
|
0 commit comments