json WordPress站点的示例作曲家文件
Posted
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了json WordPress站点的示例作曲家文件相关的知识,希望对你有一定的参考价值。
{
"name" : "vendor/project",
"description" : "Site build stack.",
"keywords" : [ "wordpress" ],
"license" : "GPL-2.0+",
"authors" : [
{
"name" : "Developer Name",
"email" : "email@somewhere.com",
"role" : "Lead Developer"
},
{
"name" : "Developer Name",
"email" : "email@somewhere.com",
"role" : "Developer"
},
],
"type" : "project",
"minimum-stability": "dev",
"repositories": [
{
"type": "composer",
"url" : "http://wpackagist.org"
},
{
"type": "git",
"url": "https://github.com/pods-framework/pods-json-api"
}
],
"config" : {
"vendor-dir": "vendor"
},
"require" : {
"johnpbloch/wordpress" : "4.0",
"wpackagist-plugin/pods" : "*",
"wpackagist-plugin/json-rest-api" : "*",
"json-rest-api" : "*",
"wpackagist-plugin/log-viewer" : "*",
"wpackagist-plugin/caldera-forms" : "*"
},
"require-dev" : {
"wpackagist-plugin/log-deprecated-notices" : "*",
"wpackagist-plugin/debug-bar" : "*",
"wpackagist-plugin/debug-bar-console" : "*",
"wpackagist-plugin/user-switching" : "*",
"wpackagist-plugin/simply-show-ids" : "*"
},
"extra" : {
"wordpress-install-dir": "public_html/wp",
"installer-paths": {
"public_html/content/plugins/{$name}/" : ["type:wordpress-plugin"],
"public_html/conent/{$name}/" : ["type:wordpress-theme"]
},
}
}
以上是关于json WordPress站点的示例作曲家文件的主要内容,如果未能解决你的问题,请参考以下文章
使用作曲家时如何从供应商文件夹中调用一个类?
json 作曲家-示例-hacked.json
我如何告诉作曲家安装最少的文件
json WordPress插件的示例Composer文件。
在 composer.json 中运行命令行命令
在 wordpress 插件中使用作曲家包