deps: codemirror@5.16.0 as npm module

This commit is contained in:
Kevin Ansfield 2016-06-29 09:25:51 +01:00
parent 0dccda345e
commit 1650069bcb
3 changed files with 14 additions and 10 deletions

View File

@ -2,7 +2,6 @@
"name": "ghost",
"dependencies": {
"blueimp-md5": "2.3.0",
"codemirror": "5.15.2",
"devicejs": "0.2.7",
"ember": "2.6.1",
"ember-cli-shims": "0.1.3",

View File

@ -41,6 +41,19 @@ module.exports = function (defaults) {
},
hinting: false,
fingerprint: disabled,
nodeAssets: {
codemirror: {
import: [
'lib/codemirror.js',
'lib/codemirror.css',
'theme/xq-light.css',
'mode/htmlmixed/htmlmixed.js',
'mode/xml/xml.js',
'mode/css/css.js',
'mode/javascript/javascript.js',
]
}
},
'ember-cli-selectize': {
theme: false
}
@ -65,11 +78,6 @@ module.exports = function (defaults) {
app.import('bower_components/jquery-file-upload/js/jquery.fileupload-image.js');
app.import('bower_components/google-caja/html-css-sanitizer-bundle.js');
app.import('bower_components/jqueryui-touch-punch/jquery.ui.touch-punch.js');
app.import('bower_components/codemirror/lib/codemirror.js');
app.import('bower_components/codemirror/mode/htmlmixed/htmlmixed.js');
app.import('bower_components/codemirror/mode/xml/xml.js');
app.import('bower_components/codemirror/mode/css/css.js');
app.import('bower_components/codemirror/mode/javascript/javascript.js');
app.import('bower_components/password-generator/lib/password-generator.js');
app.import('bower_components/blueimp-md5/js/md5.js');
@ -78,9 +86,5 @@ module.exports = function (defaults) {
app.import(app.bowerDirectory + '/jquery-deparam/jquery-deparam.js', {type: 'test'});
}
// 'dem Styles
app.import('bower_components/codemirror/lib/codemirror.css');
app.import('bower_components/codemirror/theme/xq-light.css');
return app.toTree();
};

View File

@ -28,6 +28,7 @@
"bower": "1.7.9",
"broccoli-asset-rev": "2.4.3",
"chalk": "1.1.3",
"codemirror": "5.16.0",
"csscomb": "3.1.8",
"ember-ajax": "2.4.1",
"ember-cli": "2.6.2",