Add make-pot command to composer and update _s.pot file
correct spacing
This commit is contained in:
parent
d86ec8cb63
commit
233c99ae47
2 changed files with 96 additions and 90 deletions
|
@ -20,11 +20,13 @@
|
|||
"require-dev": {
|
||||
"dealerdirect/phpcodesniffer-composer-installer": "^0.6.2",
|
||||
"wptrt/wpthemereview": "^0.2.1",
|
||||
"php-parallel-lint/php-parallel-lint": "^1.2.0"
|
||||
"php-parallel-lint/php-parallel-lint": "^1.2.0",
|
||||
"wp-cli/i18n-command": "^2.2"
|
||||
},
|
||||
"scripts": {
|
||||
"lint:wpcs": "@php ./vendor/squizlabs/php_codesniffer/bin/phpcs",
|
||||
"lint:php": "@php ./vendor/bin/parallel-lint --exclude .git --exclude vendor ."
|
||||
"lint:php": "@php ./vendor/bin/parallel-lint --exclude .git --exclude vendor .",
|
||||
"make-pot": "wp i18n make-pot . languages/_s.pot"
|
||||
},
|
||||
"support": {
|
||||
"issues": "https://github.com/Automattic/_s/issues",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue