Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 4 additions & 6 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -102,15 +102,15 @@
"redux-devtools-dock-monitor": "1.1.2",
"redux-devtools-log-monitor": "1.3.0",
"redux-mock-store": "1.2.2",
"rimraf": "2.5.2",
"simple-git": "2.20.1",
"style-loader": "2.0.0",
"terser": "5.18.1",
"url-loader": "0.5.7",
"webpack": "5.94.0",
"webpack-bundle-size-analyzer": "2.0.2",
"webpack-cli": "4.10.0",
"webpack-dev-server": "3.11.0"
"webpack-dev-server": "3.11.0",
"premove": "4.0.0"
},
"dependencies": {
"@carnesen/redux-add-action-listener-enhancer": "0.0.1",
Expand Down Expand Up @@ -165,7 +165,6 @@
"dxf-writer": "1.18.4",
"earcut": "2.2.4",
"embed-video": "2.0.4",
"es6-promise": "2.3.0",
"esri-leaflet": "3.0.12",
"eventlistener": "0.0.1",
"file-saver": "1.3.3",
Expand All @@ -177,7 +176,6 @@
"html-to-draftjs": "npm:@geosolutions/html-to-draftjs@1.5.1",
"html-to-image": "1.11.11",
"immutable": "4.0.0-rc.12",
"intersection-observer": "0.7.0",
"intl": "1.2.2",
"ismobilejs": "0.5.0",
"json-2-csv": "5.5.1",
Expand Down Expand Up @@ -295,15 +293,15 @@
"cleandoc": "npm run jsdoc:clean",
"doctest": "npm run jsdoc:test",
"jsdoc:build": "npm run jsdoc:check && docma -c build/docma-config.json --dest web/docs",
"jsdoc:clean": "rimraf web/docs && rimraf web/client/mapstore/docs",
"jsdoc:clean": "premove web/docs && premove web/client/mapstore/docs",
"jsdoc:test": "docma -c build/docma-config.json --dest web/client/mapstore/docs && echo documentation is accessible from the mapstore/docs path when running npm start",
"jsdoc:check": "node ./utility/doc/jsDocConfigCheck.js",
"jsdoc:update": "node ./utility/doc/jsDocConfigUpdate.js",
"doc:build": "mkdocs build",
"doc:start": "mkdocs serve",
"postinstall": "node utility/build/postInstall.js",
"clean": "npm run fe:clean",
"fe:clean": "rimraf ./web/client/dist",
"fe:clean": "premove ./web/client/dist",
"md": "markdownlint .",
"md:fix": "markdownlint --fix .",
"lint": "eslint web/client --ext .jsx,.js && npm run md && npm run json:check",
Expand Down
2 changes: 1 addition & 1 deletion utility/projects/projectScripts.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
"continuoustest": "npm run test:watch",

"postinstall": "node MapStore2/utility/build/postInstall.js",
"clean": "rimraf dist",
"clean": "premove dist",
"lint": "eslint js --ext .jsx,.js",
"updateDevDeps": "node updateDevDependencies.js"
}
1 change: 0 additions & 1 deletion web/client/actions/locale.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
*/

import { castArray, merge } from 'lodash';
import { Promise } from 'es6-promise';

import axios from '../libs/ajax';
import { error } from './notifications';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
* LICENSE file in the root directory of this source tree.
*/

import { Promise } from 'es6-promise';
import expect from 'expect';
import React from 'react';
import ReactDOM from 'react-dom';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
* LICENSE file in the root directory of this source tree.
*/

import {Promise} from 'es6-promise';
import expect from 'expect';
import React from 'react';
import ReactDOM from 'react-dom';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
* LICENSE file in the root directory of this source tree.
*/

import {Promise} from 'es6-promise';
import expect from 'expect';
import React from 'react';
import ReactDOM from 'react-dom';
Expand Down
1 change: 0 additions & 1 deletion web/client/components/import/SelectShape.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ import Spinner from 'react-spinkit';
import { getMessageById } from '../../utils/LocaleUtils';
import JSZip from 'jszip';
import { readZip, recognizeExt, MIME_LOOKUPS } from '../../utils/FileUtils';
import { Promise } from 'es6-promise';

class SelectShape extends React.Component {
static propTypes = {
Expand Down
1 change: 0 additions & 1 deletion web/client/components/import/ShapefileUploadAndStyle.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@ import {
} from '../../utils/FileUtils';
import Button from '../misc/Button';
import SelectShape from './SelectShape';
import { Promise } from 'es6-promise';

class ShapeFileUploadAndStyle extends React.Component {
static propTypes = {
Expand Down
1 change: 0 additions & 1 deletion web/client/components/import/style/StylePanel.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@
import React from 'react';
import PropTypes from 'prop-types';
import { Grid, Row, Col, Alert, ButtonToolbar } from 'react-bootstrap';
import { Promise } from 'es6-promise';

import Message from '../../I18N/Message';
import { getMessageById } from '../../../utils/LocaleUtils';
Expand Down
1 change: 0 additions & 1 deletion web/client/components/map/openlayers/VectorStyle.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@ import CircleStyle from 'ol/style/Circle';
import {Stroke, Fill, Text, Style} from 'ol/style';
import {Point, LineString} from 'ol/geom';

import {Promise} from 'es6-promise';
import axios from '../../../libs/ajax';

import {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
*/
import React from "react";
import { InView } from 'react-intersection-observer';
import "intersection-observer";

/**
* Enhancer that adds IntersectionObserver functionalities to trigger appear or disappear events in a scroll context.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
* LICENSE file in the root directory of this source tree.
*/

import { Promise } from 'es6-promise';
import expect from 'expect';
import React from 'react';
import ReactDOM from 'react-dom';
Expand Down
1 change: 0 additions & 1 deletion web/client/utils/ConfigUtils.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ import PropTypes from 'prop-types';
import url from 'url';
import axios from 'axios';
import { castArray, isArray, isObject, endsWith, isNil, get, mergeWith } from 'lodash';
import { Promise } from 'es6-promise';
import isMobile from 'ismobilejs';
import {mergeConfigsPatch} from "@mapstore/patcher";

Expand Down
1 change: 0 additions & 1 deletion web/client/utils/ElevationUtils.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@
import axios from '../libs/ajax';

import LRUCache from 'lrucache';
import { Promise } from 'es6-promise';
const DEFAULT_SIZE = 100;
let elevationTiles = new LRUCache(DEFAULT_SIZE);

Expand Down
1 change: 0 additions & 1 deletion web/client/utils/FileUtils.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ import toBlob from 'canvas-to-blob';
import shp from 'shpjs';
import tj from '@mapbox/togeojson';
import JSZip from 'jszip';
import { Promise } from 'es6-promise';
const parser = new DOMParser();
import { hint as geojsonhint } from '@mapbox/geojsonhint/lib/object';
import { toMapConfig } from './ogc/WMC';
Expand Down