forked from influxdata/ui
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
232 lines (232 loc) · 10.9 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
{
"name": "influxdb-ui",
"version": "2.0.0",
"private": false,
"license": "MIT",
"description": "",
"repository": {
"type": "git",
"url": "github:influxdata/ui"
},
"engines": {
"node": ">=10.5.0",
"yarn": ">=1.16.0"
},
"alias": {
"src": "./src"
},
"scripts": {
"start": "yarn install && yarn generate && cross-env TS_NODE_PROJECT=\"webpack.tsconfig.json\" && yarn run build:vendor && yarn run start:dev",
"start:cloud": "yarn install && yarn generate && cross-env TS_NODE_PROJECT=\"webpack.tsconfig.json\" && yarn run build:vendor && yarn run start:dev-cloud",
"start:dev": "webpack-dev-server --config ./webpack.dev.ts --progress false",
"start:dev-cloud": "cross-env CLOUD_LOGOUT_URL=http://localhost:8080/api/v2/signout CLOUD_URL=http://localhost:4000 webpack-dev-server --config ./webpack.dev.ts",
"start:docker": "yarn generate && yarn build:vendor && yarn run start:dev",
"start:kind": "yarn build:vendor && 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",
"build": "yarn install --silent && yarn build:ci",
"build:ci": "yarn generate && yarn build:vendor && webpack --config webpack.prod.ts --bail",
"build:fast": "webpack --config webpack.fast.ts --bail",
"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": "CYPRESS_dexUrl=https://$INGRESS_HOST:$PORT_HTTPS CYPRESS_baseUrl=http://localhost:9999 cypress run --browser chrome --reporter junit --reporter-options 'mochaFile=junit-results/test-output-[hash].xml'",
"test:e2e:ci": "CYPRESS_dexUrl=https://$INGRESS_HOST:$PORT_HTTPS CYPRESS_baseUrl=https://localhost:443 cypress run --parallel --browser chrome --reporter junit --reporter-options 'mochaFile=junit-results/test-output-[hash].xml'",
"test:e2e:report": "junit-viewer --results=junit-results --save-file=cypress/site/junit-report.html",
"test:e2e:clean": "rm junit-results/*.xml",
"test:e2e:all": "yarn test:e2e:clean && yarn test:e2e; yarn test:e2e:report;",
"test:e2e:kind": "CYPRESS_dexUrl=http://dex-twodotoh.a.influxcloud.dev.local CYPRESS_baseUrl=https://twodotoh.a.influxcloud.dev.local CYPRESS_password=password cypress open --browser chrome --config chromeWebSecurity=false",
"test:e2e:remocal": "CYPRESS_dexUrl=https://dex-twodotoh-dev-${NS}.a.influxcloud.dev.local CYPRESS_baseUrl=https://twodotoh-dev-${NS}.a.influxcloud.dev.local CYPRESS_password=password cypress open --browser chrome --config chromeWebSecurity=false",
"test:circleci": "yarn run test:ci --maxWorkers=2",
"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",
"cy": "CYPRESS_dexUrl=https://$INGRESS_HOST:$PORT_HTTPS CYPRESS_baseUrl=http://localhost:9999 cypress open",
"cy:dev": "source ../monitor-ci/.env && CYPRESS_dexUrl=CLOUD CYPRESS_baseUrl=https://$INGRESS_HOST:$PORT_HTTPS cypress open --config testFiles='{cloud,shared}/**/*.*'",
"cy:dev-oss": "source ../monitor-ci/.env && CYPRESS_dexUrl=OSS CYPRESS_baseUrl=https://$INGRESS_HOST:$PORT_HTTPS cypress open --config testFiles='{oss,shared}/**/*.*'",
"generate": "export SHA=8e8ba92e4764cd8914284315fb87c1945c757497 && export REMOTE=https://raw.githubusercontent.com/influxdata/openapi/${SHA}/ && yarn generate-meta",
"generate-local": "export REMOTE=../openapi/ && yarn generate-meta",
"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 managedFunctions && yarn annotations-oss",
"generate-meta-cloud": "yarn cloud-api && yarn notebooks && yarn unity && yarn managedFunctions && yarn annotations && yarn cloudPriv && yarn pinned",
"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": "oats ${REMOTE}contracts/mapsd.yml > ./src/client/mapsdRoutes.ts",
"managedFunctions": "oats ${REMOTE}contracts/managed-functions.yml > ./src/client/managedFunctionsRoutes.ts",
"pinned": "oats ${REMOTE}contracts/priv/pinneditemsd.yml > ./src/client/pinnedItemRoutes.ts"
},
"author": "",
"devDependencies": {
"@babel/core": "^7.5.5",
"@babel/preset-env": "^7.5.5",
"@influxdata/oats": "0.5.3",
"@testing-library/dom": "^7.24.2",
"@testing-library/jest-dom": "^5.11.6",
"@testing-library/react": "^11.0.4",
"@testing-library/user-event": "^12.1.6",
"@types/chroma-js": "^1.3.4",
"@types/codemirror": "^0.0.56",
"@types/d3-color": "^1.2.1",
"@types/d3-scale": "^2.0.1",
"@types/history": "4.7.6",
"@types/jest": "^23.3.2",
"@types/lodash": "^4.14.116",
"@types/memoize-one": "^4.0.2",
"@types/node": "^12.6.8",
"@types/papaparse": "^4.5.9",
"@types/prop-types": "^15.5.2",
"@types/qs": "^6.5.1",
"@types/react": "^16.9.49",
"@types/react-datepicker": "^2.8.1",
"@types/react-dom": "^16.9.0",
"@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.32",
"@types/uuid": "^3.4.3",
"@types/webpack": "^4.4.35",
"@types/webpack-env": "^1.15.2",
"@typescript-eslint/eslint-plugin": "^2.6.0",
"@typescript-eslint/parser": "^2.6.0",
"ajv": "^6.7.0",
"autoprefixer": "^6.3.1",
"babel-loader": "^8.0.6",
"clean-webpack-plugin": "^3.0.0",
"clipboardy": "^2.3.0",
"cross-env": "^5.2.0",
"css-loader": "^3.1.0",
"cypress": "7.5.0",
"cypress-file-upload": "^4.1.1",
"cypress-log-to-output": "^1.1.2",
"cypress-pipe": "^1.5.0",
"cypress-plugin-tab": "^1.0.5",
"eslint": "^6.6.0",
"eslint-config-prettier": "^6.5.0",
"eslint-plugin-jest": "^23.0.2",
"eslint-plugin-react": "^7.16.0",
"eslint-plugin-react-hooks": "^4.0.5",
"express": "^4.14.0",
"file-loader": "^4.1.0",
"fork-ts-checker-webpack-plugin": "^1.4.3",
"html-webpack-plugin": "^3.2.0",
"http-proxy-middleware": "^0.18.0",
"identity-obj-proxy": "^3.0.0",
"jest": "^24.8.0",
"jest-fetch-mock": "^3.0.3",
"jest-junit": "^10.0.0",
"jsdom": "^9.0.0",
"junit-viewer": "^4.11.1",
"mini-css-extract-plugin": "^0.8.0",
"mocha": "^5.2.0",
"mocha-junit-reporter": "^1.18.0",
"mutation-observer": "^1.0.3",
"optimize-css-assets-webpack-plugin": "^5.0.3",
"prettier": "^1.19.1",
"pretty-quick": "^3.1.0",
"raw-loader": "^4.0.1",
"sass": "^1.22.7",
"sass-loader": "^7.1.0",
"source-map-loader": "^0.2.4",
"style-loader": "^0.23.1",
"terser-webpack-plugin": "2.2.1",
"ts-jest": "^24.0.0",
"ts-loader": "^5.3.3",
"ts-node": "^8.3.0",
"tslib": "^2.0.3",
"typescript": "3.8.3",
"webpack": "^4.41.4",
"webpack-cli": "^3.3.10",
"webpack-dev-server": "^3.7.2",
"webpack-merge": "^4.2.1"
},
"dependencies": {
"@docsearch/react": "^3.0.0-alpha.37",
"@influxdata/clockface": "^2.10.0",
"@influxdata/flux": "^0.5.1",
"@influxdata/flux-lsp-browser": "^0.5.53",
"@influxdata/giraffe": "^2.16.2",
"@influxdata/influx": "0.5.5",
"@influxdata/influxdb-templates": "0.9.0",
"@influxdata/react-custom-scrollbars": "4.3.8",
"abortcontroller-polyfill": "^1.3.0",
"auth0-js": "^9.13.2",
"babel-polyfill": "^6.26.0",
"bignumber.js": "^4.0.2",
"calculate-size": "^1.1.1",
"chroma-js": "^1.3.6",
"classnames": "^2.2.3",
"codemirror": "^5.58.2",
"connected-react-router": "^6.8.0",
"d3-format": "^1.3.2",
"d3-scale": "^2.1.0",
"fast.js": "^0.1.1",
"he": "1.2.0",
"history": "^4.7.2",
"honeybadger-js": "^1.0.2",
"html-to-react": "1.3.4",
"immer": "^9.0.3",
"immutable": "^3.8.1",
"intersection-observer": "^0.7.0",
"jsonlint-mod": "^1.7.5",
"lodash": "^4.17.21",
"memoize-one": "^4.0.2",
"moment": "^2.13.0",
"monaco-editor": "^0.19.2",
"monaco-editor-textmate": "^2.2.1",
"monaco-editor-webpack-plugin": "^1.8.2",
"monaco-languageclient": "^0.11.0",
"monaco-textmate": "^3.0.1",
"normalizr": "^3.4.1",
"onigasm": "^2.2.4",
"papaparse": "^5.2.0",
"prop-types": "^15.6.1",
"qs": "^6.5.2",
"react": "^16.11.0",
"react-beautiful-dnd": "^13.0.0",
"react-codemirror2": "^4.2.1",
"react-copy-to-clipboard": "^5.0.1",
"react-datepicker": "^2.1.0",
"react-dimensions": "^1.2.0",
"react-dnd": "^9.3.2",
"react-dnd-html5-backend": "^9.3.2",
"react-dom": "^16.8.2",
"react-grid-layout": "^0.16.6",
"react-loadable": "^5.5.0",
"react-markdown": "^4.0.3",
"react-monaco-editor": "^0.33.0",
"react-redux": "^7.2.0",
"react-router-dom": "^5.2.0",
"react-scrollbars-custom": "^4.0.0-alpha.8",
"react-virtualized": "^9.18.5",
"redux": "^4.0.0",
"redux-auth-wrapper": "^1.0.0",
"redux-thunk": "^2.3.0",
"reselect": "^4.0.0",
"rome": "^2.1.22",
"rudder-sdk-js": "^1.0.16",
"s2-geometry": "^1.2.10",
"seamless-immutable": "^7.1.3",
"unraw": "2.0.0",
"use-local-storage-state": "^9.0.2",
"uuid": "^3.2.1",
"webpack-bundle-analyzer": "^3.6.0"
}
}