-
Notifications
You must be signed in to change notification settings - Fork 21
/
Copy pathpackage.json
246 lines (246 loc) · 9.77 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
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
{
"name": "cloudify-stage",
"version": "7.1.0-.dev1",
"description": "Cloudify Console",
"homepage": "https://github.com/cloudify-cosmo/cloudify-stage#readme",
"repository": "https://github.com/cloudify-cosmo/cloudify-stage",
"license": "Apache-2.0",
"author": "Cloudify Platform Ltd. <[email protected]>",
"files": [
"backend",
"dist",
"conf/app.json",
"conf/manager.json",
"conf/README.md",
"conf/userConfig.json"
],
"scripts": {
"audit": "npm audit --production --omit=optional && cd backend && npm run audit",
"beforebuild": "npm run ci:frontend && npm run ci:backend",
"beforebuild:no-tests": "npm run ci:frontend -- --omit=optional && npm run ci:backend -- --omit=dev",
"build": "cross-env NODE_ENV=production webpack --config webpack.config.ts --mode=production --bail",
"build:analyse:main": "npm run build -- --env.analyse=main",
"build:analyse:widgets": "npm run build -- --env.analyse=widgets",
"build:analyse:widgets-common": "npm run build -- --env.analyse=widgets-common",
"build:coverage": "cross-env COVERAGE_CHECK=1 npm run build",
"build:widget": "scripts/buildWidget.sh",
"ci:frontend": "npm ci --prefer-offline",
"ci:backend": "npm ci --prefix backend --prefer-offline",
"check-types": "npm run check-types:frontend && npm run check-types:backend && npm run check-types:scripts",
"check-types:frontend": "tsc --build",
"check-types:backend": "npm run --prefix backend check-types",
"check-types:scripts": "tsc --project scripts",
"cy:open": "cypress open --e2e --browser electron",
"cy:open-ct": "cypress open --component --browser electron",
"coverageCheck": "nyc check-coverage",
"devServer": "cross-env NODE_ENV=development ts-node devServer.ts",
"docWidgets": "ts-node scripts/updateReadmes.ts",
"e2e": "cypress run",
"generate:icons-font": "fontello-cli open --config ./semantic-ui/fontello.config.json",
"lint": "eslint --cache --ignore-path .gitignore --ext js,jsx,ts,tsx .",
"size": "[ -d \"dist\" ] && size-limit",
"test": "npm run test:frontend && npm run test:backend",
"test:json": "scripts/checkJsonFiles.sh",
"test:frontend": "npm run test:frontend:unit && npm run test:frontend:components",
"test:frontend:unit": "jest test/jest",
"test:frontend:components": "cypress run --component",
"test:frontend:coverage": "npm run test:frontend:unit -- --coverage && npm run test:frontend:components",
"test:backend": "cd backend && npm test",
"upload": "scripts/uploadPackage.sh",
"zip": "scripts/createPackage.sh"
},
"dependencies": {
"@dnd-kit/core": "^4.0.0",
"@dnd-kit/modifiers": "^4.0.0",
"@dnd-kit/sortable": "^5.0.0",
"@dnd-kit/utilities": "^2.0.0",
"axios": "^1.7.3",
"better-console": "^0.2.4",
"blueimp-md5": "^2.7.0",
"cloudify-blueprint-topology": "^4.2.0",
"cloudify-ui-common-frontend": "^1.0.0",
"cloudify-ui-components": "^2.34.0",
"connected-react-router": "^6.5.2",
"d3": "^3.5.17",
"d3-format": "^1.3.2",
"diff": "^3.5.0",
"file-saver": "^1.3.3",
"fs-extra": "^11.1.0",
"history": "^4.7.2",
"i18next": "^19.8.5",
"isomorphic-fetch": "^3.0.0",
"jszip": "^3.8.0",
"leaflet": "^1.7.1",
"leaflet.markercluster": "^1.5.0",
"lodash": "^4.17.21",
"loglevel": "^1.4.1",
"marked": "^4.0.10",
"moment": "^2.29.4",
"prop-types": "^15.7.2",
"proxy-polyfill": "^0.2.0",
"query-string": "^6.0.0",
"react": "^16.11.0",
"react-dom": "^16.11.0",
"react-grid-layout": "^1.3.4",
"react-is": "^17.0.2",
"react-leaflet": "^2.8.0",
"react-leaflet-markercluster": "^2.0.0",
"react-query": "^3.13.0",
"react-redux": "^7.1.3",
"react-resizable": "^1.7.5",
"react-router": "^5.1.2",
"react-router-dom": "^5.1.2",
"react-sortable-hoc": "^1.11.0",
"react-split-pane": "^0.1.92",
"react-splitter-layout": "^3.0.0",
"react-svg-pan-zoom": "^3.8.0",
"react-syntax-highlighter": "^15.4.3",
"react-visibility-sensor": "^5.1.1",
"recharts": "2.1.14",
"redux": "^4.0.4",
"redux-devtools-extension": "^2.13.8",
"redux-thunk": "^2.3.0",
"semantic-ui-less": "^2.4.1",
"semantic-ui-react": "^2.1.3",
"styled-components": "^5.2.1",
"uuid": "^3.3.2"
},
"// devDependencies": "NOTE: Development dependencies required to build the package",
"devDependencies": {
"@babel/cli": "^7.13.10",
"@babel/core": "^7.12.10",
"@babel/plugin-proposal-class-properties": "^7.12.1",
"@babel/plugin-transform-runtime": "^7.12.10",
"@babel/polyfill": "^7.12.1",
"@babel/preset-env": "^7.12.11",
"@babel/preset-react": "^7.12.10",
"@babel/preset-typescript": "^7.12.7",
"@babel/register": "^7.12.10",
"@babel/runtime": "^7.12.5",
"@types/d3": "^7.4.0",
"@types/d3-format": "^1.3.1",
"@types/enzyme-adapter-react-16": "^1.0.6",
"@types/react-dom": "^16.9.14",
"@types/react-splitter-layout": "^3.0.2",
"babel-loader": "^8.0.6",
"browserslist": "^4.21.1",
"compression-webpack-plugin": "^6.1.1",
"copy-webpack-plugin": "^6.3.2",
"cross-env": "^7.0.3",
"css-loader": "^5.2.7",
"file-loader": "^5.1.0",
"fork-ts-checker-webpack-plugin": "^6.1.0",
"glob": "^7.1.2",
"html-webpack-plugin": "^5.5.0",
"imagemin-webpack-plugin": "^2.4.2",
"json-loader": "^0.5.7",
"less": "^4.1.3",
"less-loader": "^11.0.0",
"sass": "^1.43.4",
"sass-loader": "^8.0.2",
"style-loader": "^1.1.4",
"terser-webpack-plugin": "^5.3.3",
"typescript": "^4.3.2",
"typescript-styled-plugin": "^0.15.0",
"url-loader": "^3.0.0",
"webpack": "^5.76.0",
"webpack-bundle-analyzer": "^4.5.0",
"webpack-cli": "^4.10.0"
},
"// optionalDependencies": "NOTE: Development dependencies NOT required to build the package",
"optionalDependencies": {
"@cypress/code-coverage": "^3.9.12",
"@size-limit/preset-app": "^4.5.5",
"@types/blueimp-md5": "^2.7.0",
"@types/diff": "^3.5.0",
"@types/enzyme": "^3.10.8",
"@types/fetch-mock": "^7.3.3",
"@types/file-saver": "^1.3.1",
"@types/history": "^4.7.8",
"@types/isomorphic-fetch": "0.0.35",
"@types/jest": "^29.5.0",
"@types/js-cookie": "^2.2.6",
"@types/jsdom": "^16.2.15",
"@types/leaflet": "^1.7.0",
"@types/lodash": "^4.14.168",
"@types/marked": "^4.0.1",
"@types/mime-types": "^2.1.1",
"@types/prop-types": "^15.7.3",
"@types/react": "^16.9.29",
"@types/react-dom": "^16.9.5",
"@types/react-grid-layout": "^1.1.1",
"@types/react-leaflet": "^2.5.1",
"@types/react-leaflet-markercluster": "^2.0.0",
"@types/react-redux": "^7.1.7",
"@types/react-router-dom": "^5.1.8",
"@types/react-svg-pan-zoom": "^3.3.5",
"@types/react-syntax-highlighter": "^15.5.6",
"@types/redux-mock-store": "^1.0.3",
"@types/request": "^2.48.4",
"@types/sinon": "^10.0.2",
"@types/styled-components": "^5.1.8",
"@types/uuid": "^3.4.9",
"@typescript-eslint/eslint-plugin": "^4.33.0",
"@typescript-eslint/parser": "^4.33.0",
"babel-eslint": "^10.0.3",
"babel-jest": "^29.5.0",
"babel-plugin-module-resolver": "^5.0.0",
"chokidar": "^3.5.3",
"cloudify-ui-common-configs": "^1.2.0",
"cloudify-ui-common-cypress": "^2.1.0",
"cloudify-ui-common-scripts": "^1.0.0",
"cypress": "^10.11.0",
"cypress-file-upload": "^5.0.8",
"cypress-localstorage-commands": "^2.2.1",
"elkjs": "^0.8.2",
"enzyme": "^3.11.0",
"enzyme-adapter-react-16": "^1.15.1",
"eslint": "^7.32.0",
"eslint-config-airbnb": "^18.2.1",
"eslint-config-airbnb-base": "^14.2.1",
"eslint-config-prettier": "^6.12.0",
"eslint-import-resolver-jest": "^3.0.0",
"eslint-plugin-chai-friendly": "^0.6.0",
"eslint-plugin-cypress": "^2.11.3",
"eslint-plugin-import": "^2.22.1",
"eslint-plugin-jest": "^24.1.0",
"eslint-plugin-jsx-a11y": "^6.4.1",
"eslint-plugin-no-unsanitized": "^4.0.1",
"eslint-plugin-node": "^11.1.0",
"eslint-plugin-prettier": "^3.1.4",
"eslint-plugin-react": "^7.24.0",
"eslint-plugin-react-hooks": "^4.1.2",
"eslint-plugin-security": "^1.4.0",
"eslint-plugin-security-node": "^1.1.1",
"eslint-plugin-xss": "^0.1.12",
"esm": "^3.2.25",
"fetch-mock": "^7.3.3",
"fontello-cli": "^0.6.2",
"ip": "^1.1.3",
"jest": "^29.5.0",
"jest-environment-jsdom": "^29.5.0",
"jsdom": "^20.0.0",
"loader-utils": "^1.4.1",
"mime-types": "^2.1.35",
"prettier": "^2.6.2",
"redux-mock-store": "^1.5.3",
"size-limit": "^4.5.5",
"source-map-loader": "^1.1.3",
"timekeeper": "^2.2.0",
"ts-node": "^10.2.1",
"web-worker": "^1.2.0",
"webpack-dev-middleware": "^4.3.0",
"webpack-dev-server": "^4.0.0"
},
"overrides": {
"webpack-dev-server": {
"express": "^4.19.2"
}
},
"engines": {
"node": "18.20.x"
},
"nyc": {
"report-dir": "coverage-cypress"
}
}