mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-02-24 23:48:13 -05:00
deps: codemirror@5.16.0 as npm module
This commit is contained in:
parent
0dccda345e
commit
1650069bcb
3 changed files with 14 additions and 10 deletions
|
@ -2,7 +2,6 @@
|
||||||
"name": "ghost",
|
"name": "ghost",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"blueimp-md5": "2.3.0",
|
"blueimp-md5": "2.3.0",
|
||||||
"codemirror": "5.15.2",
|
|
||||||
"devicejs": "0.2.7",
|
"devicejs": "0.2.7",
|
||||||
"ember": "2.6.1",
|
"ember": "2.6.1",
|
||||||
"ember-cli-shims": "0.1.3",
|
"ember-cli-shims": "0.1.3",
|
||||||
|
|
|
@ -41,6 +41,19 @@ module.exports = function (defaults) {
|
||||||
},
|
},
|
||||||
hinting: false,
|
hinting: false,
|
||||||
fingerprint: disabled,
|
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': {
|
'ember-cli-selectize': {
|
||||||
theme: false
|
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/jquery-file-upload/js/jquery.fileupload-image.js');
|
||||||
app.import('bower_components/google-caja/html-css-sanitizer-bundle.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/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/password-generator/lib/password-generator.js');
|
||||||
app.import('bower_components/blueimp-md5/js/md5.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'});
|
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();
|
return app.toTree();
|
||||||
};
|
};
|
||||||
|
|
|
@ -28,6 +28,7 @@
|
||||||
"bower": "1.7.9",
|
"bower": "1.7.9",
|
||||||
"broccoli-asset-rev": "2.4.3",
|
"broccoli-asset-rev": "2.4.3",
|
||||||
"chalk": "1.1.3",
|
"chalk": "1.1.3",
|
||||||
|
"codemirror": "5.16.0",
|
||||||
"csscomb": "3.1.8",
|
"csscomb": "3.1.8",
|
||||||
"ember-ajax": "2.4.1",
|
"ember-ajax": "2.4.1",
|
||||||
"ember-cli": "2.6.2",
|
"ember-cli": "2.6.2",
|
||||||
|
|
Loading…
Add table
Reference in a new issue