forked from kiali/kiali-ui
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
156 lines (156 loc) · 5.39 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": "@kiali/kiali-ui",
"version": "1.17.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://issues.jboss.org/projects/KIALI/issues/"
},
"repository": {
"type": "git",
"url": "git+https://github.com/kiali/kiali-ui.git"
},
"license": "Apache-2.0",
"author": "Red Hat",
"main": "index.js",
"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 'source ./.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 'source ./.env.downstream; npm run build:kiali'",
"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 'source ./.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 'source ./.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"
},
"dependencies": {
"@kiali/k-charted-pf4": "0.5.0",
"@patternfly/patternfly": "2.44.2",
"@patternfly/react-charts": "5.2.2",
"@patternfly/react-core": "3.124.1",
"@patternfly/react-styles": "3.6.11",
"@patternfly/react-table": "2.24.41",
"@patternfly/react-tokens": "2.7.10",
"@webcomponents/custom-elements": "1.2.4",
"axios": "0.19.2",
"bootstrap-slider-without-jquery": "10.0.0",
"csstips": "0.3.0",
"csx": "9.0.0",
"cy-node-html-label": "2.0.0",
"cytoscape": "3.14.0",
"cytoscape-canvas": "3.0.1",
"cytoscape-cola": "2.3.0",
"cytoscape-cose-bilkent": "4.0.0",
"cytoscape-dagre": "2.2.2",
"cytoscape-popper": "1.0.6",
"deep-freeze": "0.0.1",
"eventemitter3": "4.0.0",
"js-yaml": "3.13.1",
"json-beautify": "1.0.1",
"lodash": "4.17.15",
"logfmt": "1.2.1",
"moment": "2.24.0",
"react": "16.9.0",
"react-ace": "6.4.0",
"react-bootstrap": "0.32.4",
"react-copy-to-clipboard": "5.0.1",
"react-datepicker": "2.14.0",
"react-dom": "16.9.0",
"react-flexview": "4.0.3",
"react-floater": "0.6.4",
"react-iframe": "1.5.0",
"react-redux": "7.1.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",
"reselect": "4.0.0",
"ssri": "6.0.1",
"tippy.js": "3.4.1",
"typesafe-actions": "3.2.1",
"typestyle": "2.0.1",
"visibilityjs": "2.0.2"
},
"devDependencies": {
"@types/cytoscape": "3.8.4",
"@types/enzyme": "3.10.3",
"@types/jest": "23.3.10",
"@types/lodash": "4.14.123",
"@types/node": "12.12.14",
"@types/react": "16.9.2",
"@types/react-dom": "16.8.5",
"@types/react-redux": "7.1.2",
"@types/react-router-dom": "4.3.4",
"axios-mock-adapter": "1.16.0",
"babel-core": "6.26.3",
"enzyme": "3.10.0",
"enzyme-adapter-react-16": "1.14.0",
"enzyme-to-json": "3.4.0",
"husky": "1.3.1",
"jest-canvas-mock": "1.1.0",
"jest-localstorage-mock": "2.3.0",
"node-sass": "4.12.0",
"prettier": "1.16.4",
"pretty-quick": "2.0.1",
"react-scripts": "3.3.0",
"redux-mock-store": "1.5.3",
"snyk": "^1.161.1",
"source-map-explorer": "1.8.0",
"typescript": "3.8.3"
},
"resolutions": {
"hoist-non-react-statics": "3.3.0",
"kind-of": "6.0.3",
"victory": "~34.0.1",
"victory-core": "~34.0.0"
},
"engines": {
"node": ">=10.0.0 && <13",
"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
}