-
Notifications
You must be signed in to change notification settings - Fork 45
/
Copy pathpackage.json
156 lines (156 loc) · 4.67 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
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
{
"name": "Nebraska",
"version": "0.1.0",
"license": {
"type": "Apache-2.0",
"url": "http://www.apache.org/licenses/LICENSE-2.0"
},
"description": "Nebraska is an update manager for Flatcar Container Linux.",
"author": "Kinvolk GmbH <[email protected]>",
"repository": "https://github.com/kinvolk/nebraska",
"private": true,
"dependencies": {
"@material-ui/core": "^4.7.2",
"@material-ui/icons": "^4.5.1",
"@reduxjs/toolkit": "^1.6.0",
"@testing-library/jest-dom": "^5.14.1",
"@testing-library/react": "^12.0.0",
"@types/dompurify": "^2.2.1",
"@types/node": "^14.17.4",
"@types/pubsub-js": "^1.8.2",
"@types/react": "^17.0.13",
"@types/react-color": "^3.0.4",
"@types/react-dom": "^17.0.8",
"@types/react-window": "^1.8.2",
"@types/semver": "^7.3.6",
"@types/yup": "^0.29.12",
"cross-env": "^7.0.3",
"dompurify": "^2.2.9",
"downshift": "^6.1.3",
"formik": "^2.2.9",
"formik-material-ui": "^3.0.1",
"i18next": "^20.3.2",
"i18next-browser-languagedetector": "^6.1.2",
"jwt-decode": "^3.1.2",
"moment-timezone": "^0.5.38",
"prop-types": "^15.7.2",
"pubsub-js": "^1.9.3",
"react": "^17.0.2",
"react-color": "^2.17.3",
"react-dom": "^17.0.2",
"react-i18next": "^11.11.0",
"react-redux": "^7.2.4",
"react-router-dom": "^5.1.2",
"react-scripts": "^4.0.0",
"react-window": "^1.8.5",
"recharts": "^2.0.9",
"semver": "^7.3.5",
"typescript": "^4.3.5",
"underscore": "^1.13.1",
"yup": "^0.32.9"
},
"devDependencies": {
"@axe-core/react": "^4.2.2",
"@iconify/icons-mdi": "^1.0.112",
"@iconify/react": "^1.1.3",
"@iconify/tools": "^1.3.9",
"@kinvolk/eslint-config": "^0.5.0",
"@storybook/addon-actions": "6.5.13",
"@storybook/addon-essentials": "^6.5.13",
"@storybook/addon-links": "6.5.13",
"@storybook/addon-storyshots": "^6.5.13",
"@storybook/node-logger": "6.5.13",
"@storybook/preset-create-react-app": "^3.2.0",
"@storybook/react": "^6.5.13",
"@types/react-router-dom": "^5.1.7",
"@types/underscore": "^1.11.3",
"eslint-config-prettier": "^8.3.0",
"eslint-plugin-jsx-a11y": "^6.4.1",
"eslint-plugin-react": "^7.24.0",
"eslint-plugin-react-hooks": "^4.2.0",
"eslint-plugin-simple-import-sort": "^7.0.0",
"eslint-plugin-unused-imports": "^1.1.2",
"http-proxy-middleware": "^2.0.1",
"husky": "^4.3.8",
"i18next-parser": "^4.2.0",
"lint-staged": "^10.5.4",
"prettier": "^2.3.2"
},
"scripts": {
"build-icons": "node tools/build-icons.js ./src/img ./src/icons && npm run format",
"start": "react-scripts start",
"build": "react-scripts build",
"test": "cross-env TEST_TZ=true react-scripts test --silent",
"test:coverage": "cross-env TEST_TZ=true react-scripts test --silent --watchAll=false --env=jsdom --coverage --reporters=default --coverageDirectory=coverage/report",
"eject": "react-scripts eject",
"lint": "eslint -c package.json 'src/**/*.{js,jsx,ts,tsx}' && prettier --config package.json --check src/",
"format": "prettier --config package.json --write src/",
"lint:fix": "eslint -c package.json --fix 'src/**/*.{js,jsx,ts,tsx}'",
"i18n": "npx --no-install i18next ./src/**/ts* ./src/**/**/*.ts* ./src/**/**/**/*.ts* -c ./src/i18n/i18next-parser.config.js",
"tsc": "tsc",
"storybook": "start-storybook -p 6006 -s public",
"build-storybook": "build-storybook -s public"
},
"browserslist": {
"production": [
">0.2%",
"not dead",
"not op_mini all"
],
"development": [
"last 1 chrome version",
"last 1 firefox version",
"last 1 safari version"
]
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"src/**/*.{js,jsx,ts,tsx}": [
"eslint -c package.json --fix"
],
"src/**/*.{js,jsx,ts,tsx,json,css,scss,md}": [
"prettier --config package.json --write"
]
},
"eslintConfig": {
"extends": [
"@kinvolk",
"prettier",
"plugin:jsx-a11y/recommended"
],
"overrides": [
{
"files": [
"**/*.stories.*"
],
"rules": {
"import/no-anonymous-default-export": "off"
}
}
]
},
"prettier": "@kinvolk/eslint-config/prettier-config",
"jest": {
"collectCoverageFrom": [
"src/**/*.{js,jsx,ts,tsx}",
"!<rootDir>/node_modules/",
"!<rootDir>/build/",
"!src/**/*.stories*.{js,jsx,ts,tsx}"
],
"coverageThreshold": {
"global": {
"statements": 34.95,
"branches": 26.19,
"functions": 30.35,
"lines": 35.26
}
},
"coverageReporters": [
"text"
]
}
}