-
Notifications
You must be signed in to change notification settings - Fork 42
/
package.json
230 lines (230 loc) · 10.8 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
{
"name": "influxdb-ui",
"version": "2.0.0",
"private": false,
"license": "MIT",
"description": "",
"repository": {
"type": "git",
"url": "github:influxdata/ui"
},
"engines": {
"node": ">=18.12.1",
"yarn": ">=1.16.0"
},
"alias": {
"src": "./src"
},
"scripts": {
"start": "yarn install && yarn generate && cross-env TS_NODE_PROJECT=\"webpack.tsconfig.json\" && yarn run start:dev",
"start:dev": "webpack-dev-server --config ./webpack.dev.ts",
"start:dev:oss": "yarn start:dev",
"start:dev:remocal": "NODE_ENV=development UI_SHA=local_dev_mode BASE_PATH=/ API_BASE_PATH=/ PORT=8080 PUBLIC=${PUBLIC:-https://twodotoh.a.influxcloud.dev.local/} CLOUD_URL=/auth yarn start",
"start:kind": "echo 'please start using `yarn start:dev:remocal`' && yarn start:dev:remocal",
"start:docker": "yarn generate && yarn run start:dev",
"build": "yarn install --silent && yarn build:ci",
"build:ci": "yarn generate && webpack --config webpack.prod.ts",
"build:fast": "webpack --config webpack.fast.ts",
"build:vendor": "webpack --config webpack.vendor.ts",
"clean": "rm -rf ./build && rm -rf ./.cache && rm -rf node_modules && rm -rf cypress/screenshots && rm -rf cypress/videos && rm -f junit-results/* ",
"test": "jest --maxWorkers=2",
"test:watch": "jest --watch --verbose false",
"test:update": "jest --updateSnapshot",
"test:debug": "node --inspect-brk $(npm bin)/jest --runInBand --watch --verbose false",
"test:e2e:open": "CYPRESS_password=password cypress open --browser chrome --config chromeWebSecurity=false",
"test:e2e:closed": "CYPRESS_password=password cypress run --browser chrome --config chromeWebSecurity=false --reporter junit --reporter-options 'mochaFile=junit-results/test-output-[hash].xml'",
"test:e2e:report": "junit-viewer --results=junit-results --save-file=junit-results/junit-report.html && open ./junit-results/junit-report.html",
"test:e2e:clean": "rm -rf cypress/screenshots && rm -rf cypress/videos && rm -f junit-results/*",
"test:e2e:oss": "CYPRESS_dexUrl=OSS CYPRESS_baseUrl=http://localhost:8080 yarn test:e2e:open -- --config testFiles='{oss,shared}/**/*.*'",
"test:e2e:oss:report": "yarn test:e2e:clean && CYPRESS_dexUrl=OSS CYPRESS_baseUrl=http://localhost:8080 yarn test:e2e:closed -- --config testFiles='{oss,shared}/**/*.*'; yarn test:e2e:report;",
"test:e2e:remocal": "CYPRESS_dexUrl=https://dex-${NS}.remocal.influxdev.co CYPRESS_baseUrl=https://${NS}.remocal.influxdev.co yarn test:e2e:open -- --config testFiles='{cloud,shared}/**/*.*'",
"test:e2e:remocal:iox": "CYPRESS_useIox=true yarn test:e2e:remocal",
"test:e2e:remocal:report": "yarn test:e2e:clean && CYPRESS_dexUrl=https://dex-${NS}.remocal.influxdev.co CYPRESS_baseUrl=https://${NS}.remocal.influxdev.co yarn test:e2e:closed -- --config testFiles='{cloud,shared}/**/*.*'; yarn test:e2e:report;",
"test:e2e:remocal:iox:report": "CYPRESS_useIox=true yarn test:e2e:remocal:report",
"test:circleci": "yarn run test:ci --runInBand",
"test:ci": "JEST_JUNIT_OUTPUT_DIR=\"./coverage\" jest --ci --coverage",
"lint": "yarn tsc && yarn prettier && yarn eslint",
"lint:fix": "yarn tsc && yarn prettier:fix && yarn eslint:fix",
"eslint": "eslint '{src,cypress}/**/*.{ts,tsx}'",
"eslint:circleci": "eslint",
"eslint:fix": "eslint --fix '{src,cypress}/**/*.{ts,tsx}'",
"prettier": "pretty-quick --config .prettierrc.json --check '{src,cypress}/**/*.{ts,tsx}'",
"prettier:fix": "pretty-quick --config .prettierrc.json --write '{src,cypress}/**/*.{ts,tsx}'",
"tsc": "tsc -p ./tsconfig.json --noEmit --pretty --skipLibCheck",
"tsc:watch": "yarn tsc --watch",
"generate": "export SHA=9ca282867ee2b2766ea60f29cdbb9b0556361335 && export REMOTE=https://raw.githubusercontent.com/influxdata/openapi/${SHA}/ && yarn generate-meta",
"generate-local": "export REMOTE=../openapi/ && yarn generate-meta",
"generate-local-cloud": "export REMOTE=../openapi/ && yarn generate-meta-cloud",
"generate-meta": "if [ -z \"${CLOUD_URL}\" ]; then yarn generate-meta-oss; else yarn generate-meta-cloud; fi",
"generate-meta-oss": "yarn oss-api && yarn notebooks && yarn unity && yarn annotations-oss && yarn scripts-oss && yarn mapsd-oss && yarn uiproxyd-oss && yarn cloudPriv && yarn fluxdocs && yarn subscriptions",
"generate-meta-cloud": "yarn cloud-api && yarn notebooks && yarn unity && yarn annotations && yarn scripts && yarn cloudPriv && yarn mapsd && yarn uiproxyd && yarn fluxdocs && yarn subscriptions",
"oss": "oats ${REMOTE}contracts/oss-diff.yml > ./src/client/ossRoutes.ts",
"cloud": "oats ${REMOTE}contracts/cloud-diff.yml > ./src/client/cloudRoutes.ts",
"common": "oats ${REMOTE}contracts/common.yml > ./src/client/commonRoutes.ts",
"cloudPriv": "oats ${REMOTE}contracts/priv/cloud-priv.yml > ./src/client/cloudPrivRoutes.ts",
"cloud-api": "oats ${REMOTE}contracts/cloud.yml > ./src/client/generatedRoutes.ts",
"oss-api": "oats ${REMOTE}contracts/oss.yml > ./src/client/generatedRoutes.ts",
"unity": "oats ${REMOTE}contracts/priv/unity.yml > ./src/client/unityRoutes.ts",
"notebooks": "oats ${REMOTE}contracts/priv/notebooksd.yml > ./src/client/notebooksRoutes.ts",
"annotations": "oats ${REMOTE}contracts/priv/annotationd.yml > ./src/client/annotationdRoutes.ts",
"annotations-oss": "oats ${REMOTE}contracts/priv/annotationd-oss.yml > ./src/client/annotationdRoutes.ts",
"mapsd-oss": "touch ./src/client/mapsdRoutes.ts",
"mapsd": "oats ${REMOTE}contracts/mapsd.yml > ./src/client/mapsdRoutes.ts",
"uiproxyd-oss": "touch ./src/client/uiproxydRoutes.ts",
"uiproxyd": "oats ${REMOTE}contracts/priv/uiproxyd.yml > ./src/client/uiproxydRoutes.ts",
"scripts": "oats ${REMOTE}contracts/invocable-scripts.yml > ./src/client/scriptsRoutes.ts",
"scripts-oss": "touch ./src/client/scriptsRoutes.ts",
"subscriptions": "oats ${REMOTE}contracts/priv/nifid.yml > ./src/client/subscriptionsRoutes.ts",
"fluxdocs": "oats ${REMOTE}contracts/priv/fluxdocsd.yml > ./src/client/fluxdocsdRoutes.ts",
"telegraf-plugins:update": "node src/writeData/utils/updateTelegrafPlugins.mjs"
},
"author": "",
"devDependencies": {
"@babel/core": "^7.20.5",
"@babel/plugin-transform-runtime": "^7.19.6",
"@babel/preset-env": "^7.20.2",
"@babel/runtime": "^7.20.6",
"@cypress/skip-test": "^2.6.1",
"@influxdata/oats": "^0.7.0",
"@testing-library/dom": "^8.17.1",
"@testing-library/jest-dom": "^5.16.5",
"@testing-library/react": "^12.1.5",
"@testing-library/user-event": "^14.4.3",
"@types/chai": "^4.3.3",
"@types/chroma-js": "^2.1.4",
"@types/history": "4.7.6",
"@types/jest": "27.5.1",
"@types/lodash": "^4.14.186",
"@types/memoize-one": "^4.0.2",
"@types/node": "^18.11.7",
"@types/papaparse": "^4.5.9",
"@types/react": "^17.0.35",
"@types/react-datepicker": "^4.4.2",
"@types/react-dom": "^17.0.11",
"@types/react-grid-layout": "^0.16.5",
"@types/react-redux": "^7.1.9",
"@types/react-router-dom": "^5.1.5",
"@types/react-virtualized": "^9.18.3",
"@types/resize-observer-browser": "^0.1.5",
"@types/text-encoding": "^0.0.36",
"@types/webpack": "^4.4.35",
"@types/webpack-env": "^1.15.2",
"@typescript-eslint/eslint-plugin": "^5.35.1",
"@typescript-eslint/parser": "^5.41.0",
"babel-loader": "^9.1.0",
"clean-webpack-plugin": "^4.0.0",
"clipboardy": "^2.3.0",
"cross-env": "^7.0.3",
"css-loader": "^6.7.2",
"css-minimizer-webpack-plugin": "^4.2.2",
"css-unicode-loader": "^1.0.3",
"cypress": "^9.5.2",
"cypress-file-upload": "^5.0.8",
"cypress-log-to-output": "^1.1.2",
"cypress-pipe": "^2.0.0",
"cypress-plugin-tab": "^1.0.5",
"eslint": "^8.23.0",
"eslint-config-prettier": "^8.5.0",
"eslint-plugin-jest": "^27.0.1",
"eslint-plugin-react": "^7.31.1",
"eslint-plugin-react-hooks": "^4.6.0",
"fork-ts-checker-webpack-plugin": "^5.0.0",
"html-webpack-plugin": "^5.5.0",
"identity-obj-proxy": "^3.0.0",
"jest": "27.5.1",
"jest-fetch-mock": "^3.0.3",
"jest-junit": "^14.0.1",
"jsdom": "^18.1.0",
"junit-viewer": "^4.11.1",
"log-symbols": "^5.0.0",
"mini-css-extract-plugin": "^2.6.1",
"mocha": "^10.2.0",
"moment": "^2.29.4",
"mutation-observer": "^1.0.3",
"prettier": "^2.7.1",
"pretty-quick": "^3.1.3",
"process": "^0.11.10",
"sass": "^1.54.9",
"sass-loader": "^13.2.0",
"setimmediate": "^1.0.5",
"source-map-loader": "^4.0.1",
"style-loader": "^3.3.1",
"ts-jest": "^27.1.5",
"ts-loader": "^9.4.1",
"ts-node": "^10.9.1",
"tslib": "^2.4.0",
"typescript": "4.0.2",
"webpack": "^5.76.0",
"webpack-cli": "^4.10.0",
"webpack-dev-server": "^4.11.1",
"webpack-merge": "^5.8.0"
},
"dependencies": {
"@codingame/monaco-jsonrpc": "^0.3.1",
"@docsearch/react": "^3.0.0-alpha.37",
"@influxdata/clockface": "^6.3.11",
"@influxdata/flux-lsp-browser": "0.8.40",
"@influxdata/giraffe": "^2.38.1",
"@influxdata/influxdb-templates": "0.12.0",
"@influxdata/react-custom-scrollbars": "4.3.8",
"abortcontroller-polyfill": "^1.3.0",
"auth0-js": "^9.19.1",
"babel-polyfill": "^6.26.0",
"canvas-confetti": "^1.5.1",
"chroma-js": "^2.4.2",
"classnames": "^2.2.3",
"connected-react-router": "^6.8.0",
"deep-object-diff": "^1.1.0",
"fix-date": "^1.1.6",
"history": "^4.7.2",
"honeybadger-js": "^1.0.2",
"html2canvas": "^1.4.1",
"immer": "^9.0.15",
"intersection-observer": "^0.12.2",
"jsonlint-mod": "^1.7.5",
"jsonpath": "^1.1.1",
"jspdf": "2.5.1",
"lodash": "^4.17.21",
"luxon": "^3.2.1",
"memoize-one": "^4.0.2",
"monaco-editor": "~0.34.0",
"monaco-editor-textmate": "^3.0.0",
"monaco-editor-webpack-plugin": "^7.0.1",
"monaco-languageclient": "~0.18.1",
"monaco-textmate": "^3.0.1",
"nanoid": "^3.2.0",
"normalizr": "^3.6.2",
"onigasm": "^2.2.5",
"papaparse": "^5.3.2",
"qrcode.react": "^3.1.0",
"react": "^17.0.2",
"react-beautiful-dnd": "^13.0.0",
"react-datepicker": "^4.8.0",
"react-dnd": "^9.3.2",
"react-dnd-html5-backend": "^9.3.2",
"react-dom": "^17.0.2",
"react-grid-layout": "^0.16.6",
"react-loadable": "^5.5.0",
"react-markdown": "^6.0.3",
"react-monaco-editor": "~0.50.1",
"react-redux": "^7.2.0",
"react-router-dom": "^5.2.0",
"react-syntax-highlighter": "^15.5.0",
"react-virtualized": "^9.18.5",
"redux": "^4.0.0",
"redux-thunk": "^2.3.0",
"remark-external-links": "8.0.0",
"reselect": "^4.1.6",
"rudder-sdk-js": "2.40.5",
"s2-geometry": "^1.2.10",
"use-local-storage-state": "^9.0.2",
"uuid": "^9.0.0",
"vscode-languageserver-protocol": "^3.16.0",
"y-websocket": "^1.4.4",
"yjs": "^13.5.36"
},
"resolutions": {
"auth0-js/**/superagent": "^9.0",
"minimatch": "^3.0.5"
}
}