forked from BlueBrain/nexus-web
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
220 lines (220 loc) · 7.03 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
211
212
213
214
215
216
217
218
219
220
{
"name": "nexus-fusion",
"description": "The interface of Blue Brain Nexus, the open-source knowledge graph for data-driven science.",
"version": "1.6.0-M5",
"author": "Blue Brain project",
"license": "Apache-2.0",
"main": "dist/server.js",
"repository": "github:bluebrain/nexus-explorer",
"url": "https://github.com/BlueBrain/nexus/issues/new?labels=frontend,nexus-web",
"scripts": {
"start": "NODE_ENV=development DEBUG=* webpack --mode development --config-name server && node dist/server.js",
"build": "NODE_ENV=production NODE_OPTIONS=--max_old_space_size=8192 webpack --mode production",
"test": "jest",
"cy:open": "cypress open",
"cy:run": "cypress run",
"test-ui": "API_ENDPOINT=http://test start-server-and-test start http://localhost:8000 cy:run",
"codecov": "codecov",
"lint": "tslint --project tsconfig.json",
"style": "prettier --check \"./src/**/*.{ts,tsx,js,jsx,less}\"",
"start:storybook": "start-storybook -p 6006",
"build:storybook": "build-storybook"
},
"dependencies": {
"@ant-design/charts": "^1.3.4",
"@ant-design/icons": "^4.4.0",
"@bbp/nexus-sdk": "1.3.15",
"@bbp/react-nexus": "1.3.15",
"@reduxjs/toolkit": "^1.8.5",
"@sentry/browser": "6.13.1",
"@types/cytoscape": "^3.19.4",
"@types/lodash": "^4.14.182",
"@types/react-beautiful-dnd": "^13.1.2",
"@types/react-pdf": "5.7.2",
"@types/redux-mock-store": "^1.0.3",
"ajv": "^8.10.0",
"ajv-errors": "^3.0.0",
"ajv-formats": "^2.1.1",
"antd": "^4.9.1",
"bodybuilder": "^2.2.25",
"codemirror": "^5.58.2",
"connected-react-router": "^6.3.2",
"cookie-parser": "^1.4.4",
"csv-string": "^4.0.1",
"cytoscape": "^3.18.1",
"cytoscape-avsdf": "^1.0.0",
"cytoscape-cola": "^2.5.0",
"deep-object-diff": "^1.1.0",
"express": "^4.16.4",
"express-prom-bundle": "^5.0.2",
"git-revision-webpack-plugin": "^3.0.6",
"handlebars": "^4.7.7",
"history": "^4.7.2",
"http-proxy-middleware": "^2.0.1",
"json2csv": "^5.0.5",
"jwt-decode": "^2.2.0",
"localforage": "^1.9.0",
"lodash": "^4.17.21",
"moment": "^2.29.4",
"morgan": "^1.9.1",
"object-hash": "^1.3.1",
"oidc-client": "^1.7.0",
"pretty-bytes": "^5.4.1",
"prom-client": "^11.2.1",
"qs": "^6.9.4",
"query-string": "^6.3.0",
"rc-tween-one": "^2.7.3",
"react": "^16.12.0",
"react-beautiful-dnd": "^13.1.0",
"react-codemirror2": "^7.2.1",
"react-dom": "^16.12.0",
"react-draggable": "^4.4.3",
"react-helmet": "^5.2.0",
"react-image-lightbox": "^5.1.0",
"react-infinite-scroll-component": "^4.5.3",
"react-json-view": "^1.19.1",
"react-mde": "^11.0.0",
"react-pdf": "5.3.0",
"react-player": "^2.9.0",
"react-query": "^3.13.4",
"react-redux": "^8.0.2",
"react-router": "^5.1.2",
"react-router-dom": "^5.1.2",
"react-spring": "^8.0.19",
"react-zoom-pan-pinch": "^2.1.3",
"redux": "^4.0.1",
"redux-mock-store": "^1.5.4",
"redux-oidc": "^3.1.2",
"redux-thunk": "^2.3.0",
"resize-observer-polyfill": "^1.5.1",
"showdown": "^1.9.1",
"string-similarity": "^4.0.4",
"ts-debounce": "^1.0.0",
"ts-invariant": "^0.4.4",
"ts-pattern": "^1.1.0",
"use-async-effect": "^2.2.1"
},
"devDependencies": {
"@babel/core": "^7.3.4",
"@commitlint/cli": "^11.0.0",
"@commitlint/config-conventional": "^11.0.0",
"@storybook/addon-actions": "^5.0.10",
"@storybook/addon-info": "^5.2.0-alpha.30",
"@storybook/addon-knobs": "^5.0.10",
"@storybook/addon-links": "^5.0.1",
"@storybook/addons": "^5.0.1",
"@storybook/react": "^5.0.10",
"@testing-library/cypress": "^8.0.3",
"@testing-library/jest-dom": "^5.16.4",
"@testing-library/react": "12.1.2",
"@testing-library/user-event": "^14.4.2",
"@types/codemirror": "^5.60.7",
"@types/cookie-parser": "^1.4.1",
"@types/enzyme": "^3.9.0",
"@types/express": "^4.16.1",
"@types/jest": "^24.0.11",
"@types/json2csv": "^5.0.1",
"@types/jwt-decode": "^2.2.1",
"@types/morgan": "^1.7.35",
"@types/node": "^11.11.0",
"@types/object-hash": "^1.2.0",
"@types/qs": "^6.9.5",
"@types/query-string": "^6.3.0",
"@types/react": "^16.9.0",
"@types/react-dom": "^16.9.0",
"@types/react-helmet": "^5.0.7",
"@types/react-infinite-scroll-component": "^4.2.5",
"@types/react-redux": "^7.1.24",
"@types/react-router": "^5.1.13",
"@types/react-router-dom": "^5.1.7",
"@types/showdown": "^1.9.3",
"@types/storybook__addon-actions": "^3.4.2",
"@types/storybook__addon-info": "^4.1.0",
"@types/storybook__addon-knobs": "^4.0.3",
"@types/storybook__addon-links": "^3.3.4",
"@types/storybook__react": "^4.0.1",
"@types/string-similarity": "^4.0.0",
"@types/webpack-env": "^1.13.9",
"babel-loader": "^8.0.4",
"copy-webpack-plugin": "^5.1.1",
"css-loader": "^2.1.1",
"cypress": "^10.3.0",
"cypress-file-upload": "^5.0.8",
"enzyme": "^3.9.0",
"enzyme-adapter-react-16": "^1.10.0",
"file-loader": "^3.0.1",
"husky": "^1.3.1",
"jest": "^24.3.1",
"jest-environment-enzyme": "^7.0.2",
"jest-environment-jsdom-fifteen": "^1.0.2",
"jest-environment-jsdom-sixteen": "^2.0.0",
"jest-enzyme": "^7.0.2",
"less": "^3.9.0",
"less-loader": "^4.1.0",
"lint-staged": "^9.5.0",
"mini-css-extract-plugin": "^0.5.0",
"msw": "^0.41.0",
"mustache": "^4.2.0",
"null-loader": "^0.1.1",
"prettier": "^1.16.4",
"raw-loader": "^4.0.2",
"react-docgen-typescript-loader": "^3.0.1",
"source-map-loader": "^0.2.4",
"start-server-and-test": "^1.10.10",
"style-loader": "^0.23.1",
"terser-webpack-plugin": "^2.2.1",
"ts-jest": "^24.0.0",
"ts-loader": "^6.0.1",
"ts-node": "^8.0.3",
"tslint": "^5.13.1",
"tslint-config-airbnb": "^5.11.1",
"tslint-config-prettier": "^1.18.0",
"tslint-react-hooks": "^2.0.0",
"typescript": "^4.2.0",
"webpack": "^4.29.6",
"webpack-cli": "^3.2.3",
"webpack-dev-middleware": "^3.6.1",
"webpack-hot-middleware": "^2.24.3",
"webpack-node-externals": "^1.7.2"
},
"jest": {
"modulePaths": [
"<rootDir>/src"
],
"collectCoverage": true,
"preset": "ts-jest",
"setupFilesAfterEnv": [
"jest-enzyme",
"./jest.setup.js"
],
"testEnvironment": "jest-environment-jsdom-sixteen",
"moduleNameMapper": {
"\\.(jpg|jpeg|png|gif|eot|otf|webp|svg|ttf|woff|woff2|mp4|webm|wav|mp3|m4a|aac|oga)$": "<rootDir>/src/__mocks__/fileMock.js",
"\\.(css|less)$": "<rootDir>/src/__mocks__/styleMock.js"
},
"testPathIgnorePatterns": [
"<rootDir>/cypress/",
"<rootDir>/migrations/"
]
},
"prettier": {
"singleQuote": true,
"trailingComma": "es5"
},
"lint-staged": {
"*.{ts, tsx, js, jsx, less}": [
"prettier --write",
"git add"
],
"!(package).json": [
"prettier --write",
"git add"
]
},
"husky": {
"hooks": {
"pre-push": "yarn lint && yarn style && yarn test",
"pre-commit": "lint-staged"
}
}
}