build: add example files to package
parent
183bff6a
No related branches found
No related tags found
... | ... | @@ -6,7 +6,7 @@ |
"homepage": "https://gitlab.com/wpdesk/wp-code-sniffer", | ||
"type": "phpcodesniffer-standard", | ||
"prefer-stable": true, | ||
"version": "1.2.1", | ||
"version": "1.2.2", | ||
"authors": [ | ||
{ | ||
"name": "grola", | ||
... | ... | @@ -14,24 +14,24 @@ |
} | ||
], | ||
"require": { | ||
"php": ">=7.0", | ||
"php": ">=7.0", | ||
"dealerdirect/phpcodesniffer-composer-installer": "0.6|^0.7", | ||
"squizlabs/php_codesniffer": "^3.6", | ||
"wp-coding-standards/wpcs": "^2.3", | ||
"phpcompatibility/phpcompatibility-wp": "^2.1.1" | ||
"phpcompatibility/phpcompatibility-wp": "^2.1.1" | ||
}, | ||
"require-dev": { | ||
"roave/security-advisories": "dev-latest" | ||
}, | ||
"require-dev": { | ||
"roave/security-advisories": "dev-latest" | ||
}, | ||
"scripts": { | ||
"install-codestandards" : [ | ||
"Dealerdirect\\Composer\\Plugin\\Installers\\PHPCodeSniffer\\Plugin::run" | ||
], | ||
"pre-package-install": [ | ||
"@install-codestandards" | ||
], | ||
"post-package-update": [ | ||
"@install-codestandards" | ||
] | ||
"install-codestandards" : [ | ||
"Dealerdirect\\Composer\\Plugin\\Installers\\PHPCodeSniffer\\Plugin::run" | ||
], | ||
"pre-package-install": [ | ||
"@install-codestandards" | ||
], | ||
"post-package-update": [ | ||
"@install-codestandards" | ||
] | ||
} | ||
} |
Please register or sign in to comment