From 3477ed874fcc62ce7ea0c293116fbf94e0eaacbe Mon Sep 17 00:00:00 2001 From: TIGERB Date: Mon, 15 May 2017 18:45:36 +0800 Subject: [PATCH] docs(composer.json): change package name :memo: change package name to lower --- composer.json | 33 ++++++++++++++++++++++++--------- 1 file changed, 24 insertions(+), 9 deletions(-) diff --git a/composer.json b/composer.json index d58acfc..18822c1 100644 --- a/composer.json +++ b/composer.json @@ -1,19 +1,34 @@ { - "name": "TIGERB/easy-php", + "name": "tigerb/easy-php", "description": "A lightweight PHP framework for studying", - "version":"0.6.7", + "version": "0.6.7", "type": "framework, easy-php, php framework", - "authors": [ - { - "name": "tigerb", - "email": "tigerbcode@gmail.com" - } - ], + "homepage": "http://php.tiegrb.cn/", + "license": "MIT", + "minimum-stability": "stable", + "authors": [{ + "name": "tigerb", + "email": "tigerbcode@gmail.com" + }], "require-dev": { "squizlabs/php_codesniffer": "*", "phpunit/phpunit": "^6.0" }, "require": { "mongodb/mongodb": "^1.1" + }, + "scripts": { + "post-install-cmd": [ + "cp .env.example .env", + "chmod -R 777 runtime", + "composer dump-autoload --optimize" + ], + "post-root-project-cmd": [ + "composer install" + ], + "pre-status-cmd": [ + "cp .env.example .env", + "rm -rf runtime/*" + ] } -} +} \ No newline at end of file