-
Notifications
You must be signed in to change notification settings - Fork 16
/
package.json
210 lines (210 loc) · 7.14 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
{
"name": "sonora",
"version": "0.0.1",
"description": "The UI for the CyVerse Discovery Environment.",
"main": "index.js",
"scripts": {
"dev": "nodemon",
"dev-server": "cross-env NODE_ENV=development babel-node -r './src/server/tracing.js' ./src/server/",
"build-frontend": "next build",
"build-server": "babel ./src/i18n.js ./src/constants.js --out-dir dist/ && babel ./src/server --out-dir dist/server && babel ./src/common --out-dir dist/common",
"build-docs": "jsdoc -r -d generated-docs ./src",
"build": "run-p build-frontend build-server build-docs",
"start": "cross-env NODE_ENV=production node -r './dist/server/tracing.js' dist/server/index.js",
"storybook": "start-storybook -p 9009 -s public",
"build-storybook": "build-storybook -s public",
"test": "TZ=UTC jest",
"test-watch": "TZ=UTC jest --watch",
"format": "prettier --write 'src/**/*.js' './.storybook/**/*.js' 'stories/**/*.js' 'public/static/locales/**/*.json'",
"lint": "eslint --max-warnings=0 ./src/ ./stories/ ./.storybook/",
"clean": "rimraf ./.next ./dist ./generated-docs",
"check-format": "npx prettier --check ./src/**/*.js ./.storybook/**/*.js ./stories/**/*.js public/static/locales/**/*.json",
"check-styles": "npm run check-format && npm run lint",
"check": "npm run check-styles && TZ=UTC jest"
},
"repository": {
"type": "git",
"url": "git+https://github.com/cyverse-de/sonora.git"
},
"author": "CyVerse Core Software",
"license": "BSD-3-Clause",
"bugs": {
"url": "https://github.com/cyverse-de/sonora/issues"
},
"homepage": "https://github.com/cyverse-de/sonora#readme",
"nodemonConfig": {
"watch": [
"src/server",
"src/common"
],
"ext": "js",
"exec": "run-p dev-server"
},
"eslintConfig": {
"extends": [
"react-app",
"plugin:jsx-a11y/recommended"
],
"rules": {
"react/react-in-jsx-scope": "off"
},
"plugins": [
"jsx-a11y"
]
},
"dependencies": {
"@codemirror/lang-markdown": "^6.0.5",
"@codemirror/lang-python": "^6.1.1",
"@codemirror/legacy-modes": "^6.3.1",
"@codemirror/state": "^6.2.0",
"@codemirror/view": "^6.7.2",
"@date-fns/upgrade": "^1.0.3",
"@emotion/react": "^11.11.1",
"@emotion/styled": "^11.11.0",
"@mui/icons-material": "^5.14.9",
"@mui/lab": "^5.0.0-alpha.152",
"@mui/material": "^5.14.9",
"@mui/styles": "^5.14.9",
"@next/bundle-analyzer": "^12.3.4",
"@opentelemetry/api": "^1.0.4",
"@opentelemetry/exporter-jaeger": "^1.0.1",
"@opentelemetry/instrumentation-amqplib": "^0.28.0",
"@opentelemetry/instrumentation-express": "^0.28.0",
"@opentelemetry/instrumentation-http": "^0.27.0",
"@opentelemetry/instrumentation-pg": "^0.28.0",
"@opentelemetry/sdk-node": "^0.27.0",
"@opentelemetry/sdk-trace-base": "^1.0.1",
"amqplib": "^0.8.0",
"animated-number-react": "^0.1.1",
"axios": "^0.21.1",
"bowser": "^2.9.0",
"camelcase": "^5.3.1",
"chart.js": "^3.6.0",
"chartjs-plugin-datalabels": "^2.0.0",
"classnames": "^2.2.6",
"clsx": "^1.1.0",
"codemirror": "^6.0.1",
"compression": "^1.7.4",
"config": "^3.3.1",
"connect-pg-simple": "^6.1.0",
"date-fns": "^2.11.1",
"express": "^4.17.1",
"express-session": "^1.17.1",
"express-winston": "^4.0.2",
"formik": "^2.2.5",
"i18next": "^22.4.9",
"is-plain-object": "^3.0.0",
"jsonpath-plus": "^4.0.0",
"keycloak-connect": "^7.0.1",
"lottie-web": "^5.7.6",
"md5": "^2.2.1",
"micromatch": "^4.0.2",
"next": "^12.3.4",
"next-i18next": "^13.0.3",
"numeral": "^2.0.6",
"postman-request": "^2.88.1-postman.18",
"react": "^17.0.2",
"react-chartjs-2": "^4.0.0",
"react-dom": "^17.0.2",
"react-highlighter-ts": "^2.2.0",
"react-i18next": "^12.1.4",
"react-joyride": "^2.3.0",
"react-player": "^2.6.2",
"react-query": "^3.21.1",
"react-table": "^7.7.0",
"sanitize-html": "^2.3.2",
"showdown": "^1.9.1",
"sockette": "^2.0.6",
"unleash-client": "^3.8.1",
"uuid": "^3.4.0",
"winston": "^3.2.1",
"ws": "^8.13.0"
},
"optionalDependencies": {
"fsevents": "^1.2.11"
},
"devDependencies": {
"@babel/cli": "^7.7.7",
"@babel/core": "^7.9.6",
"@babel/node": "^7.7.7",
"@storybook/addon-actions": "^6.5.9",
"@storybook/addon-console": "^1.2.3",
"@storybook/addon-essentials": "^6.5.9",
"@storybook/builder-webpack5": "^6.5.15",
"@storybook/manager-webpack5": "^6.5.15",
"@storybook/react": "^6.5.9",
"@typescript-eslint/eslint-plugin": "^2.31.0",
"@typescript-eslint/parser": "^2.31.0",
"axios-mock-adapter": "^1.18.1",
"babel-eslint": "^10.1.0",
"cross-env": "^6.0.3",
"eslint": "^6.8.0",
"eslint-config-react-app": "^5.1.0",
"eslint-plugin-flowtype": "^3.13.0",
"eslint-plugin-import": "^2.19.1",
"eslint-plugin-jsx-a11y": "^6.2.3",
"eslint-plugin-react": "^7.17.0",
"eslint-plugin-react-hooks": "^1.7.0",
"fetch-mock": "^9.5.0",
"husky": "^4.0.10",
"i18next-http-backend": "^2.1.1",
"jest": "^26.6.3",
"jest-next-dynamic": "^1.0.1",
"jsdoc": "^3.6.3",
"lint-staged": "^10.2.2",
"nodemon": "^2.0.2",
"npm-run-all": "^4.1.5",
"prettier": "^2.0.5",
"react-test-renderer": "^17.0.2",
"rimraf": "^3.0.0",
"storybook-addon-next-router": "^3.1.1",
"webpack": "^5.76.0"
},
"resolutions": {
"@storybook/react/webpack": "^5"
},
"prettier": {
"trailingComma": "es5",
"tabWidth": 4,
"bracketSpacing": true,
"arrowParens": "always",
"jsxBracketSameLine": false
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"jest": {
"moduleNameMapper": {
"\\.(jpg|png|svg)$": "<rootDir>/src/__mocks__/imageMock.js"
},
"moduleDirectories": [
"node_modules",
"src"
],
"transformIgnorePatterns": [
"/node_modules/(?!(@codemirror/legacy-modes)/)"
]
},
"lint-staged": {
"*.js": [
"eslint --max-warnings=0 ./src/ ./stories/ ./.storybook/",
"prettier --write",
"cross-env TZ=UTC jest --bail --findRelatedTests"
]
},
"browserslist": {
"production": [
">0.2%",
"not dead",
"not ie <= 11",
"not op_mini all"
],
"development": [
"last 1 chrome version",
"last 1 firefox version",
"last 1 safari version"
]
}
}