|
1 | 1 | { |
2 | 2 | "name": "automattic/buddypress-vip-go", |
3 | 3 | "description": "Makes BuddyPress' media work with WordPress VIP's hosting.", |
4 | | - "type": "wordpress-plugin", |
5 | 4 | "license": "GPL-2.0-or-later", |
| 5 | + "type": "wordpress-plugin", |
6 | 6 | "authors": [ |
7 | | - { |
| 7 | + { |
8 | 8 | "name": "Human Made", |
9 | 9 | "homepage": "https://humanmade.com/" |
10 | 10 | }, |
|
13 | 13 | "homepage": "https://automattic.com/" |
14 | 14 | } |
15 | 15 | ], |
| 16 | + "homepage": "https://github.com/Automattic/BuddyPress-VIP-Go", |
16 | 17 | "support": { |
17 | 18 | "issues": "https://github.com/Automattic/BuddyPress-VIP-Go/issues", |
18 | 19 | "source": "https://github.com/Automattic/BuddyPress-VIP-Go" |
19 | 20 | }, |
20 | 21 | "require": { |
21 | | - "composer/installers": "^2", |
22 | | - "php": ">=8.2" |
| 22 | + "php": ">=8.2", |
| 23 | + "composer/installers": "^1.0 || ^2.0" |
23 | 24 | }, |
24 | 25 | "require-dev": { |
25 | 26 | "automattic/vipwpcs": "^3", |
26 | 27 | "php-parallel-lint/php-parallel-lint": "^1.0", |
27 | | - "phpcompatibility/phpcompatibility-wp": "^2.1", |
28 | | - "wp-coding-standards/wpcs": "^3.1" |
| 28 | + "phpcompatibility/phpcompatibility-wp": "^2.1" |
| 29 | + }, |
| 30 | + "config": { |
| 31 | + "allow-plugins": { |
| 32 | + "composer/installers": true, |
| 33 | + "dealerdirect/phpcodesniffer-composer-installer": true |
| 34 | + }, |
| 35 | + "sort-packages": true |
29 | 36 | }, |
30 | 37 | "scripts": { |
31 | | - "coverage": [ |
32 | | - "@putenv WP_MULTISITE=1", |
33 | | - "@php ./vendor/bin/phpunit --exclude=ms-excluded --coverage-html ./.phpunit.cache/coverage-html" |
34 | | - ], |
35 | | - "coverage-ci": [ |
36 | | - "@putenv WP_MULTISITE=1", |
37 | | - "@php ./vendor/bin/phpunit --exclude=ms-excluded" |
38 | | - ], |
39 | 38 | "cs": [ |
40 | | - "@php ./vendor/bin/phpcs" |
| 39 | + "@php ./vendor/bin/phpcs -q" |
41 | 40 | ], |
42 | | - "cbf": [ |
43 | | - "@php ./vendor/bin/phpcbf" |
| 41 | + "cs-fix": [ |
| 42 | + "@php ./vendor/bin/phpcbf -q" |
44 | 43 | ], |
| 44 | + "i18n": "@php wp i18n make-pot . ./languages/buddypress-vip-go.pot", |
45 | 45 | "lint": [ |
46 | 46 | "@php ./vendor/php-parallel-lint/php-parallel-lint/parallel-lint . -e php --exclude vendor --exclude .git" |
47 | 47 | ], |
48 | 48 | "lint-ci": [ |
49 | 49 | "@php ./vendor/php-parallel-lint/php-parallel-lint/parallel-lint . -e php --exclude vendor --exclude .git --checkstyle" |
50 | 50 | ] |
51 | 51 | }, |
52 | | - "config": { |
53 | | - "allow-plugins": { |
54 | | - "composer/installers": true, |
55 | | - "dealerdirect/phpcodesniffer-composer-installer": true |
56 | | - } |
| 52 | + "scripts-descriptions": { |
| 53 | + "cs": "Run PHP Code Sniffer", |
| 54 | + "cs-fix": "Run PHP Code Sniffer and fix violations", |
| 55 | + "i18n": "Generate a POT file for translation", |
| 56 | + "lint": "Run PHP linting", |
| 57 | + "lint-ci": "Run PHP linting and send results to stdout" |
57 | 58 | } |
58 | 59 | } |
0 commit comments