forked from cyverse-de/sonora
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
185 lines (185 loc) · 6.01 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
{
"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 ./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 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/",
"clean": "rimraf ./.next ./dist ./generated-docs",
"check": "npx prettier --check ./src/**/*.js ./.storybook/**/*.js ./stories/**/*.js public/static/locales/**/*.json && eslint --max-warnings=0 ./src/ ./stories/ && 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": {
"@date-fns/upgrade": "^1.0.3",
"@material-ui/core": "^4.12.1",
"@material-ui/icons": "^4.11.2",
"@material-ui/lab": "^4.0.0-alpha.60",
"@material-ui/styles": "^4.11.4",
"@next/bundle-analyzer": "^9.4.0",
"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": "^5.61.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",
"express-ws": "^5.0.2",
"formik": "^2.2.5",
"handlebars": "^4.7.7",
"i18next": "^19.8.3",
"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": "^10.2.3",
"next-i18next": "^7.0.1",
"numeral": "^2.0.6",
"postman-request": "^2.88.1-postman.18",
"react": "^16.13.1",
"react-chartjs-2": "^4.0.0",
"react-codemirror2": "^7.2.1",
"react-dom": "^16.13.1",
"react-highlighter-ts": "^2.2.0",
"react-i18next": "^11.7.3",
"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"
},
"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.3.4",
"@storybook/addon-console": "^1.2.3",
"@storybook/addon-essentials": "^6.3.4",
"@storybook/react": "^6.3.4",
"@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",
"jest": "^24.9.0",
"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": "^16.12.0",
"rimraf": "^3.0.0",
"storybook-addon-next-router": "^2.0.3"
},
"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"
]
},
"lint-staged": {
"*.js": [
"eslint --max-warnings=0",
"prettier --write",
"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"
]
}
}