-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
135 lines (135 loc) · 3.83 KB
/
package.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
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
{
"name": "portfolio",
"version": "0.1.0",
"private": true,
"dependencies": {
"@reduxjs/toolkit": "1.4.0",
"@testing-library/jest-dom": "5.11.4",
"@testing-library/react": "11.0.2",
"@types/fontfaceobserver": "0.0.6",
"@types/jest": "25.1.4",
"@types/node": "14.6.4",
"@types/react": "16.9.49",
"@types/react-dom": "16.9.8",
"@types/react-redux": "7.1.9",
"@types/react-router-dom": "5.1.5",
"@types/react-test-renderer": "16.9.3",
"@types/rimraf": "3.0.0",
"@types/shelljs": "0.8.8",
"@types/styled-components": "5.1.3",
"@types/testing-library__jest-dom": "5.9.2",
"@types/webpack": "4.41.22",
"@types/webpack-env": "1.15.2",
"axios": "0.21.0",
"bootstrap": "4.5.3",
"chalk": "4.1.0",
"chart.js": "2.9.4",
"cross-env": "7.0.2",
"eslint-config-prettier": "6.11.0",
"eslint-plugin-prettier": "3.1.4",
"eslint-plugin-react-hooks": "4.1.0",
"fontfaceobserver": "2.1.0",
"husky": "4.2.5",
"i18next": "19.7.0",
"i18next-browser-languagedetector": "6.0.1",
"i18next-scanner": "2.11.0",
"jest-styled-components": "7.0.3",
"lint-staged": "10.3.0",
"node-plop": "0.26.2",
"plop": "2.7.4",
"prettier": "2.1.1",
"react": "16.13.1",
"react-animations": "1.0.0",
"react-app-polyfill": "1.0.6",
"react-awesome-slider": "4.1.0",
"react-bootstrap": "1.4.0",
"react-chartjs-2": "2.11.1",
"react-dom": "16.13.1",
"react-helmet-async": "1.0.6",
"react-i18next": "11.7.2",
"react-icons": "4.1.0",
"react-particles-js": "3.4.1",
"react-redux": "7.2.1",
"react-router-dom": "5.2.0",
"react-scripts": "4.0.1",
"react-test-renderer": "16.13.1",
"redux-injectors": "1.3.0",
"redux-saga": "1.1.3",
"rimraf": "3.0.2",
"sanitize.css": "12.0.1",
"serve": "11.3.2",
"shelljs": "0.8.4",
"styled-components": "5.1.0",
"stylelint": "13.7.0",
"stylelint-config-recommended": "3.0.0",
"stylelint-config-styled-components": "0.1.1",
"stylelint-processor-styled-components": "1.10.0",
"ts-node": "9.0.0",
"typescript": "4.0.5",
"web-vitals": "0.2.4"
},
"scripts": {
"start": "react-scripts start",
"build": "react-scripts build",
"test": "react-scripts test",
"eject": "react-scripts eject",
"test:generators": "ts-node --project=./internals/ts-node.tsconfig.json ./internals/testing/test-generators.ts",
"start:prod": "npm run build && serve -s build",
"checkTs": "tsc --noEmit",
"eslint": "eslint --ext js,ts,tsx",
"lint": "npm run eslint src",
"lint:fix": "npm run eslint --fix src",
"lint:css": "stylelint src/**/*.css",
"generate": "cross-env TS_NODE_PROJECT='./internals/ts-node.tsconfig.json' plop --plopfile internals/generators/plopfile.ts",
"prettify": "prettier --write",
"extract-messages": "i18next-scanner --config=internals/extractMessages/i18next-scanner.config.js"
},
"browserslist": {
"production": [
">0.2%",
"not dead",
"not op_mini all"
],
"development": [
"last 1 chrome version",
"last 1 firefox version",
"last 1 safari version"
]
},
"engines": {
"npm": ">=6.4.1",
"node": ">=10.13.0"
},
"lint-staged": {
"*.{ts,tsx,js,jsx}": [
"npm run eslint --fix"
],
"*.{md,json}": [
"prettier --write"
]
},
"husky": {
"hooks": {
"pre-commit": "npm run checkTs && lint-staged"
}
},
"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",
"!src/serviceWorker.ts"
],
"coverageThreshold": {
"global": {
"branches": 90,
"functions": 90,
"lines": 90,
"statements": 90
}
}
}
}