Add codemirror as dependency

This commit is contained in:
Lukas Martinelli 2016-12-25 13:19:33 +01:00
parent 4db5c7cf68
commit 720c8f108b
3 changed files with 2 additions and 2 deletions

View file

@ -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",

View file

@ -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'

View file

@ -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', () => {