-
Notifications
You must be signed in to change notification settings - Fork 10
/
package.json
214 lines (214 loc) · 7.88 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
{
"name": "carta-frontend",
"version": "5.0.0-dev",
"repository": "https://github.com/CARTAvis/carta-frontend",
"description": "The browser-based frontend component of CARTA, a radio-astronomy visualization tool designed for the ALMA, the VLA and the SKA pathfinders.",
"homepage": "./",
"devDependencies": {
"@blueprintjs/core": "^5.11.0",
"@blueprintjs/icons": "^5.7.1",
"@blueprintjs/select": "^5.2.2",
"@blueprintjs/table": "^5.1.8",
"@testing-library/jest-dom": "^6.4.8",
"@testing-library/react": "^16.0.1",
"@testing-library/user-event": "^14.5.2",
"@types/jest": "^29.5.12",
"@types/jquery": "^3.5.30",
"@types/lodash": "^4.17.7",
"@types/node": "^20.14.13",
"@types/plotly.js": "^2.33.3",
"@types/prismjs": "^1.26.4",
"@types/react": "^18.3.12",
"@types/react-dom": "^18.3.1",
"@types/react-plotly.js": "^2.6.3",
"@types/react-virtualized-auto-sizer": "^1.0.4",
"@types/react-window": "^1.8.8",
"@types/tinycolor2": "^1.4.6",
"ajv": "^8.17.1",
"assert": "^2.1.0",
"axios": "^1.7.2",
"buffer": "^6.0.3",
"chart.js": "^4.4.3",
"classnames": "^2.5.1",
"constants-browserify": "^1.0.0",
"crypto-browserify": "^3.12.0",
"eslint-plugin-simple-import-sort": "^12.1.1",
"eslint-plugin-tsdoc": "^0.3.0",
"fuzzy-search": "^3.2.1",
"glob-to-regexp": "^0.4.1",
"golden-layout": "^1.5.9",
"html2canvas": "^1.4.1",
"idb": "^8.0.0",
"jest-canvas-mock": "^2.5.2",
"jwt-decode": "^4.0.0",
"konva": "^9.3.16",
"lodash": "^4.17.15",
"mnemonist": "^0.39.8",
"mobx": "^6.13.1",
"mobx-react": "^7.6.0",
"moment": "^2.30.1",
"npm-run-all": "^4.1.3",
"os-browserify": "^0.3.0",
"path-browserify": "^1.0.1",
"plotly.js": "^2.34.0",
"prettier": "3.3.3",
"preval.macro": "^5.0.0",
"prismjs": "^1.29.0",
"protobufjs": "^7.3.2",
"protobufjs-cli": "1.1.2",
"raw-loader": "^4.0.2",
"react": "^18.3.1",
"react-chartjs-2": "^5.2.0",
"react-color": "^2.17.3",
"react-dom": "^18.3.1",
"react-iframe": "^1.8.5",
"react-konva": "^18.2.10",
"react-plotly.js": "^2.6.0",
"react-resize-detector": "^9.1.1",
"react-rnd": "^10.4.11",
"react-scroll-to-bottom": "^4.2.0",
"react-simple-code-editor": "^0.14.1",
"react-split-pane": "^0.1.91",
"react-virtualized-auto-sizer": "^1.0.24",
"react-window": "^1.8.10",
"rxjs": "^7.8.1",
"sass": "^1.77.8",
"semver": "^7.6.3",
"source-map-explorer": "^2.5.3",
"stats-js": "^1.0.1",
"stream-browserify": "^3.0.0",
"tinycolor2": "^1.6.0",
"tsc-silent": "^1.2.2",
"typescript": "^5.5.4",
"util": "^0.12.5",
"uuid": "^10.0.0",
"worker-loader": "^3.0.8"
},
"scripts": {
"git-info": "./git-info.sh",
"analyze": "source-map-explorer build/static/js/main.*",
"postinstall": "patch-package",
"start": "npm run git-info; npm run strict-null-checks && react-scripts start",
"build": "npm run git-info; npm-run-all build-wrappers build-protobuf build-ts",
"build-docker": "npm run git-info; npm-run-all build-wrappers-docker build-protobuf build-ts",
"build-singularity": "npm run git-info; npm-run-all build-wrappers-singularity build-protobuf build-ts",
"build-ts": "npm run strict-null-checks && react-scripts --max_old_space_size=4096 build",
"build-libs": "./wasm_libs/build_libs.sh",
"build-libs-docker": "./build_wasm_libs_docker.sh",
"build-libs-singularity": "./build_wasm_libs_singularity.sh",
"build-wrappers": "./wasm_src/build_wrappers.sh",
"build-wrappers-docker": "./build_wasm_wrappers_docker.sh",
"build-wrappers-singularity": "./build_wasm_wrappers_singularity.sh",
"build-protobuf": "./protobuf/build_proto.sh",
"test": "react-scripts test --env=jsdom",
"eject": "react-scripts eject",
"reformat": "npx prettier --write ./src",
"checkformat": "npx prettier --check ./src",
"prepack": "npm run build-libs-docker; npm run build-docker",
"fix-eslint": "eslint --fix ./src",
"check-eslint": "eslint ./src",
"strict-null-checks": "npx tsc-silent -p tsconfig.strictNullChecks.json --suppressConfig tsc-silent.config.js"
},
"eslintConfig": {
"extends": "react-app",
"plugins": [
"simple-import-sort",
"eslint-plugin-tsdoc"
],
"rules": {
"no-unused-expressions": "off",
"@typescript-eslint/no-unused-expressions": "error",
"import/no-webpack-loader-syntax": "off",
"no-unused-vars": "off",
"@typescript-eslint/no-unused-vars": [
"error",
{
"args": "none"
}
],
"object-curly-spacing": "off",
"jsx-a11y/alt-text": "off",
"simple-import-sort/imports": "error",
"simple-import-sort/exports": "error",
"import/newline-after-import": "error",
"import/no-duplicates": "error",
"tsdoc/syntax": "error"
},
"overrides": [
{
"files": [
"*.js",
"*.jsx",
"*.ts",
"*.tsx"
],
"rules": {
"simple-import-sort/imports": [
"error",
{
"groups": [
[
"^react",
"^@?\\w"
],
[
"^(components|icons|models|services|stores|utilities)(/.*|$)"
],
[
"^\\u0000"
],
[
"^\\.\\.(?!/?$)",
"^\\.\\./?$"
],
[
"^\\./(?=.*/)(?!/?$)",
"^\\.(?!/?$)",
"^\\./?$"
],
[
"^.+\\.?(css)$"
]
]
}
]
}
}
]
},
"browserslist": {
"production": [
"last 2 chrome versions",
"last 2 firefox versions",
"last 2 safari versions"
],
"development": [
"last 1 chrome version",
"last 1 firefox version",
"last 1 safari version"
]
},
"jest": {
"transformIgnorePatterns": [
"node_modules/(?!(konva|@blueprintjs|axios|usehooks-ts))"
],
"moduleNameMapper": {
"canvas": "jest-canvas-mock",
"zfp_wrapper": "<rootDir>/src/__mocks__/ZFPWorkerMock.js"
}
},
"dependencies": {
"patch-package": "^8.0.0",
"react-scripts": "^5.0.1",
"usehooks-ts": "^3.1.0"
},
"overrides": {
"react": "^18.3.1",
"react-dom": "^18.3.1",
"typescript": "^5.5.4",
"fork-ts-checker-webpack-plugin": "^6.5.3",
"@typescript-eslint/typescript-estree": "^7.15.0",
"@typescript-eslint/parser": "^7.15.0",
"@types/trusted-types": "^2.0.7"
}
}