markwilson / composer-bower
此包已被放弃,不再维护。未建议替代包。
在Composer安装/更新时安装Bower依赖项
1.0.0
2016-11-02 11:08 UTC
Requires
- php: >=5.4.0
- markwilson/array-is-indexed: ^1.0
- symfony/process: ^2.3 || ^3.0
This package is not auto-updated.
Last update: 2021-01-23 09:23:20 UTC
README
运行bower install作为安装后或更新后脚本。
使用方法
{
"scripts": {
"post-update-cmd": [
"ComposerBower\\DependencyInstall::execute"
],
"post-install-cmd": [
"ComposerBower\\DependencyInstall::execute"
]
},
"extra": {
"composer-bower": {
"working-directory": "<a custom working directory based on current working directory>",
"package": "<a package name to use as the working directory (optional)>"
}
}
}
还可以将composer-bower定义为一个Bower依赖项数组。