forked from netgroup-polito/CrownLabs
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
131 lines (131 loc) · 3.35 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
{
"private": true,
"scripts": {
"start": "webpack-dev-server --config webpack_local.config.js",
"build": "webpack -p --config webpack_docker.config.js --display-error-details",
"prettify-all": "node_modules/.bin/prettier --write **/*.{js,jsx,json,css}",
"lint-check": "node_modules/.bin/prettier --check **/*.{js,jsx,json,css} && node_modules/.bin/eslint . --ext .js --ext .jsx --max-warnings=0",
"lint-setup": "npm install"
},
"devDependencies": {
"@babel/core": "^7.8.7",
"@babel/plugin-proposal-class-properties": "^7.8.3",
"@babel/polyfill": "^7.8.7",
"@babel/preset-env": "^7.8.7",
"@babel/preset-react": "^7.8.3",
"babel-loader": "^8.0.6",
"css-loader": "^3.4.2",
"eslint": "^6.8.0",
"eslint-config-airbnb": "^18.1.0",
"eslint-config-prettier": "^6.11.0",
"eslint-plugin-import": "^2.20.2",
"eslint-plugin-jsx-a11y": "^6.2.3",
"eslint-plugin-prettier": "^3.1.3",
"eslint-plugin-react": "^7.19.0",
"eslint-plugin-react-hooks": "^2.5.1",
"file-loader": "^6.0.0",
"husky": "^4.2.3",
"lint-staged": "^10.1.1",
"prettier": "2.0.2",
"style-loader": "^1.1.3",
"url-loader": "^4.0.0",
"webpack-cli": "^3.3.11",
"webpack-dev-server": "^3.10.3"
},
"dependencies": {
"@kubernetes/client-node": "git+https://github.com/LiqoTech/kubernetes-client-javascript.git#browser",
"@material-ui/core": "^4.9.7",
"@material-ui/icons": "^4.9.1",
"html-webpack-plugin": "^3.2.0",
"moment": "^2.28.0",
"oidc-client": "^1.10.1",
"react": "^16.13.0",
"react-dom": "^16.13.0",
"react-github-btn": "^1.2.0",
"react-router-dom": "^5.1.2",
"robotstxt-webpack-plugin": "^7.0.0",
"toastr": "^2.1.4",
"webpack": "^4.42.0"
},
"lint-staged": {
"*.{js,jsx,json,css}": [
"prettier --write"
],
"*.{js,jsx}": [
"eslint --ext .js --ext .jsx --max-warnings=0 "
]
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"prettier": {
"printWidth": 80,
"trailingComma": "none",
"tabWidth": 2,
"semi": true,
"singleQuote": true,
"arrowParens": "avoid",
"endOfLine": "lf"
},
"eslintConfig": {
"env": {
"browser": true,
"es6": true
},
"extends": [
"plugin:react/recommended",
"airbnb",
"plugin:prettier/recommended"
],
"globals": {
"OIDC_PROVIDER_URL": "readonly",
"OIDC_CLIENT_ID": "readonly",
"APISERVER_URL": "readonly",
"OIDC_REDIRECT_URI": "readonly",
"OIDC_CLIENT_SECRET": "readonly",
"Atomics": "readonly",
"SharedArrayBuffer": "readonly"
},
"parserOptions": {
"ecmaFeatures": {
"jsx": true
},
"ecmaVersion": 2018,
"sourceType": "module"
},
"plugins": [
"react"
],
"rules": {
"react/no-multi-comp": "error",
"react/jsx-pascal-case": "error",
"react/prop-types": "off",
"no-nested-ternary": "off",
"no-console": [
"warn",
{
"allow": [
"error"
]
}
],
"react/jsx-indent": "off",
"react/jsx-wrap-multilines": [
"error",
{
"declaration": false
}
],
"react/jsx-props-no-spreading": [
"error",
{
"exceptions": [
"Slide"
]
}
]
}
}
}