Repository navigation
Expand file tree
/
Copy pathpackage.json
More file actions
100 lines (100 loc) · 3.4 KB
/
Copy pathpackage.json
File metadata and controls
100 lines (100 loc) · 3.4 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
{
"name": "deepphe-visualizer-v2",
"version": "2.0.0",
"private": true,
"license": "Apache-2.0",
"description": "DeepPhe Visualizer v2 - Cancer phenotype visualization and analysis",
"dependencies": {
"@emotion/cache": "11.10.8",
"@emotion/react": "11.11.4",
"@emotion/styled": "11.10.8",
"@mui/icons-material": "5.11.16",
"@mui/lab": "^5.0.0-alpha.177",
"@mui/material": "^5.16.4",
"@mui/system": "5.16.4",
"@mui/utils": "5.16.4",
"@mui/x-charts": "^7.10.0",
"@mui/x-data-grid": "^7.6.2",
"@tanstack/react-table": "^8.21.3",
"d3-interpolate": "^3.0.1",
"d3-scale": "^4.0.2",
"express": "^5.2.1",
"html-react-parser": "^5.2.11",
"http-proxy-middleware": "^2.0.9",
"prop-types": "15.8.1",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react-router-dom": "^6.30.1",
"react-scripts": "5.0.1"
},
"scripts": {
"start": "craco start",
"build": "craco build",
"test": "craco test",
"mock-api": "node mock-api/server.js",
"demo": "cross-env PORT=3002 docker compose -f docker-compose.yml -f docker-compose.demo.yml up -d --build deepphe-visualizer-v2",
"eject": "react-scripts eject",
"lint": "eslint src/",
"lint:patient-ids": "node scripts/check-no-patient-ids.mjs",
"lint:a11y": "eslint src/ --rule 'jsx-a11y/alt-text: error' --rule 'jsx-a11y/anchor-is-valid: error'",
"install:clean": "rm -rf node_modules/ && rm -rf package-lock.json && npm install && npm start",
"capture:screenshots": "node scripts/capture-screenshots.mjs",
"test:layout-bottoms": "node scripts/test-filter-card-bottoms.mjs",
"docs:install": "npm ci --prefix docs-site",
"docs:start": "npm run docs:prepare && npm --prefix docs-site run start",
"docs:prepare": "node scripts/prepare-docs.mjs",
"docs:build": "npm run docs:prepare && npm --prefix docs-site run build",
"docs:serve": "npm --prefix docs-site run serve",
"docs:pdf": "node scripts/export-pdf.mjs",
"docs:generate": "npm run capture:screenshots && npm run docs:build && npm run docs:pdf",
"package:web": "cross-env REACT_APP_DEEPPHE_API_LOCATION=/ npm run build",
"package": "npm run package:web && node scripts/package-pkg.mjs"
},
"eslintConfig": {
"extends": [
"react-app",
"react-app/jest"
]
},
"browserslist": {
"production": [
">0.2%",
"not dead",
"not op_mini all"
],
"development": [
"last 1 chrome version",
"last 1 firefox version",
"last 1 safari version"
]
},
"devDependencies": {
"@axe-core/react": "^4.11.1",
"@craco/craco": "^7.1.0",
"@pmmmwh/react-refresh-webpack-plugin": "^0.6.1",
"@react-buddy/ide-toolbox": "^2.4.0",
"@react-buddy/palette-mui": "^5.0.1",
"@yao-pkg/pkg": "^6.7.0",
"cross-env": "^7.0.3",
"eslint": "^8.57.0",
"eslint-config-prettier": "8.8.0",
"eslint-config-react-app": "^7.0.1",
"eslint-plugin-import": "2.27.5",
"eslint-plugin-jsx-a11y": "6.7.1",
"eslint-plugin-prettier": "4.2.1",
"eslint-plugin-react": "^7.37.5",
"eslint-plugin-react-hooks": "^5.2.0",
"playwright": "^1.58.2",
"prettier": "2.8.8",
"react-refresh": "^0.17.0"
},
"overrides": {
"svgo": "3.0.2"
},
"jest": {
"transformIgnorePatterns": [
"^.+\\.module\\.(css|sass|scss)$",
"[/\\\\]node_modules[/\\\\](?!d3-|internmap|delaunator|robust-predicates).+\\.(js|mjs|jsx|ts|tsx)$"
]
}
}