mirror of
https://gh.wpcy.net/https://github.com/timber/wp-i18n-twig.git
synced 2026-06-14 01:53:23 +08:00
54 lines
1.4 KiB
JSON
54 lines
1.4 KiB
JSON
{
|
|
"name": "timber/wp-i18n-twig",
|
|
"description": "WordPress translations extraction for Twig files with WP-CLI",
|
|
"type": "wp-cli-package",
|
|
"authors": [
|
|
{
|
|
"name": "Nicolas Lemoine",
|
|
"email": "nico@n5s.dev",
|
|
"homepage": "https://n5s.dev/"
|
|
}
|
|
],
|
|
"require": {
|
|
"twig/twig": "^3.0",
|
|
"wp-cli/i18n-command": "^2.5"
|
|
},
|
|
"require-dev": {
|
|
"slevomat/coding-standard": "^8.14",
|
|
"wp-cli/wp-cli-tests": "^5"
|
|
},
|
|
"minimum-stability": "dev",
|
|
"prefer-stable": true,
|
|
"autoload": {
|
|
"psr-4": {
|
|
"Timber\\WpI18nTwig\\": "src/"
|
|
},
|
|
"files": [
|
|
"i18n-twig-command.php"
|
|
]
|
|
},
|
|
"config": {
|
|
"allow-plugins": {
|
|
"dealerdirect/phpcodesniffer-composer-installer": true,
|
|
"ergebnis/composer-normalize": true,
|
|
"phpstan/extension-installer": true
|
|
}
|
|
},
|
|
"scripts": {
|
|
"behat": "run-behat-tests",
|
|
"behat-rerun": "rerun-behat-tests",
|
|
"lint": "run-linter-tests",
|
|
"phpcbf": "run-phpcbf-cleanup",
|
|
"phpcs": "run-phpcs-tests",
|
|
"phpstan": "run-phpstan-tests",
|
|
"phpunit": "run-php-unit-tests",
|
|
"prepare-tests": "install-package-tests",
|
|
"test": [
|
|
"@lint",
|
|
"@phpcs",
|
|
"@phpunit",
|
|
"@behat"
|
|
]
|
|
},
|
|
"licence": "MIT"
|
|
}
|