From 54f63fc0a39198ce8bbacf54602c3384e050b38a Mon Sep 17 00:00:00 2001 From: nervo Date: Sun, 28 Jun 2015 21:40:44 +0200 Subject: [PATCH] Don't use bower anymore for build process --- Gruntfile.js | 6 +----- bower.json | 4 ---- package.json | 7 ++++++- test/index.html | 6 +++--- 4 files changed, 10 insertions(+), 13 deletions(-) diff --git a/Gruntfile.js b/Gruntfile.js index d38d0cc8..7a3c1f0b 100644 --- a/Gruntfile.js +++ b/Gruntfile.js @@ -8,16 +8,12 @@ */ module.exports = function(grunt) { - if (!grunt.file.isDir('bower_components')) { - grunt.fail.fatal('>> Please run "bower install" before continuing.'); - } require('load-grunt-tasks')(grunt); grunt .initConfig({ pkg: grunt.file.readJSON('package.json'), app: grunt.file.readJSON('_config.json'), - vendor: 'bower_components', banner: '/**\n' + ' * Owl Carousel v<%= pkg.version %>\n' + ' * Copyright 2013-<%= grunt.template.today("yyyy") %> <%= pkg.author.name %>\n' + ' * Licensed under <%= pkg.license.type %> (<%= pkg.license.url %>)\n' + ' */\n', @@ -89,7 +85,7 @@ module.exports = function(grunt) { docs: { options: { outputStyle: 'compressed', - includePaths: [ '<%= app.docs.src %>/assets/scss/', 'bower_components/foundation/scss' ] + includePaths: [ '<%= app.docs.src %>/assets/scss/', 'node_modules/foundation-sites/scss' ] }, files: { '<%= app.docs.dest %>/assets/css/docs.theme.min.css': '<%= app.docs.src %>/assets/scss/docs.theme.scss' diff --git a/bower.json b/bower.json index 8c27932d..102c58da 100644 --- a/bower.json +++ b/bower.json @@ -8,9 +8,5 @@ "ignore": [], "dependencies": { "jquery": ">= 1.8.3" - }, - "devDependencies": { - "foundation": "~5.5.2", - "qunit": "1.14.0" } } diff --git a/package.json b/package.json index d7ed564d..cf74d8c4 100644 --- a/package.json +++ b/package.json @@ -16,7 +16,11 @@ "url": "http://github.com/smashingboxes/OwlCarousel2/issues", "email": "opensource@smashingboxes.com" }, + "dependencies": { + "jquery": ">=1.8.3" + }, "devDependencies": { + "qunitjs": "^1.18.0", "assemble": "~0.4.37", "grunt": "~0.4.5", "grunt-contrib-clean": "~0.5.0", @@ -33,7 +37,8 @@ "grunt-jscs-checker": "~0.4.2", "grunt-sass": "^0.18.1", "load-grunt-tasks": "^0.4.0", - "pretty": "^0.1.2" + "pretty": "^0.1.2", + "foundation-sites": "zurb/foundation@5.5.*" }, "engines": { "node": "~0.10.28" diff --git a/test/index.html b/test/index.html index 37c7e9c3..b4f946a7 100644 --- a/test/index.html +++ b/test/index.html @@ -6,10 +6,10 @@ Owl Carousel 2 - + - - + +