yohang/dependency-tools
Composer 安装命令:
composer require yohang/dependency-tools
包简介
A simple Composer script to install NPM and/or Bower dependencies
README 文档
README
This simple tools allows you to run npm install and/or bower install each time you run composer install / update.
Usage
Add this lines to your composer.json file (only works with root file) :
{
"require": {
"yohang/dependency-tools": "1.0.*"
},
"scripts": {
"post-install-cmd": [
"Yohang\\DependencyTools::installDeps"
],
"post-update-cmd": [
"Yohang\\DependencyTools::installDeps"
]
},
"extra": {
"dependency-tools": {
"npm": true,
"bower": true
}
}
}
And that's all, your NPM and Bower dependencies will be installed just after your Composer dependencies.
统计信息
- 总下载量: 14.87k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 42
- 点击次数: 0
- 依赖项目数: 1
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2012-10-25