Repository navigation
Expand file tree
/
Copy pathpackage.json
More file actions
140 lines (140 loc) · 5.63 KB
/
Copy pathpackage.json
File metadata and controls
140 lines (140 loc) · 5.63 KB
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
{
"name": "chrisui",
"private": true,
"version": "0.0.0",
"scripts": {
"start": "pnpm run dev:metal",
"dev:legacy": "pnpm run test:prepare && vite",
"dev:public": "vite -c testing/publicCUBE/vite.config.ts",
"dev:metal": "vite",
"build": "vite build",
"build:docker": "pnpm build",
"test": "vitest",
"__test:prepare:comment": "# test:prepare runs CUBE locally and loads sample DICOM data into the PACS.",
"test:prepare": "pnpm run minichris:up && pnpm run get-dicoms && pnpm run minichris:wipe",
"test:e2e": "playwright test -c playwright.config.ts",
"test:e2e:local": "env TEST_LOCAL=yes pnpm run test:e2e",
"test:report": "nyc report --reporter=text",
"test:lcov": "nyc report --reporter=lcov",
"test:ui": "playwright test -c playwright.config.ts --ui",
"test:ui:local": "env TEST_LOCAL=yes pnpm run test:ui",
"test:codegen": "playwright codegen $(pnpm run -s get-running-url)",
"test:codegen:mobile": "playwright codegen --device 'Pixel 5' $(pnpm run -s get-running-url)",
"__minichris:comment": "# The minichris:* commands are for running a ChRIS backend locally",
"minichris:up": "cd testing/miniChRIS && docker compose --profile pacs up -d && cd - && pnpm run chrisomatic",
"minichris:down": "cd testing/miniChRIS && ./unmake.sh",
"minichris:wipe": "./testing/miniChRIS/scripts/clear_pacsfiles.sh",
"chrisomatic": "testing/chrisomatic.sh",
"get-dicoms": "./testing/getDicoms.mjs",
"list-mrns": "./testing/miniChRIS/scripts/list_mrns.sh",
"upload-dicom": "./testing/miniChRIS/scripts/upload2orthanc.sh",
"__chris-backend:comment": "# chris-backend:* commands are for running ",
"chris-backend:up": "cd third-party/chris-backend; scripts/run-docker-compose.sh; scripts/run-dev.sh; cd ../..",
"__dev-utils:comment": "# biome: lint, fix, and fmt. vite: preview",
"lint": "biome lint .",
"fix": "biome check --apply .",
"fix:unsafe": "biome check --apply-unsafe .",
"fmt": "biome format --write .",
"preview": "vite preview",
"__helper_functions": "",
"get-running-url": "./testing/get_running_url.sh",
"print-version": "node printVersion.js",
"fs2niivue": "if [ -d third-party/fs2NiiVueColormaps ]; then cd third-party/fs2NiiVueColormaps; python3 fs2niivue.py; cp FreesurferColorLUT.v7.4.1.json ../../src/components/Preview/displays; rm *.json; cd ../..; else echo '[WARN] need to git submodule fs2NiiVueColormaps first'; fi",
"mipav2niivue": "mipav-to-niivue -d third-party/mipav -o src/components/Preview/displays/mipav"
},
"dependencies": {
"@ant-design/icons": "^5.5.1",
"@cornerstonejs/core": "^1.86.0",
"@cornerstonejs/dicom-image-loader": "^1.86.0",
"@cornerstonejs/tools": "^1.86.0",
"@fnndsc/chrisapi": "^1.23.0",
"@microlink/react-json-view": "^1.26.2",
"@niivue/niivue": "0.62.1",
"@patternfly/react-charts": "^7.4.0",
"@patternfly/react-core": "^5.4.0",
"@patternfly/react-icons": "^5.4.0",
"@patternfly/react-log-viewer": "^5.3.0",
"@patternfly/react-styles": "^5.4.0",
"@patternfly/react-table": "^5.4.0",
"@react-hook/resize-observer": "^2.0.2",
"@reduxjs/toolkit": "^2.2.7",
"@tanstack/react-query": "^5.56.2",
"antd": "^5.20.6",
"axios": "^1.7.5",
"d3-hierarchy": "^3.1.2",
"d3-quadtree": "^3.0.1",
"d3-selection": "^3.0.0",
"d3-shape": "^3.2.0",
"d3-zoom": "^3.0.0",
"date-fns": "^4.1.0",
"dcmjs": "^0.34.5",
"dicom-parser": "^1.8.21",
"email-validator": "^2.0.4",
"fp-ts": "^2.16.9",
"hammerjs": "^2.0.8",
"immer": "^10.1.1",
"lodash": "^4.17.21",
"marked": "14.1.2",
"micromark": "^4.0.0",
"micromark-extension-gfm": "^3.0.0",
"pako": "^1.0.11",
"papaparse": "^5.4.1",
"preval.macro": "^5.0.0",
"query-string": "^9.1.0",
"rc-tree": "^5.8.8",
"react": "^18.3.1",
"react-activity": "^2.1.3",
"react-bootstrap-typeahead": "^6.3.2",
"react-cookie": "^7.2.0",
"react-dom": "^18.3.1",
"react-dropzone": "^14.2.3",
"react-error-boundary": "^4.0.13",
"react-force-graph-2d": "^1.25.5",
"@chhsiao1981/use-thunk": "^10.0.4",
"react-redux": "^9.1.2",
"react-resizable-panels": "^2.1.4",
"react-responsive": "^10.0.0",
"react-router": "^6.30.1",
"react-router-dom": "^6.30.1",
"react-use-websocket": "^4.13.0",
"redux-saga": "^1.3.0",
"sanitize-html": "^2.13.0",
"shlex": "^2.1.2",
"typescript": "^5.6.2",
"use-ackee": "^3.1.0",
"use-immer": "^0.10.0",
"uuid": "^10.0.0",
"vite-plugin-babel-macros": "^1.0.6",
"yaml": "^2.8.0"
},
"devDependencies": {
"@biomejs/biome": "^2.1.4",
"@faker-js/faker": "^9.0.1",
"@playwright/test": "^1.46.1",
"@redux-devtools/extension": "^3.3.0",
"@testing-library/dom": "^10.4.0",
"@testing-library/jest-dom": "^6.5.0",
"@testing-library/react": "^16.0.1",
"@types/d3-hierarchy": "3.1.7",
"@types/d3-quadtree": "^3.0.6",
"@types/d3-selection": "3.0.10",
"@types/d3-shape": "^3.1.6",
"@types/d3-zoom": "^3.0.8",
"@types/lodash": "^4.17.7",
"@types/node": "^22.5.5",
"@types/react": "^18.3.4",
"@types/react-dom": "^18.3.0",
"@types/redux-logger": "^3.0.13",
"@types/uuid": "10.0.0",
"@vitejs/plugin-react-swc": "^3.7.0",
"happy-dom": "^15.0.0",
"lefthook": "^1.7.14",
"redux-logger": "4.0.0",
"vite": "^6.0.7",
"vite-plugin-istanbul": "^6.0.2",
"vitest": "^3.2.4",
"vitest-websocket-mock": "^0.4.0"
},
"type": "module",
"packageManager": "pnpm@9.12.2+sha512.22721b3a11f81661ae1ec68ce1a7b879425a1ca5b991c975b074ac220b187ce56c708fe5db69f4c962c989452eee76c82877f4ee80f474cebd61ee13461b6228"
}