This repository has been archived by the owner on Apr 11, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 115
/
package.json
203 lines (203 loc) · 6.63 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
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
{
"name": "@kiali/kiali-ui",
"version": "1.49.0",
"description": "React UI for [Kiali](https://github.com/kiali/kiali).",
"keywords": [
"istio service mesh",
"kiali",
"monitoring",
"observability",
"okd",
"openshift"
],
"homepage-comment": [
"*Do not* change this setting if you wish run Kiali under different server root.",
"Instead update 'web_root' in Kaili config map in OpenShift console."
],
"homepage": "./",
"bugs": {
"url": "https://github.com/kiali/kiali/issues"
},
"repository": {
"type": "git",
"url": "git+https://github.com/kiali/kiali-ui.git"
},
"license": "Apache-2.0",
"author": "Red Hat",
"main": "index.js",
"private": true,
"publishConfig": {
"access": "public"
},
"script-comments": [
"When adding new scripts, please be careful to using `npm run` instead of `yarn` for the tasks.",
"Some build environments we use do not include npm access, and installing yarn is not possible."
],
"scripts": {
"build": "if [ \"${KIALI_ENV}\" = \"production\" ]; then npm run build:prod; else npm run build:dev; fi",
"build-css": "node-sass src/ --output-style compressed --include-path $npm_package_sassIncludes_src -o src/",
"build:dev": "sh -ac '. ./.env.upstream; npm run lint && npm run build:kiali'",
"build:kiali": "npm run build-css && REACT_APP_VERSION=$npm_package_version REACT_APP_NAME=$npm_package_name REACT_APP_GIT_HASH=$(git rev-parse HEAD) GENERATE_SOURCEMAP=false EXTEND_ESLINT=true react-scripts build",
"build:prod": "sh -ac '. ./.env.downstream; npm run build:kiali'",
"cypress": "cypress open",
"cypress:run": "cypress run",
"cypress:bdd": "cypress open --config-file cypress-bdd.json",
"lint": "eslint --ext js,ts,tsx src",
"lint:precommit": "if git diff --name-only HEAD | grep -E '\\.tsx?$'; then npm run lint; else true; fi",
"lintfix": "eslint --ext js,ts,tsx --fix src",
"start": "if [ \"${KIALI_ENV}\" = \"production\" ]; then npm run start:prod; else npm run start:dev; fi",
"start:dev": "sh -ac '. ./.env.upstream; npm run start:kiali'",
"start:kiali": "npm run build-css && REACT_APP_VERSION=$npm_package_version REACT_APP_NAME=$npm_package_name REACT_APP_GIT_HASH=$(git rev-parse HEAD) react-scripts start",
"start:prod": "sh -ac '. ./.env.downstream; npm run start:kiali'",
"test": "npm run build-css && tsc -p . && TEST_RUNNER=1 react-scripts test --env=jsdom __tests__",
"snyk": "snyk test",
"analyze": "source-map-explorer build/static/js/main.*",
"prettier": "prettier --write \"{src/**/*.{js,jsx,ts,tsx,json,yml,css,scss},travis.yml,*.json}\"",
"snyk-protect": "snyk protect",
"storybook": "start-storybook -p 6006 -s public"
},
"dependencies": {
"@patternfly/patternfly": "2.71.6",
"@patternfly/react-charts": "5.3.22",
"@patternfly/react-core": "3.158.4",
"@patternfly/react-styles": "3.7.14",
"@patternfly/react-table": "2.28.51",
"@patternfly/react-tokens": "2.8.15",
"@webcomponents/custom-elements": "1.2.4",
"axios": "0.21.4",
"bootstrap-slider-without-jquery": "10.0.0",
"csstips": "0.3.0",
"csx": "9.1.0",
"cy-node-html-label": "2.0.0",
"cytoscape": "3.15.5",
"cytoscape-canvas": "3.0.1",
"dagre": "0.8.5",
"cytoscape-popper": "1.0.7",
"deep-freeze": "0.0.1",
"eventemitter3": "4.0.0",
"js-yaml": "3.13.1",
"json-beautify": "1.0.1",
"lodash": "4.17.21",
"m-react-splitters": "1.2.0",
"moment": "2.24.0",
"react": "16.13.1",
"react-ace": "9.1.3",
"react-copy-to-clipboard": "5.0.1",
"react-datepicker": "3.8.0",
"react-dom": "16.13.1",
"react-flexview": "4.0.3",
"react-redux": "7.2.0",
"react-resize-detector": "3.4.0",
"react-router-dom": "5.0.1",
"redux": "4.0.4",
"redux-persist": "5.10.0",
"redux-persist-transform-filter": "0.0.18",
"redux-thunk": "2.3.0",
"regression": "^2.0.1",
"reselect": "4.0.0",
"screenfull": "5.0.2",
"seedrandom": "3.0.1",
"tippy.js": "3.4.1",
"typesafe-actions": "3.2.1",
"typestyle": "2.0.4",
"visibilityjs": "2.0.2"
},
"devDependencies": {
"@storybook/addon-actions": "^6.2.9",
"@storybook/addon-essentials": "^6.2.9",
"@storybook/addon-links": "^6.2.9",
"@storybook/node-logger": "^6.2.9",
"@storybook/preset-create-react-app": "^3.1.7",
"@storybook/react": "^6.2.9",
"@types/cypress-cucumber-preprocessor": "^4.0.1",
"@types/cytoscape": "3.14.0",
"@types/enzyme": "3.10.5",
"@types/jest": "23.3.10",
"@types/lodash": "4.14.169",
"@types/node": "12.12.14",
"@types/react": "16.9.34",
"@types/react-dom": "16.9.7",
"@types/react-redux": "7.1.7",
"@types/react-router-dom": "5.1.5",
"axios-mock-adapter": "1.16.0",
"babel-core": "6.26.3",
"cypress": "^9.2.1",
"cypress-cucumber-preprocessor": "^4.3.1",
"enzyme": "3.11.0",
"enzyme-adapter-react-16": "1.15.2",
"enzyme-to-json": "3.4.4",
"husky": "1.3.1",
"jest-canvas-mock": "2.2.0",
"jest-localstorage-mock": "2.4.2",
"node-sass": "7.0.0",
"prettier": "2.0.5",
"pretty-quick": "2.0.1",
"react-scripts": "3.4.4",
"redux-mock-store": "1.5.3",
"snyk": "^1.161.1",
"source-map-explorer": "1.8.0",
"typescript": "3.8.3"
},
"resolutions": {
"ajv": "6.12.3",
"ansi-html": "0.0.9",
"babel-loader": "8.1.0",
"dot-prop": "4.2.1",
"elliptic": "6.5.4",
"follow-redirects": "1.14.8",
"glob-parent": "5.1.2",
"handlebars": "4.7.7",
"hoist-non-react-statics": "3.3.0",
"hosted-git-info": "2.8.9",
"immer": "9.0.6",
"ini": "1.3.7",
"kind-of": "6.0.3",
"lodash": "4.17.21",
"node-fetch": "2.6.7",
"parse-link-header": "2.0.0",
"prismjs": "1.27.0",
"serialize-javascript": "4.0.0",
"ssh2": "1.4.0",
"tmpl": "1.0.5",
"trim": "0.0.3",
"trim-newlines": "3.0.1",
"url-parse": "1.5.10",
"victory": "34.3.12",
"ws": "5.2.3",
"y18n": "5.0.5"
},
"engines": {
"node": ">=12.22.0 && <16",
"npm": ">=6.0.0 ",
"yarn": ">=1.0.0 "
},
"sassIncludes": {
"src": "src"
},
"husky": {
"hooks": {
"pre-commit": "yarn run pretty-quick --staged --pattern \"{src/**/*.{js,jsx,ts,tsx,json,yml,css,scss},travis.yml,*.json}\" && npm run lint:precommit"
}
},
"browserslist": [
">10%",
"last 2 versions",
"not ie <= 11"
],
"snyk": true,
"eslintConfig": {
"overrides": [
{
"files": [
"**/*.stories.*"
],
"rules": {
"import/no-anonymous-default-export": "off"
}
}
]
},
"cypress-cucumber-preprocessor": {
"nonGlobalStepDefinitions": true
}
}