diff --git a/ghost/admin/bower.json b/ghost/admin/bower.json index 7cbdf8923a..2ff359bbdf 100644 --- a/ghost/admin/bower.json +++ b/ghost/admin/bower.json @@ -10,7 +10,6 @@ "Faker": "3.1.0", "fastclick": "1.0.6", "google-caja": "6005.0.0", - "jquery-deparam": "0.5.1", "jquery-file-upload": "9.12.3", "jquery-ui": "1.11.4", "jqueryui-touch-punch": "furf/jquery-ui-touch-punch#4bc009145202d9c7483ba85f3a236a8f3470354d", diff --git a/ghost/admin/ember-cli-build.js b/ghost/admin/ember-cli-build.js index 6aa219692f..40be0e9f8f 100644 --- a/ghost/admin/ember-cli-build.js +++ b/ghost/admin/ember-cli-build.js @@ -52,6 +52,10 @@ module.exports = function (defaults) { 'mode/css/css.js', 'mode/javascript/javascript.js', ] + }, + 'jquery-deparam': { + enabled: EmberApp.env() === 'test', + import: ['jquery-deparam.js'] } }, 'ember-cli-selectize': { @@ -83,7 +87,6 @@ module.exports = function (defaults) { if (app.env === 'test') { app.import(app.bowerDirectory + '/jquery.simulate.drag-sortable/jquery.simulate.drag-sortable.js', {type: 'test'}); - app.import(app.bowerDirectory + '/jquery-deparam/jquery-deparam.js', {type: 'test'}); } return app.toTree(); diff --git a/ghost/admin/package.json b/ghost/admin/package.json index a1c0ab56f3..5f5940bb95 100644 --- a/ghost/admin/package.json +++ b/ghost/admin/package.json @@ -73,6 +73,7 @@ "grunt-contrib-jshint": "1.0.0", "grunt-jscs": "3.0.1", "grunt-shell": "1.3.0", + "jquery-deparam": "0.5.2", "liquid-fire": "0.23.1", "liquid-tether": "1.1.1", "loader.js": "4.0.10",