From 382cee156c9f3cded7b9e5f7b258078f76014e00 Mon Sep 17 00:00:00 2001 From: Carsten Brandt Date: Wed, 18 Dec 2013 00:03:40 +0100 Subject: [PATCH] Made yii2-dev composer.json more lightweight Do not depend on all packages, suggest them instead. require-dev will still have them for testing. --- composer.json | 20 ++++++++++++++++++-- 1 file changed, 18 insertions(+), 2 deletions(-) diff --git a/composer.json b/composer.json index 75ec50c..b468a43 100644 --- a/composer.json +++ b/composer.json @@ -68,16 +68,32 @@ "php": ">=5.4.0", "ext-mbstring": "*", "lib-pcre": "*", - "yiisoft/jquery": "1.10.*", "yiisoft/yii2-composer": "*", + "yiisoft/jquery": "1.10.*", "phpspec/php-diff": ">=1.0.2", "ezyang/htmlpurifier": "4.5.*", - "michelf/php-markdown": "1.3.*", + "michelf/php-markdown": "1.3.*" + }, + "require-dev": { "twbs/bootstrap": "3.0.*", + "ext-curl": "*", + "ext-mongo": ">=1.3.0", + "ext-pdo": "*", + "ext-pdo_mysql": "*", "smarty/smarty": "*", "swiftmailer/swiftmailer": "*", "twig/twig": "*" }, + "suggest": { + "twbs/bootstrap": "required by yii2-bootstrap, yii2-debug, yii2-gii extension", + "ext-curl": "required by yii2-elasticsearch extension", + "ext-mongo": "required by yii2-mongo extension", + "ext-pdo": "required by yii2-sphinx extension", + "ext-pdo_mysql": "required by yii2-sphinx extension", + "smarty/smarty": "required by yii2-smarty extension", + "swiftmailer/swiftmailer": "required by yii2-swiftmailer extension", + "twig/twig": "required by yii2-twig extension" + }, "autoload": { "psr-0": { "yii\\bootstrap\\": "extensions/",