diff --git a/package-lock.json b/package-lock.json index e630ed9..4897d83 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,6 +1,6 @@ { "name": "react-codemirror2", - "version": "1.1.2", + "version": "2.0.0", "lockfileVersion": 1, "requires": true, "dependencies": { @@ -1315,7 +1315,8 @@ "codemirror": { "version": "5.30.0", "resolved": "https://registry.npmjs.org/codemirror/-/codemirror-5.30.0.tgz", - "integrity": "sha512-pfJV/7fLAUUenuGK3iANkQu1AxNLuWpeF7HV6YFDjSBMp53F8FTa2F6oPs9NKAHFweT2m08usmXUIA+7sohdew==" + "integrity": "sha512-pfJV/7fLAUUenuGK3iANkQu1AxNLuWpeF7HV6YFDjSBMp53F8FTa2F6oPs9NKAHFweT2m08usmXUIA+7sohdew==", + "dev": true }, "color": { "version": "0.11.4", diff --git a/package.json b/package.json index 2400fd8..b50e0ca 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "react-codemirror2", - "version": "1.1.2", + "version": "2.0.0", "description": "a tiny react codemirror component wrapper", "main": "index.js", "scripts": { @@ -31,9 +31,6 @@ "ide", "code" ], - "dependencies": { - "codemirror": "^5.0.0" - }, "peerDependencies": { "react": ">=15.5 <16", "codemirror": "5.x" @@ -46,6 +43,7 @@ "babel-preset-es2015": "6.24.1", "babel-preset-react": "6.24.1", "babel-register": "6.26.0", + "codemirror": "^5.0.0", "css-loader": "0.28.7", "express": "4.15.4", "js-beautify": "1.7.3",