Init commit
This commit is contained in:
22
composer.json
Normal file
22
composer.json
Normal file
@@ -0,0 +1,22 @@
|
||||
{
|
||||
"require-dev": {
|
||||
"dealerdirect/phpcodesniffer-composer-installer": "^1.0",
|
||||
"phpcompatibility/phpcompatibility-wp": "^2.1",
|
||||
"sirbrillig/phpcs-changed": "^2.11",
|
||||
"sirbrillig/phpcs-variable-analysis": "^2.11",
|
||||
"wp-cli/i18n-command": "^2.6",
|
||||
"wp-coding-standards/wpcs": "^3.1"
|
||||
},
|
||||
"scripts": {
|
||||
"php:lint": "vendor/bin/phpcs -p -s",
|
||||
"php:lint:errors": "vendor/bin/phpcs -p -s --runtime-set ignore_warnings_on_exit 1",
|
||||
"php:lint:autofix": "vendor/bin/phpcbf",
|
||||
"php:lint:changed": "vendor/bin/phpcs-changed --git --git-unstaged",
|
||||
"make-pot": "wp i18n make-pot . theme/languages/familiarosatheme.pot"
|
||||
},
|
||||
"config": {
|
||||
"allow-plugins": {
|
||||
"dealerdirect/phpcodesniffer-composer-installer": true
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user