forked from Sage-Bionetworks/portals
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
109 lines (109 loc) · 3.78 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
{
"name": "my-app",
"version": "0.1.0",
"private": true,
"dependencies": {
"@fortawesome/fontawesome-free": "^5.13.0",
"@fortawesome/fontawesome-svg-core": "^1.2.4",
"@fortawesome/free-solid-svg-icons": "^5.3.1",
"@fortawesome/react-fontawesome": "^0.1.3",
"@material-ui/core": "^4.12.3",
"@material-ui/icons": "^4.9.1",
"clone-deep": "^4.0.1",
"lodash-es": "^4.17.21",
"plotly.js-basic-dist": "^1.47.3",
"react": "16.13.1",
"react-app-polyfill": "^1.0.1",
"react-bootstrap": "^1.0.0-beta.12",
"react-cookie": "4.0.0",
"react-dom": "16.13.1",
"react-router": "5.2.1",
"react-router-dom": "5.3.0",
"react-scripts": "4.0.3",
"react-spinners": "^0.8.3",
"sass": "^1.30.0",
"source-map-explorer": "^2.5.2",
"synapse-react-client": "2.0.41",
"typescript": "4.3.5"
},
"jest": {
"moduleNameMapper": {
"\\.(css|less)$": "identity-obj-proxy"
},
"transformIgnorePatterns": [
"<rootDir>/node_modules/(?!(synapse-react-client|lodash-es|jest*)/)"
]
},
"scripts": {
"build-css": "sass src/:src/ --load-path=src/config/style --load-path=src/style --load-path=.",
"watch-css": "yarn run build-css && sass src/ --watch --load-path=src/config/style --load-path=src/style --load-path=.",
"start-js": "DISABLE_ESLINT_PLUGIN=true react-scripts start",
"copy-favicon": "cp src/config/style/favicon* public/",
"save-build-date": "date > public/build-date.txt",
"start": "npm-run-all -p watch-css start-js",
"build": "yarn copy-favicon; yarn save-build-date; yarn run build-css && CI=false GENERATE_SOURCEMAP=false DISABLE_ESLINT_PLUGIN=true react-scripts --max_old_space_size=7168 build",
"copy-test-configuration": "cp -r src/test-configuration/ src/config/",
"test": "yarn run copy-test-configuration && react-scripts test --env=jsdom --setupFiles ./src/tests/setupTests.ts",
"generate-sitemap": "node sitemap/generate-sitemap.js",
"eject": "react-scripts eject",
"analyze": "yarn run copy-test-configuration && react-scripts --max_old_space_size=4096 build && source-map-explorer 'build/static/js/*.js'"
},
"devDependencies": {
"@types/enzyme": "^3.10.8",
"@types/enzyme-adapter-react-16": "^1.0.6",
"@types/jest": "24.0.9",
"@types/katex": "^0.5.0",
"@types/node": "11.10.4",
"@types/plotly.js": "^1.54.10",
"@types/react": "17.0.1",
"@types/react-dom": "16.9.6",
"@types/react-plotly.js": "^2.2.4",
"@types/react-router-dom": "^5.1.7",
"@types/react-tooltip": "^4.2.4",
"enzyme": "^3.10.0",
"enzyme-adapter-react-16": "^1.3.1",
"identity-obj-proxy": "^3.0.0",
"isomorphic-fetch": "^2.2.1",
"katex": "^0.10.0-rc.1",
"markdown-it": "^8.4.2",
"markdown-it-br": "^1.0.0",
"markdown-it-center-text": "^1.0.4",
"markdown-it-container": "^2.0.0",
"markdown-it-emphasis-alt": "^1.0.8",
"markdown-it-inline-comments": "^1.0.1",
"markdown-it-strikethrough-alt": "^1.0.0",
"markdown-it-sub-alt": "^1.0.0",
"markdown-it-sup-alt": "^1.0.2",
"markdown-it-synapse": "^1.1.7",
"markdown-it-synapse-heading": "^1.0.1",
"markdown-it-synapse-math": "^3.0.4",
"markdown-it-synapse-table": "^1.0.6",
"node": "^14.15.2",
"npm-run-all": "^4.1.5",
"pluralize": "^8.0.0",
"sanitize-html": "^1.18.4"
},
"browserslist": {
"production": [
">0.5%",
"last 2 versions",
"Firefox ESR",
"not ie <= 10",
"not ie_mob <= 10",
"not bb <= 10",
"not op_mob <= 12.1"
],
"development": [
"last 1 chrome version",
"last 1 firefox version",
"last 1 safari version"
]
},
"resolutions": {
"babel-jest": "^26.6.3",
"js-yaml": "3.13.1",
"react": "16.13.1",
"@types/react": "17.0.1",
"@types/react-dom": "16.9.6"
}
}