neronmoon/scriptsdev
最新稳定版本:v0.1.9
Composer 安装命令:
composer require --dev neronmoon/scriptsdev
包简介
Scripts-dev behaviour for Composer
README 文档
README
It's like require-dev, but for scripts
Installation
Just run composer require neronmoon/scriptsdev --dev
Usage
After installing you able to add extra.scripts-dev directive in your composer.json
... "extra": { "scripts-dev": { "post-install-cmd": [ "npm install --dev" ], "post-update-cmd": "php ./someCoolCommand.php", "test": "phpunit" }, } ...
Deprecated Usage
... "scripts-dev": { "post-install-cmd": [ "npm install --dev" ], "post-update-cmd": "php ./someCoolCommand.php" } ...
Known issues
- Usage of this plugin will cause minor warning of validation process.
composer validatecommand will display something like this.
./composer.json is valid, but with a few warnings
See https://getcomposer.org/doc/04-schema.md for details on the schema
Description for non-existent script "test" found in "scripts-descriptions"
统计信息
- 总下载量: 1.41M
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 69
- 点击次数: 1
- 依赖项目数: 39
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2015-11-06