json BLT默认配置/ vars在json中

Posted

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了json BLT默认配置/ vars在json中相关的知识,希望对你有一定的参考价值。

{
	"behat": {
		"config": "${repo.root}/tests/behat/local.yml",
		"profile": "local",
		"selenium": {
			"port": 4444,
			"url": "http://127.0.0.1:${behat.selenium.port}/wd/hub"
		},
		"chrome": {
			"port": 9222,
			"args": ""
		},
		"paths": [
			"${repo.root}/tests/behat"
		],
		"tags": "~ajax&&~experimental&&~lightningextension",
		"extra": "",
		"web-driver": "chrome"
	},
	"bin.path": "vendor/bin",
	"blt": {
		"update": {
			"ignore-existing-file": "${blt.root}/scripts/blt/ignore-existing.txt"
		},
		"config-files": {
			"project": "${repo.root}/blt/project.yml",
			"local": "${repo.root}/blt/project.local.yml",
			"example-local": "${repo.root}/blt/example.project.local.yml",
			"schema-version": "${repo.root}/blt/.schema_version"
		},
		"command-cache-dir": "${blt.root}/cache/commands"
	},
	"composer": {
		"bin": "${repo.root}/${bin.path}",
		"extra": ""
	},
	"cm": {
		"strategy": "config-split",
		"core": {
			"path": "../config",
			"key": "sync",
			"dirs": {
				"sync": {
					"path": "${cm.core.path}/default"
				}
			}
		},
		"features": {
			"no-overrides": true
		}
	},
	"deploy": {
		"build-dependencies": true,
		"dir": "${repo.root}/deploy",
		"exclude_file": "${blt.root}/scripts/blt/deploy/deploy-exclude.txt",
		"exclude_additions_file": "${repo.root}/blt/deploy-exclude-additions.txt",
		"gitignore_file": "${blt.root}/scripts/blt/deploy/.gitignore",
		"git": {
			"failOnDirty": true
		}
	},
	"docroot": "${repo.root}/docroot",
	"drupal": {
		"account.mail": "no-reply@acquia.com",
		"locale": "en",
		"local_settings_file": "${docroot}/sites/${site}/settings/local.settings.php",
		"settings_file": "${docroot}/sites/${site}/settings.php",
		"db": {
			"database": "drupal",
			"username": "drupal",
			"password": "drupal",
			"host": "localhost",
			"port": 3306
		}
	},
	"drush": {
		"bin": "${composer.bin}/drush",
		"dir": "${docroot}",
		"sanitize": true
	},
	"git": {
		"hooks": {
			"pre-commit": "${blt.root}/scripts/git-hooks",
			"commit-msg": "${blt.root}/scripts/git-hooks"
		},
		"commit-msg": {
			"pattern": "/^${project.prefix}-[0-9]+(: )[^ ].{15,}\\./"
		}
	},
	"reports": {
		"localDir": "${repo.root}/reports",
		"remoteDir": "reports"
	},
	"phpcs": {
		"standard": "Drupal,DrupalPractice"
	},
	"phpcbf": {
		"filesets": [
			"files.php.custom.modules",
			"files.php.tests",
			"files.php.custom.themes",
			"files.frontend.custom.themes"
		]
	},
	"phpunit": [
		{
			"path": "${repo.root}/tests/phpunit",
			"class": "ExampleTest",
			"file": "ExampleTest.php",
			"config": null
		}
	],
	"project": {
		"local": {
			"uri": "${project.local.protocol}://${project.local.hostname}"
		}
	},
	"setup": {
		"strategy": "install",
		"dump-file": null
	},
	"sync": {
		"files": false,
		"exclude-paths": [
			"styles",
			"css",
			"js"
		],
		"commands": [
			"setup:composer:install",
			"sync",
			"setup:update",
			"frontend"
		]
	},
	"target-hooks": {
		"frontend-setup": {
			"dir": "${docroot}",
			"command": null
		},
		"frontend-build": {
			"dir": "${docroot}",
			"command": null
		},
		"frontend-test": {
			"dir": "${docroot}",
			"command": null
		},
		"pre-commit": {
			"dir": "${docroot}",
			"command": null
		},
		"pre-config-import": {
			"dir": "${docroot}",
			"command": null
		},
		"post-deploy-build": {
			"dir": "${deploy.dir}/docroot",
			"command": null
		},
		"post-setup-build": {
			"dir": "${docroot}",
			"command": null
		},
		"post-deploy": {
			"dir": "${docroot}",
			"command": null
		}
	},
	"tests": {
		"run-server": false,
		"server": {
			"port": 8888,
			"url": "http://127.0.0.1:${tests.server.port}"
		}
	},
	"validate": {
		"deprecated": {
			"filesets": [
				"files.php.custom.modules"
			]
		},
		"lint": {
			"filesets": [
				"files.php.custom.modules",
				"files.php.custom.themes",
				"files.php.tests"
			]
		},
		"twig": {
			"filesets": [
				"files.twig"
			],
			"filters": {},
			"functions": {}
		},
		"yaml": {
			"filesets": [
				"files.yaml"
			]
		}
	},
	"vm": {
		"enable": false,
		"config": "${repo.root}/box/config.yml"
	}
}

以上是关于json BLT默认配置/ vars在json中的主要内容,如果未能解决你的问题,请参考以下文章

Docker(十六)-Docker的daemon.json的作用

Springboot 修改配置json解析

Springboot 修改配置json解析

Springboot 修改配置json解析

System.Text.Json 中的字符编码

apache_conf 示例BLT和drupal vm多站点配置