mirror of
https://github.com/a-nyx/maputnik-with-pmtiles.git
synced 2024-12-27 08:45:28 +01:00
Update all the dependencies
This commit is contained in:
parent
f305db9e3e
commit
021f8ab400
5 changed files with 9643 additions and 16934 deletions
1
.babelrc
1
.babelrc
|
@ -4,6 +4,7 @@
|
|||
"@babel/preset-react"
|
||||
],
|
||||
"plugins": [
|
||||
"static-fs",
|
||||
"react-hot-loader/babel",
|
||||
"@babel/plugin-proposal-class-properties"
|
||||
],
|
||||
|
|
16916
package-lock.json
generated
16916
package-lock.json
generated
File diff suppressed because it is too large
Load diff
33
package.json
33
package.json
|
@ -23,11 +23,12 @@
|
|||
"@babel/runtime": "^7.1.2",
|
||||
"@mapbox/mapbox-gl-rtl-text": "^0.2.2",
|
||||
"@mapbox/mapbox-gl-style-spec": "^13.7.2",
|
||||
"babel-plugin-static-fs": "^3.0.0",
|
||||
"classnames": "^2.2.6",
|
||||
"codemirror": "^5.40.2",
|
||||
"color": "^3.0.0",
|
||||
"detect-browser": "^4.5.0",
|
||||
"file-saver": "^1.3.8",
|
||||
"file-saver": "^2.0.2",
|
||||
"jsonlint": "github:josdejong/jsonlint#85a19d7",
|
||||
"lodash.capitalize": "^4.2.1",
|
||||
"lodash.clamp": "^4.0.3",
|
||||
|
@ -43,10 +44,10 @@
|
|||
"prop-types": "^15.6.2",
|
||||
"react": "^16.5.2",
|
||||
"react-aria-menubutton": "^6.0.1",
|
||||
"react-aria-modal": "^3.0.0",
|
||||
"react-aria-modal": "^4.0.0",
|
||||
"react-autobind": "^1.0.6",
|
||||
"react-autocomplete": "^1.8.1",
|
||||
"react-codemirror2": "^5.1.0",
|
||||
"react-codemirror2": "^6.0.0",
|
||||
"react-collapse": "^4.0.3",
|
||||
"react-color": "^2.14.1",
|
||||
"react-dom": "^16.5.2",
|
||||
|
@ -54,8 +55,8 @@
|
|||
"react-icon-base": "^2.1.2",
|
||||
"react-icons": "^3.1.0",
|
||||
"react-motion": "^0.5.2",
|
||||
"react-sortable-hoc": "^0.8.3",
|
||||
"reconnecting-websocket": "^3.2.2",
|
||||
"react-sortable-hoc": "^1.10.1",
|
||||
"reconnecting-websocket": "^4.2.0",
|
||||
"slugify": "^1.3.1",
|
||||
"url": "^0.11.0"
|
||||
},
|
||||
|
@ -113,16 +114,16 @@
|
|||
"@wdio/spec-reporter": "^5.9.3",
|
||||
"@wdio/sync": "^5.10.1",
|
||||
"babel-eslint": "^10.0.1",
|
||||
"babel-loader": "8.0.4",
|
||||
"babel-loader": "8.0.6",
|
||||
"babel-plugin-istanbul": "^5.0.1",
|
||||
"copy-webpack-plugin": "^4.5.2",
|
||||
"copy-webpack-plugin": "^5.0.4",
|
||||
"cors": "^2.8.4",
|
||||
"cross-env": "^5.2.0",
|
||||
"css-loader": "^1.0.0",
|
||||
"eslint": "^5.6.1",
|
||||
"cross-env": "^6.0.3",
|
||||
"css-loader": "^3.2.0",
|
||||
"eslint": "^6.5.1",
|
||||
"eslint-plugin-react": "^7.11.1",
|
||||
"express": "^4.17.1",
|
||||
"file-loader": "^2.0.0",
|
||||
"file-loader": "^4.2.0",
|
||||
"html-webpack-plugin": "^3.2.0",
|
||||
"is-docker": "^2.0.0",
|
||||
"istanbul": "^0.4.5",
|
||||
|
@ -130,13 +131,13 @@
|
|||
"mkdirp": "^0.5.1",
|
||||
"mocha": "^6.1.4",
|
||||
"node-sass": "^4.12.0",
|
||||
"raw-loader": "^0.5.1",
|
||||
"raw-loader": "^3.1.0",
|
||||
"react-hot-loader": "^4.3.11",
|
||||
"sass-loader": "^7.1.0",
|
||||
"sass-loader": "^8.0.0",
|
||||
"selenium-standalone": "^6.16.0",
|
||||
"style-loader": "^0.23.0",
|
||||
"stylelint": "^10.0.0",
|
||||
"stylelint-config-recommended-scss": "^3.2.0",
|
||||
"style-loader": "^1.0.0",
|
||||
"stylelint": "^11.0.0",
|
||||
"stylelint-config-recommended-scss": "^4.0.0",
|
||||
"stylelint-scss": "^3.5.4",
|
||||
"transform-loader": "^0.2.4",
|
||||
"uuid": "^3.3.2",
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
import MapboxGl from 'mapbox-gl'
|
||||
import {readFileSync} from 'fs'
|
||||
|
||||
// Load mapbox-gl-rtl-text using object urls without needing http://localhost for AJAX.
|
||||
const data = require("raw-loader?mimetype=text/javascript!@mapbox/mapbox-gl-rtl-text/mapbox-gl-rtl-text.js");
|
||||
const data = readFileSync(__dirname+"/../../node_modules/@mapbox/mapbox-gl-rtl-text/mapbox-gl-rtl-text.js", "utf8");
|
||||
|
||||
const blob = new window.Blob([data], {
|
||||
type: "text/javascript"
|
||||
|
|
Loading…
Reference in a new issue