|
1 | 1 | { |
2 | 2 | "name": "automattic/ad-code-manager", |
3 | | - "type": "wordpress-plugin", |
4 | 3 | "description": "Easy ad code management", |
5 | | - "homepage": "https://github.com/Automattic/ad-code-manager/", |
6 | 4 | "license": "GPL-2.0-or-later", |
| 5 | + "type": "wordpress-plugin", |
7 | 6 | "authors": [ |
8 | 7 | { |
9 | 8 | "name": "Automattic", |
10 | 9 | "homepage": "https://automattic.com/" |
11 | 10 | } |
12 | 11 | ], |
| 12 | + "homepage": "https://github.com/Automattic/ad-code-manager/", |
| 13 | + "support": { |
| 14 | + "issues": "https://github.com/Automattic/ad-code-manager/issues", |
| 15 | + "source": "https://github.com/Automattic/ad-code-manager" |
| 16 | + }, |
13 | 17 | "require": { |
14 | 18 | "php": ">=7.4", |
15 | 19 | "composer/installers": "^1.0 || ^2.0" |
|
24 | 28 | "allow-plugins": { |
25 | 29 | "composer/installers": true, |
26 | 30 | "dealerdirect/phpcodesniffer-composer-installer": true |
27 | | - } |
| 31 | + }, |
| 32 | + "sort-packages": true |
28 | 33 | }, |
29 | 34 | "scripts": { |
30 | | - "cbf": [ |
31 | | - "@php ./vendor/bin/phpcbf" |
32 | | - ], |
33 | 35 | "coverage": [ |
34 | 36 | "@php ./vendor/bin/phpunit --coverage-html ./.phpunit.cache/coverage-html" |
35 | 37 | ], |
36 | 38 | "coverage-ci": [ |
37 | 39 | "@php ./vendor/bin/phpunit" |
38 | 40 | ], |
39 | 41 | "cs": [ |
40 | | - "@php ./vendor/bin/phpcs" |
| 42 | + "@php ./vendor/bin/phpcs -q" |
| 43 | + ], |
| 44 | + "cs-fix": [ |
| 45 | + "@php ./vendor/bin/phpcbf -q" |
41 | 46 | ], |
| 47 | + "i18n": "@php wp i18n make-pot . ./languages/ad-code-manager.pot", |
42 | 48 | "lint": [ |
43 | 49 | "@php ./vendor/php-parallel-lint/php-parallel-lint/parallel-lint . -e php --exclude vendor --exclude .git" |
44 | 50 | ], |
|
56 | 62 | "@composer test" |
57 | 63 | ] |
58 | 64 | }, |
59 | | - "support": { |
60 | | - "issues": "https://github.com/Automattic/ad-code-manager/issues", |
61 | | - "source": "https://github.com/Automattic/ad-code-manager" |
| 65 | + "scripts-descriptions": { |
| 66 | + "coverage": "Run tests with code coverage reporting", |
| 67 | + "coverage-ci": "Run tests with code coverage reporting and send results to stdout", |
| 68 | + "cs": "Run PHP Code Sniffer", |
| 69 | + "cs-fix": "Run PHP Code Sniffer and fix violations", |
| 70 | + "i18n": "Generate a POT file for translation", |
| 71 | + "lint": "Run PHP linting", |
| 72 | + "lint-ci": "Run PHP linting and send results to stdout", |
| 73 | + "prepare-ci": "Prepare the environment for integration tests", |
| 74 | + "test": "Run all tests for the Ad Code Manager plugin", |
| 75 | + "test-ms": "Run integration tests for the Ad Code Manager plugin in multisite mode" |
62 | 76 | } |
63 | 77 | } |
0 commit comments