Skip to content
Snippets Groups Projects
Commit e82bec05 authored by esikkala's avatar esikkala
Browse files

Remove unused npm modules

parent 84c73d9e
No related branches found
No related tags found
No related merge requests found
This diff is collapsed.
......@@ -43,8 +43,8 @@
"eslint-watch": "^3.1.5",
"file-loader": "^1.1.11",
"html-webpack-plugin": "^3.0.7",
"jest": "^22.4.4",
"jest-enzyme": "^6.1.2",
"jest": "^24.3.1",
"jest-enzyme": "^7.0.2",
"react-test-renderer": "^16.6.1",
"style-loader": "^0.20.3",
"webpack": "^4.25.1",
......@@ -58,21 +58,16 @@
"@material-ui/lab": "^3.0.0-alpha.28",
"Leaflet.Control.Opacity": "git+https://github.com/SemanticComputing/Leaflet.Control.Opacity.git",
"Leaflet.extra-markers": "git+https://github.com/SemanticComputing/Leaflet.ExtraMarkers.git",
"bootstrap": "^4.1.3",
"deck.gl": "^6.2.4",
"express": "^4.16.4",
"google-maps": "^3.3.0",
"immutable": "^3.8.2",
"leaflet": "^1.3.4",
"leaflet-fullscreen": "^1.0.2",
"leaflet-sidebar-v2": "^3.0.2",
"leaflet.markercluster": "^1.4.1",
"leaflet.smooth_marker_bouncing": "^1.2.0",
"lodash": "^4.17.11",
"node-fetch": "^2.2.1",
"query-string": "^5.1.1",
"react": "^16.6.1",
"react-alert-template-basic": "^1.0.0",
"react-csv": "^1.0.18",
"react-dom": "^16.6.1",
"react-google-maps": "^9.4.5",
......@@ -89,7 +84,6 @@
"redux-responsive": "^4.3.8",
"rxjs": "^6.3.3",
"rxjs-compat": "^6.3.3",
"superagent": "^3.8.3",
"victory": "^0.26.1"
}
}
......@@ -3,31 +3,22 @@ import PropTypes from 'prop-types';
import { withStyles } from '@material-ui/core/styles';
import L from 'leaflet';
import { has, orderBy } from 'lodash';
// import LeafletSidebar from './LeafletSidebar';
import CircularProgress from '@material-ui/core/CircularProgress';
import { purple } from '@material-ui/core/colors';
import 'leaflet-sidebar-v2/js/leaflet-sidebar.min.js';
import 'leaflet-sidebar-v2/css/leaflet-sidebar.min.css';
// import 'leaflet-sidebar-v2/js/leaflet-sidebar.min.js';
// import 'leaflet-sidebar-v2/css/leaflet-sidebar.min.css';
import 'leaflet-fullscreen/dist/fullscreen.png';
import 'leaflet-fullscreen/dist/leaflet.fullscreen.css';
import 'leaflet-fullscreen/dist/Leaflet.fullscreen.min.js';
import 'leaflet.markercluster/dist/MarkerCluster.css';
import 'leaflet.markercluster/dist/MarkerCluster.Default.css';
import 'leaflet.markercluster/dist/leaflet.markercluster.js';
import 'Leaflet.Control.Opacity/dist/L.Control.Opacity.css';
import 'Leaflet.Control.Opacity/dist/L.Control.Opacity.js';
import 'leaflet.smooth_marker_bouncing/leaflet.smoothmarkerbouncing.js';
import 'Leaflet.extra-markers/dist/js/leaflet.extra-markers.min.js';
import 'Leaflet.extra-markers/dist/css/leaflet.extra-markers.min.css';
import 'Leaflet.extra-markers/dist/img/markers_default.png';
import 'Leaflet.extra-markers/dist/img/markers_shadow.png';
import markerShadowIcon from '../../img/markers/marker-shadow.png';
import markerIconViolet from '../../img/markers/marker-icon-violet.png';
import markerIconGreen from '../../img/markers/marker-icon-green.png';
......@@ -135,7 +126,7 @@ class LeafletMap extends React.Component {
// position: 'bottomleft'
// }).addTo(this.leafletMap);
L.Marker.setBouncingOptions({ exclusive: true });
// L.Marker.setBouncingOptions({ exclusive: true });
//L.control.sidebar({ container: 'sidebar' }).addTo(this.leafletMap).open('home');
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment