-
Notifications
You must be signed in to change notification settings - Fork 44
/
Copy pathpackage.json
249 lines (249 loc) · 10.1 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
247
248
249
{
"name": "@datalens-platform/datalens-ui",
"version": "0.0.0",
"files": [
"build",
"scripts"
],
"description": "DataLens",
"scripts": {
"i18n:prepare": "tsc src/i18n/prepare-keysets/index.ts --esModuleInterop --outDir dist/i18n && node dist/i18n/prepare-keysets/index.js",
"dev": "npm run i18n:prepare && SETUP_DEV_ENV_INSTALLATION=opensource node ./scripts/setup-dev-env.js && APP_BUILDER_ENTRY_FILTER=dl-main LOCAL_DEV_PORT=3030 app-builder dev",
"build": "npm run i18n:prepare && NODE_ENV=production NODE_OPTIONS=--max_old_space_size=4096 APP_BUILDER_CDN=false app-builder build",
"build:analyze": "npm run i18n:prepare && APP_BUILDER_ANALYZE_BUNDLE=statoscope UI_CORE_CDN=false APP_BUILDER_CDN=false NODE_ENV=production NODE_ENV=production NODE_OPTIONS=--max_old_space_size=4096 app-builder build",
"cdn": "npm run i18n:prepare && NODE_ENV=production NODE_OPTIONS=--max_old_space_size=4096 app-builder build",
"start": "NODE_ENV=production node dist/server",
"lint:js:main": "eslint --ignore-pattern 'src/ui/*' '**/*.{js,jsx,ts,tsx}' --quiet",
"lint:js:ui": "eslint -c src/ui/.ci-eslintrc 'src/ui/**/*.{js,jsx,ts,tsx}' --quiet",
"lint:styles": "stylelint 'src/ui/**/*.scss'",
"lint:prettier:src": "prettier --check 'src/**/*.{js,jsx,ts,tsx,json,css,scss}'",
"lint:prettier:tests": "prettier --check 'tests/**/*.{js,jsx,ts,tsx,json,css,scss}'",
"lint": "npm run lint:prettier:src && npm run lint:js:main && npm run lint:js:ui && npm run lint:styles && npm run lint:features",
"lint:fix": "npm run lint:js:main -- --fix && npm run lint:js:ui -- --fix && npm run lint:styles -- --fix",
"lint:features": "bash scripts/ci/lint-typecheck/features.sh",
"typecheck:i18n": "tsc -p src/i18n --noEmit",
"typecheck:server": "tsc -p src/server --noEmit",
"typecheck:ui": "tsc -p src/ui --noEmit",
"typecheck:tests": "cd tests && tsc --noEmit",
"typecheck": "npm run i18n:prepare && npm run typecheck:server && npm run typecheck:ui && npm run typecheck:tests",
"test:jest": "npm run i18n:prepare && jest",
"test:jestWatch": "npm run i18n:prepare && jest --watchAll",
"platform-tools": "platform-tools",
"prepare": "husky install",
"test:install:chromium": "npx playwright install --with-deps chromium",
"test:e2e": "cd tests && npx playwright test --config=./playwright.config.ts --project=basic",
"test:e2e:opensource": "cd tests && npx playwright test --config=./playwright.config.ts --project=opensource",
"test:e2e:us-dump": "bash scripts/e2e/us-dump.sh",
"test:e2e:docker": "cd ./tests && docker compose -f ./docker-compose.e2e.yml down --volumes && docker compose -f ./docker-compose.e2e.yml up --quiet-pull --no-log-prefix --exit-code-from datalens-from-image-tests datalens-from-image-tests",
"test:e2e:docker:playwright": "bash scripts/e2e/playwright-docker.sh 'npm run test:e2e:opensource'",
"test:e2e:docker:playwright:clear": "bash scripts/e2e/playwright-docker.sh 'clear-cache'",
"test:e2e:docker:report": "cd ./tests && docker compose -f ./docker-compose.e2e.yml cp datalens-from-image-tests:/opt/app/tests/artifacts ./artifacts",
"test:e2e:docker:check": "cd ./tests && docker compose -f ./docker-compose.e2e.yml config",
"test:e2e:docker:up": "cd ./tests && docker compose -f ./docker-compose.e2e.yml up --quiet-pull --build -d datalens-from-build",
"test:e2e:docker:up-no-build": "cd ./tests && docker compose -f ./docker-compose.e2e.yml up --no-build --quiet-pull -d datalens-from-build",
"test:e2e:docker:up-no-ui": "cd ./tests && docker compose -f ./docker-compose.e2e.yml up -d data-api control-api us postgres-e2e",
"test:e2e:docker:down": "cd ./tests && docker compose -f ./docker-compose.e2e.yml down --volumes",
"statoscope:validate-diff": "statoscope validate --input input.json --reference reference.json",
"statoscope:validate": "statoscope validate --input ./dist/public/build/stats.json"
},
"repository": {
"type": "git",
"url": "[email protected]:datalens-tech/datalens-ui.git"
},
"author": "DataLens Team <https://github.com/datalens-tech>",
"license": "Apache-2.0",
"dependencies": {
"@braintree/sanitize-url": "^6.0.0",
"@datalens-tech/xlsx": "^0.20.1",
"@diplodoc/latex-extension": "^1.1.0",
"@diplodoc/mermaid-extension": "^1.2.3",
"@diplodoc/transform": "^4.20.0",
"@gravity-ui/app-layout": "^2.1.0",
"@gravity-ui/browserslist-config": "^4.3.0",
"@gravity-ui/chartkit": "^5.19.1",
"@gravity-ui/dashkit": "^8.23.0",
"@gravity-ui/date-utils": "^2.5.6",
"@gravity-ui/expresskit": "^2.1.0",
"@gravity-ui/gateway": "^3.1.1",
"@gravity-ui/i18n": "^1.7.0",
"@gravity-ui/nodekit": "^1.7.0",
"@node-rs/crc32": "^1.7.2",
"ajv": "^8.12.0",
"axios": "^1.7.7",
"axios-retry": "^3.9.1",
"clipboard-copy": "^3.2.0",
"cookie-session": "^2.1.0",
"d3": "^7.8.5",
"dotenv": "^8.2.0",
"form-data": "^4.0.0",
"hashids": "^2.2.1",
"iconv-lite": "^0.4.24",
"ioredis": "^4.28.0",
"ismobilejs": "^1.1.1",
"js-sha1": "^0.6.0",
"js-yaml": "^4.1.0",
"json-fn": "^1.1.1",
"jsondiffpatch": "^0.6.0",
"jsonwebtoken": "^9.0.0",
"lodash": "^4.17.21",
"luxon": "^1.28.0",
"markdown-it-color": "^2.1.1",
"markdown-it-link-attributes": "^4.0.1",
"mime": "^1.6.0",
"moment": "^2.29.4",
"moment-timezone": "^0.5.34",
"node-cache": "^5.1.2",
"object-sizeof": "^2.6.5",
"p-queue": "^6.6.2",
"passport": "^0.5.3",
"passport-openidconnect": "^0.1.2",
"qs": "^6.10.1",
"querystring": "^0.2.0",
"quickjs-emscripten": "^0.29.1",
"react": "^17.0.2",
"react-dom": "^17.0.2",
"react-hotkeys-hook": "^4.5.0",
"react-window": "^1.8.9",
"request": "^2.88.2",
"request-promise-native": "^1.0.9",
"workerpool": "^9.1.1"
},
"devDependencies": {
"@datalens-tech/ui-sandbox-modules": "^0.33.0",
"@gravity-ui/app-builder": "^0.13.1",
"@gravity-ui/components": "^3.12.5",
"@gravity-ui/date-components": "^2.11.0",
"@gravity-ui/eslint-config": "^3.2.0",
"@gravity-ui/icons": "^2.11.0",
"@gravity-ui/navigation": "^2.29.0",
"@gravity-ui/prettier-config": "^1.1.0",
"@gravity-ui/react-data-table": "^2.1.1",
"@gravity-ui/sdk": "^1.5.1",
"@gravity-ui/stylelint-config": "^4.0.1",
"@gravity-ui/tsconfig": "^1.0.0",
"@gravity-ui/ui-logger": "^1.1.0",
"@gravity-ui/uikit": "^6.39.0",
"@jest/types": "^29.6.3",
"@microsoft/fetch-event-source": "^2.0.1",
"@playwright/test": "^1.48.2",
"@statoscope/cli": "^5.28.2",
"@statoscope/stats-validator-plugin-webpack": "^5.28.2",
"@statoscope/webpack-ui": "^5.28.2",
"@stripe/react-stripe-js": "^1.8.1",
"@stripe/stripe-js": "^1.30.0",
"@tanstack/react-table": "^8.12.0",
"@tanstack/react-virtual": "^3.8.1",
"@testing-library/jest-dom": "^5.16.2",
"@testing-library/react": "^12.1.4",
"@types/cookie-session": "^2.0.49",
"@types/d3": "^7.4.0",
"@types/express": "^4.17.11",
"@types/gtag.js": "0.0.10",
"@types/hashids": "^1.0.32",
"@types/history": "^4.7.11",
"@types/http-proxy": "^1.17.10",
"@types/ioredis": "^4.28.8",
"@types/jest": "^29.2.5",
"@types/js-yaml": "^4.0.5",
"@types/jsonwebtoken": "^9.0.1",
"@types/lodash": "^4.14.168",
"@types/luxon": "^1.26.2",
"@types/markdown-it": "^13.0.7",
"@types/markdown-it-link-attributes": "^3.0.4",
"@types/node": "^20.16.10",
"@types/passport-openidconnect": "^0.1.3",
"@types/pixelmatch": "^5.2.4",
"@types/pngjs": "^6.0.1",
"@types/rc-slider": "^8.6.6",
"@types/react": "^17.0.40",
"@types/react-dom": "^17.0.13",
"@types/react-inspector": "^4.0.2",
"@types/react-redux": "^7.1.16",
"@types/react-router": "^5.1.11",
"@types/react-router-dom": "^5.1.7",
"@types/react-window": "^1.8.5",
"@types/recompose": "^0.30.7",
"@types/redux-logger": "^3.0.9",
"@types/request-promise-native": "^1.0.21",
"@types/uuid": "^9.0.8",
"@types/webpack-env": "^1.16.0",
"@types/yup": "^0.29.13",
"bem-cn-lite": "^4.0.0",
"blueimp-md5": "^2.19.0",
"classnames": "^2.5.1",
"cli-color": "2.0.1",
"colormap": "^2.3.2",
"copy-to-clipboard": "^3.3.3",
"csstype": "^3.1.3",
"eslint": "^8.56.0",
"highcharts": "^8.2.2",
"history": "^4.10.1",
"htmlparser2": "^8.0.2",
"http-proxy": "^1.18.1",
"husky": "^8.0.3",
"immutability-helper": "^3.1.1",
"jest": "^29.3.1",
"jest-circus": "^27.5.1",
"jest-environment-jsdom": "^29.3.1",
"jest-environment-node": "^29.3.1",
"jest-html-reporters": "^2.1.2",
"lint-staged": "^13.2.2",
"mockdate": "^3.0.5",
"monaco-editor": "^0.36.1",
"monaco-editor-webpack-plugin": "^7.1.0",
"pixelmatch": "^5.2.1",
"pngjs": "^6.0.0",
"postcss": "^8.4.33",
"prettier": "^3.2.5",
"prop-types": "^15.8.0",
"rc-slider": "^10.5.0",
"react-copy-to-clipboard": "^5.0.3",
"react-dnd": "^10.0.2",
"react-dnd-html5-backend": "^10.0.2",
"react-inspector": "^5.1.1",
"react-intersection-observer": "^9.4.0",
"react-monaco-editor": "^0.52.0",
"react-redux": "^7.2.4",
"react-router-dom": "^5.2.0",
"react-split-pane": "^0.1.92",
"react-virtualized-auto-sizer": "^1.0.20",
"react-waypoint": "^10.3.0",
"recompose": "npm:react-recompose@^0.33.0",
"redux": "^4.1.1",
"redux-devtools-extension": "^2.13.9",
"redux-logger": "^3.0.6",
"redux-thunk": "^2.3.0",
"reselect": "^4.1.8",
"resize-observer-polyfill": "^1.5.1",
"robust-point-in-polygon": "^1.0.3",
"stylelint": "^15.11.0",
"ts-jest": "^29.0.5",
"ts-node": "^10.9.1",
"tsconfig-paths": "^3.14.0",
"typescript": "^5.4.5",
"url": "^0.11.1",
"utility-types": "^3.10.0",
"uuid": "^9.0.1",
"yup": "^0.32.9"
},
"overrides": {
"react": "^17.0.2",
"react-dom": "^17.0.2"
},
"deploy": {
"project": "stat",
"app": "dx",
"component": "datalens",
"workflow": "workflow.json"
},
"engines": {
"node": "20",
"npm": ">=8"
},
"browserslist": [
"extends @gravity-ui/browserslist-config"
],
"optionalDependencies": {
"fsevents": "^2.3.2"
}
}