forked from CovOpen/CovMap
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
148 lines (148 loc) · 4.68 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
{
"name": "covmap",
"version": "0.1.0",
"description": "A web app to display large-scale epidemiological data and forecasts of the SARS-CoV-2 pandemic.",
"repository": "[email protected]:CovOpen/CovMapper.git",
"license": "Apache2",
"private": true,
"scripts": {
"lint": "eslint --ext ts,tsx ./src/",
"build": "webpack --config ./webpack.config.js",
"build:prod": "webpack --config ./webpack.config.js --env prod",
"dev": "webpack-dev-server --env dev --hot --host=0.0.0.0 --port=8080",
"dev:ssl": "webpack-dev-server --env dev --hot --host=0.0.0.0 --port=8080 --https --cert=cert.pem --key=key.pem",
"refresh": "sudo docker-compose build frontend && sudo docker-compose up -d frontend",
"restart": "sudo docker-compose restart frontend",
"test": "jest --env=jsdom",
"coverage": "jest --env=jsdom --coverage",
"postinstall": "git clone https://github.com/CovOpen/CovQuestions; cd CovQuestions/covquestions-js; npm install; npm run build; cd ../../node_modules; ln -s ../CovQuestions/covquestions-js/dist covquestions-js"
},
"dependencies": {
"@babel/polyfill": "^7.8.7",
"@capacitor/android": "2.4.0",
"@capacitor/cli": "^2.4.0",
"@capacitor/core": "^2.4.0",
"@material-ui/core": "^4.9.10",
"@material-ui/icons": "^4.9.1",
"clerk-plugin-idb": "^0.5.0-alpha.11",
"clerk-sw": "^0.5.0-alpha.11",
"clipboard-polyfill": "^2.8.6",
"compression-webpack-plugin": "^3.1.0",
"file-loader": "^6.0.0",
"immer": "^6.0.2",
"react": "^16.13.1",
"react-dom": "^16.13.1",
"react-redux": "^7.2.0",
"react-router-dom": "^5.1.2",
"redux": "^4.0.5",
"redux-thunk": "^2.3.0",
"webpack-merge": "^4.2.2",
"workbox-webpack-plugin": "3.6.3"
},
"devDependencies": {
"@babel/core": "^7.9.0",
"@babel/plugin-transform-runtime": "^7.9.0",
"@babel/preset-env": "^7.9.0",
"@babel/preset-react": "^7.9.1",
"@material-ui/lab": "^4.0.0-alpha.49",
"@svgr/webpack": "^5.3.1",
"@types/enzyme": "^3.10.5",
"@types/geojson": "^7946.0.7",
"@types/jest": "^25.1.4",
"@types/jsonwebtoken": "^8.3.8",
"@types/react": "^16.9.25",
"@types/react-dom": "^16.9.5",
"@types/react-router-dom": "^5.1.6",
"@types/react-redux": "^7.1.7",
"@types/redux-persist": "^4.3.1",
"@typescript-eslint/eslint-plugin": "^2.24.0",
"@typescript-eslint/parser": "^2.24.0",
"babel-jest": "^25.1.0",
"babel-loader": "^8.1.0",
"babel-plugin-syntax-dynamic-import": "^6.18.0",
"brfs": "^2.0.2",
"clean-webpack-plugin": "^3.0.0",
"commander": "^5.0.0",
"copy-webpack-plugin": "^5.1.1",
"css-loader": "^3.4.2",
"debounce": "^1.2.0",
"enzyme": "^3.11.0",
"enzyme-adapter-react-16": "^1.15.2",
"eslint": "^6.8.0",
"eslint-config-prettier": "^6.10.0",
"eslint-plugin-prettier": "^3.1.2",
"eslint-plugin-react": "^7.19.0",
"html-webpack-plugin": "^3.2.0",
"jest": "^25.1.0",
"moment": "^2.24.0",
"moment-locales-webpack-plugin": "^1.2.0",
"react-hot-loader": "^4.12.20",
"react-map-gl": "^5.2.3",
"react-test-renderer": "^16.13.1",
"redux-persist": "^6.0.0",
"redux-persist-transform-filter": "^0.0.20",
"style-loader": "^1.1.3",
"transform-loader": "^0.2.4",
"ts-jest": "^25.2.1",
"ts-loader": "^6.2.1",
"typescript": "^3.8.3",
"webpack": "^4.42.0",
"webpack-bundle-analyzer": "^3.6.1",
"webpack-cli": "^3.3.11",
"webpack-dev-server": "^3.10.3",
"whatwg-fetch": "^3.0.0"
},
"jest": {
"collectCoverageFrom": [
"src/**/*.{js,jsx,ts,tsx}"
],
"setupFiles": [
"<rootDir>/config/jest/polyfills.js"
],
"setupFilesAfterEnv": [
"<rootDir>/config/jest/setupTests.js"
],
"testMatch": [
"<rootDir>/src/**/__tests__/**/*.ts?(x)",
"<rootDir>/src/**/?(*.)(spec|test).ts?(x)"
],
"testEnvironment": "node",
"testURL": "http://localhost",
"transform": {
"^.+\\.tsx?$": "ts-jest",
"^.+\\.jsx?$": "babel-jest",
"^.+\\.css$": "<rootDir>/config/jest/cssTransform.js",
"^(?!.*\\.(js|jsx|mjs|css|json)$)": "<rootDir>/config/jest/fileTransform.js"
},
"globals": {
"ts-jest": {
"babelConfig": true,
"tsConfig": "<rootDir>/tsconfig.test.json"
}
},
"transformIgnorePatterns": [
"[/\\\\]node_modules[/\\\\].+\\.(js|jsx|mjs|ts|tsx)$"
],
"moduleNameMapper": {
"^react-native$": "react-native-web"
},
"moduleFileExtensions": [
"js",
"json",
"jsx",
"mjs",
"node",
"ts",
"tsx",
"web.js",
"web.jsx",
"web.ts",
"web.tsx"
],
"moduleDirectories": [
"src",
"node_modules"
],
"preset": "ts-jest"
}
}