mirror of
https://github.com/maputnik/editor.git
synced 2026-08-03 03:37:25 +00:00
Add codemirror as dependency
This commit is contained in:
@@ -19,6 +19,7 @@
|
|||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"homepage": "https://github.com/maputnik/editor#readme",
|
"homepage": "https://github.com/maputnik/editor#readme",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
|
"codemirror": "^5.18.2",
|
||||||
"color": "^1.0.3",
|
"color": "^1.0.3",
|
||||||
"file-saver": "^1.3.2",
|
"file-saver": "^1.3.2",
|
||||||
"lodash.clonedeep": "^4.5.0",
|
"lodash.clonedeep": "^4.5.0",
|
||||||
|
|||||||
@@ -2,7 +2,6 @@ import React from 'react'
|
|||||||
import ReactDOM from 'react-dom'
|
import ReactDOM from 'react-dom'
|
||||||
import MapboxGl from 'mapbox-gl'
|
import MapboxGl from 'mapbox-gl'
|
||||||
import FeatureLayerTable from './FeatureLayerTable'
|
import FeatureLayerTable from './FeatureLayerTable'
|
||||||
import Popup from './Popup'
|
|
||||||
import validateColor from 'mapbox-gl-style-spec/lib/validate/validate_color'
|
import validateColor from 'mapbox-gl-style-spec/lib/validate/validate_color'
|
||||||
import style from '../../libs/style.js'
|
import style from '../../libs/style.js'
|
||||||
import 'mapbox-gl/dist/mapbox-gl.css'
|
import 'mapbox-gl/dist/mapbox-gl.css'
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
import { SettingsStore } from '../src/stylestore.js'
|
import { SettingsStore } from '../src/libs/stylestore.js'
|
||||||
import assert from 'assert'
|
import assert from 'assert'
|
||||||
|
|
||||||
describe('SettingsStore', () => {
|
describe('SettingsStore', () => {
|
||||||
|
|||||||
Reference in New Issue
Block a user