From 48f64685fd50c5fbe9bdaeb7f294b840bb0bbc9f Mon Sep 17 00:00:00 2001 From: jlukic Date: Tue, 10 Feb 2015 14:21:20 -0500 Subject: [PATCH] Dependencies --- package.json | 34 +++++++++++++++++++++------------- tasks/install.js | 8 ++++---- 2 files changed, 25 insertions(+), 17 deletions(-) diff --git a/package.json b/package.json index 90e394a0a..a3619dcd5 100644 --- a/package.json +++ b/package.json @@ -14,12 +14,16 @@ "url" : "https://github.com/Semantic-Org/Semantic-UI/issues" }, - "dependencies": { - "jquery" : "x.x.x", - "gulp" : "3.x.x", + "scripts": { + "install": "gulp install" + }, + + "peerDependencies": { + "jquery" : "x.x.x", "better-console" : "0.x.x", "del" : "1.x.x", "extend" : "2.x.x", + "gulp" : "3.x.x", "gulp-autoprefixer" : "2.x.x", "gulp-chmod" : "1.x.x", "gulp-clone" : "1.x.x", @@ -30,22 +34,30 @@ "gulp-header" : "1.x.x", "gulp-help" : "1.x.x", "gulp-if" : "1.x.x", - "gulp-json-editor" : "2.x.x", "gulp-less" : "1.x.x", "gulp-minify-css" : "0.x.x", "gulp-notify" : "2.x.x", "gulp-plumber" : "0.x.x", "gulp-print" : "1.x.x", - "gulp-prompt" : "0.x.x", "gulp-rename" : "1.x.x", - "gulp-replace" : "0.x.x", "gulp-rtlcss" : "0.x.x", "gulp-uglify" : "1.x.x", "gulp-util" : "3.x.x", "gulp-watch" : "2.x.x", - "mkdirp" : "0.x.x", - "wrench" : "1.x.x", - "require-dot-file" : "0.x.x" + "require-dot-file" : "0.x.x" + }, + "dependencies": { + "better-console" : "0.x.x", + "del" : "1.x.x", + "extend" : "2.x.x", + "gulp" : "3.x.x", + "gulp-json-editor" : "2.x.x", + "gulp-prompt" : "0.x.x", + "gulp-rename" : "1.x.x", + "gulp-replace" : "0.x.x", + "mkdirp" : "0.x.x", + "require-dot-file" : "0.x.x", + "wrench" : "1.x.x" }, "devDependencies": { "github" : "^0.2.3", @@ -55,9 +67,5 @@ "gulp-tap" : "^0.1.3", "karma" : "^0.12.28", "run-sequence" : "^1.0.2" - }, - - "scripts": { - "install": "gulp install" } } diff --git a/tasks/install.js b/tasks/install.js index 3a583a2a8..f30249b76 100644 --- a/tasks/install.js +++ b/tasks/install.js @@ -131,10 +131,10 @@ module.exports = function () { } } - else { - console.error('Cannot locate files to update at path: ', updatePaths.definition); - return; - } + else { + console.error('Cannot locate files to update at path: ', updatePaths.definition); + return; + } }