-
Notifications
You must be signed in to change notification settings - Fork 394
/
template.json
executable file
·101 lines (100 loc) · 3.18 KB
/
template.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
92
93
94
95
96
97
98
99
100
101
{
"package": {
"engines": {
"node": ">=14.x"
},
"scripts": {
"start:prod": "yarn run build && serve -s build",
"test:generators": "ts-node ./internals/testing/generators/test-generators.ts",
"checkTs": "tsc --noEmit",
"eslint": "eslint --ext js,ts,tsx",
"lint": "yarn run eslint src",
"lint:fix": "yarn run eslint --fix src",
"lint:css": "stylelint src/**/*.css",
"generate": "plop --plopfile internals/generators/plopfile.ts",
"cleanAndSetup": "ts-node ./internals/scripts/clean.ts",
"prettify": "prettier --write",
"extract-messages": "i18next-scanner --config=internals/extractMessages/i18next-scanner.config.js"
},
"lint-staged": {
"*.{ts,tsx,js,jsx}": ["yarn run eslint --fix"],
"*.{md,json}": ["prettier --write"]
},
"jest": {
"collectCoverageFrom": [
"src/**/*.{js,jsx,ts,tsx}",
"!src/**/*/*.d.ts",
"!src/**/*/Loadable.{js,jsx,ts,tsx}",
"!src/**/*/messages.ts",
"!src/**/*/types.ts",
"!src/index.tsx"
],
"coverageThreshold": {
"global": {
"branches": 90,
"functions": 90,
"lines": 90,
"statements": 90
}
}
},
"dependencies": {
"@reduxjs/toolkit": "1.8.5",
"fontfaceobserver": "2.3.0",
"i18next": "21.9.2",
"i18next-browser-languagedetector": "6.1.5",
"react": "18.2.0",
"react-app-polyfill": "3.0.0",
"react-dom": "18.2.0",
"react-helmet-async": "1.3.0",
"react-i18next": "11.18.6",
"react-is": "18.2.0",
"react-redux": "7.2.8",
"react-router-dom": "6.3.0",
"redux-injectors": "1.3.0",
"redux-saga": "1.2.1",
"sanitize.css": "13.0.0",
"styled-components": "5.3.5",
"web-vitals": "2.1.4",
"@testing-library/jest-dom": "5.16.5",
"@testing-library/react": "13.4.0",
"@types/fontfaceobserver": "^2.1.0",
"@types/jest": "^27.5.2",
"@types/node": "^14.18.27",
"@types/react": "^18.0.20",
"@types/react-dom": "^18.0.6",
"@types/react-redux": "^7.1.24",
"@types/react-test-renderer": "^18.0.0",
"@types/rimraf": "^3.0.2",
"@types/shelljs": "^0.8.11",
"@types/styled-components": "^5.1.26",
"@types/testing-library__jest-dom": "^5.14.5",
"@types/webpack": "^5.28.0",
"@types/webpack-env": "^1.18.0",
"chalk": "4.1.2",
"cross-env": "7.0.3",
"eslint-config-prettier": "8.5.0",
"eslint-plugin-prettier": "4.2.1",
"eslint-plugin-react-hooks": "4.6.0",
"husky": "8.0.1",
"i18next-scanner": "4.0.0",
"inquirer": "7.3.3",
"inquirer-directory": "2.2.0",
"jest-styled-components": "7.1.1",
"lint-staged": "13.0.3",
"node-plop": "0.26.3",
"plop": "2.7.6",
"prettier": "2.7.1",
"react-test-renderer": "18.2.0",
"rimraf": "3.0.2",
"serve": "14.0.1",
"shelljs": "0.8.5",
"stylelint": "14.12.0",
"stylelint-config-recommended": "9.0.0",
"stylelint-config-styled-components": "0.1.1",
"stylelint-processor-styled-components": "1.10.0",
"ts-node": "10.9.1",
"typescript": "4.6.4"
}
}
}