From 898bbf33117bf5db438c0407be4963d3e219ef2d Mon Sep 17 00:00:00 2001 From: Carsten Brandt Date: Fri, 22 Nov 2013 21:28:58 +0100 Subject: [PATCH] updated dev composer.json dependencies also removed composer plugin and added it to requirements this way the plugin is recognized by composer. would not work otherwise. setting the repo type to yii2-extension also allows us to run composer plugin and let it handle the extensions in this package --- composer.json | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/composer.json b/composer.json index 3938ff4..8ec05bc 100644 --- a/composer.json +++ b/composer.json @@ -3,7 +3,7 @@ "description": "Yii2 Web Programming Framework - Development Package", "keywords": ["yii", "framework"], "homepage": "http://www.yiiframework.com/", - "type": "library", + "type": "yii2-extension", "license": "BSD-3-Clause", "authors": [ { @@ -65,7 +65,6 @@ }, "replace": { "yiisoft/yii2-bootstrap": "self.version", - "yiisoft/yii2-composer": "self.version", "yiisoft/yii2-debug": "self.version", "yiisoft/yii2-gii": "self.version", "yiisoft/yii2-jui": "self.version", @@ -79,14 +78,18 @@ "ext-mbstring": "*", "lib-pcre": "*", "yiisoft/jquery": "1.10.*", + "yiisoft/yii2-composer": "self.version", "phpspec/php-diff": ">=1.0.2", "ezyang/htmlpurifier": "4.5.*", - "michelf/php-markdown": "1.3.*" + "michelf/php-markdown": "1.3.*", + "twbs/bootstrap": "3.0.*", + "smarty/smarty": "*", + "swiftmailer/swiftmailer": "*", + "twig/twig": "*" }, "autoload": { "psr-0": { "yii\\bootstrap": "/extensions/bootstrap/", - "yii\\composer": "/extensions/composer/", "yii\\debug": "/extensions/debug/", "yii\\gii": "/extensions/gii/", "yii\\jui": "/extensions/jui/",