-
Notifications
You must be signed in to change notification settings - Fork 12
/
package.json
106 lines (106 loc) · 3.96 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
{
"name": "htan-portal-nextjs",
"version": "0.1.0",
"private": true,
"workspaces": {
"packages": [
"packages/*",
"."
]
},
"scripts": {
"dev": "yarn run next dev",
"updateData": "yarn run findAndReplace && yarn run processSynapseJSON && yarn run gzip",
"gzip": "yarn run gzipData && yarn run gzipMetadata",
"gzipData": "gzip < public/syn_data.json > public/syn_data.json.gz && gzip < public/processed_syn_data.json > public/processed_syn_data.json.gz",
"gzipMetadata": "rm -rf data/metadata_gzip/ && cp -r data/metadata data/metadata_gzip && find data/metadata_gzip -type f -exec gzip {} \\; -exec mv {}.gz {} \\;",
"gunzip": "gunzip -c public/processed_syn_data.json.gz > public/processed_syn_data.json && gunzip -c public/syn_data.json.gz > public/syn_data.json",
"findAndReplace": "bash data/findAndReplace.sh",
"build": "yarn run gunzip && NODE_OPTIONS=--max_old_space_size=6144 next build",
"start": "yarn run gunzip && next start",
"processSynapseJSON": "npx --node-options='--openssl-legacy-provider --max_old_space_size=8192' ncc run data/processSynapseJSON.ts > data/processSynapseJSON.log 2> data/processSynapseJSON.error.log",
"prettierPreCommit": "STAGED_AND_CHANGED_FILES=$(git diff HEAD --name-only --cached --diff-filter=d) && ([ -z \"$STAGED_AND_CHANGED_FILES\" ] && echo \"Nothing to prettify\" || (yarn run prettier --write $(echo $STAGED_AND_CHANGED_FILES) && git add -f $(echo $STAGED_AND_CHANGED_FILES)))",
"prettierAll": "yarn run prettier --write $(git ls-files | grep '\\(.js\\|.ts\\|.scss\\|.css\\)')"
},
"pre-commit": [
"prettierPreCommit"
],
"dependencies": {
"@fortawesome/fontawesome-svg-core": "^1.2.34",
"@fortawesome/free-solid-svg-icons": "^5.15.2",
"@fortawesome/react-fontawesome": "^0.1.14",
"@mdx-js/loader": "^1.6.22",
"@mdx-js/mdx": "^1.6.22",
"@mdx-js/react": "^1.6.22",
"@next/mdx": "^12.0.4",
"@types/jmespath": "^0.15.0",
"@types/jquery": "^3.5.4",
"@types/micro-cors": "^0.1.0",
"@types/rc-tooltip": "^3.7.2",
"@types/react-helmet": "^6.1.0",
"@types/react-portal": "^4.0.2",
"@types/react-select": "^3.0.24",
"@types/react-spinkit": "^3.0.5",
"@types/roman-numerals": "^0.3.0",
"better-react-spinkit": "^2.0.4",
"bootstrap": "^4.4.1",
"classnames": "^2.3.2",
"csvtojson": "^2.0.10",
"global": "^4.4.0",
"gray-matter": "^4.0.3",
"jmespath": "^0.15.0",
"jquery": "^3.5.1",
"js-file-download": "^0.4.12",
"lodash": "^4.17.21",
"micro-cors": "^0.1.1",
"mobx": "^6.0.4",
"mobx-react": "^7.0.0",
"mobx-utils": "^5.6.2",
"next": "12.1",
"next-mdx-remote": "^3.0.8",
"node-fetch": "^2.6.0",
"node-sass": "9.0.0",
"pluralize": "^8.0.0",
"popper.js": "^1.16.1",
"prettier": "^2.1.2",
"prop-types": "^15.7.2",
"rc-tooltip": "^4.0.3",
"react": "^17.0.2",
"react-bootstrap": "^1.0.0-beta.17",
"react-children-utilities": "^2.9.0",
"react-data-table-component": "^6.9.0",
"react-dom": "16.13.0",
"react-helmet": "^6.1.0",
"react-is": "^17.0.1",
"react-portal": "^4.2.1",
"react-select": "^3.1.0",
"react-spinners": "^0.13.8",
"react-truncate-markup": "^5.1.0",
"remark-frontmatter": "^4.0.1",
"roman-numerals": "^0.3.2",
"semver": "^7.5.2",
"styled-components": "^5.1.0",
"swr": "^0.1.18",
"unfetch": "^4.1.0",
"vercel": "^21.1.0",
"victory": "^36.2.0"
},
"devDependencies": {
"@types/lodash": "^4.14.149",
"@types/node": "^13.9.3",
"@types/node-fetch": "^2.5.5",
"@types/pluralize": "^0.0.33",
"@types/react": "^16.9.23",
"@types/semver": "^7.5.0",
"@vercel/ncc": "^0.28.6",
"@vitejs/plugin-react": "^1.1.4",
"pre-commit": "^1.2.2",
"rollup-plugin-node-externals": "^6.1.2",
"sass": "^1.69.5",
"typed-scss-modules": "^8.0.0",
"typescript": "5.3.3",
"vite": "^2.7.13",
"vite-plugin-dts": "^0.9.9"
},
"packageManager": "yarn@1.22.17"
}