|
1 | 1 | { |
2 | 2 | "name": "codeb/wp-feature-flags", |
3 | 3 | "description": "Allows developers to enable / disable features based on flags.", |
4 | | - "type": "wordpress-plugin", |
5 | 4 | "license": "MIT", |
6 | | - "repositories": [ |
7 | | - { |
8 | | - "type": "vcs", |
9 | | - "url": "https://git@github.com/WordPress/wordpress-develop" |
10 | | - } |
11 | | - ], |
| 5 | + "type": "wordpress-plugin", |
12 | 6 | "require-dev": { |
13 | | - "wordpress/wordpress": "^6.4", |
14 | | - "phpunit/phpunit": "^9.4", |
15 | 7 | "brain/monkey": "^2.6", |
16 | 8 | "newsuk/nuk-wp-phpcs-config": "^0.2.0", |
17 | | - "newsuk/nuk-wp-phpstan-config": "^0.1.0", |
18 | 9 | "newsuk/nuk-wp-phpmd-config": "^0.1.0", |
| 10 | + "newsuk/nuk-wp-phpstan-config": "^0.1.0", |
| 11 | + "phpunit/phpunit": "^9.4", |
| 12 | + "wordpress/wordpress": "^6.4", |
19 | 13 | "yoast/wp-test-utils": "^1.2" |
20 | 14 | }, |
| 15 | + "repositories": [ |
| 16 | + { |
| 17 | + "type": "vcs", |
| 18 | + "url": "https://git@github.com/WordPress/wordpress-develop" |
| 19 | + } |
| 20 | + ], |
21 | 21 | "autoload": { |
22 | 22 | "psr-4": { |
23 | 23 | "CodeB\\FeatureFlags\\": [ |
|
39 | 39 | "scripts": { |
40 | 40 | "lint": "phpcs .", |
41 | 41 | "lint:fix": "phpcbf .", |
42 | | - "test:unit": "phpunit --dont-report-useless-tests --configuration ./phpunit.xml --testsuite unit --testdox --coverage-text", |
43 | | - "test:integration": "phpunit --dont-report-useless-tests --configuration ./phpunit-integration.xml --testsuite integration --testdox --coverage-text", |
44 | | - "test:multisite": "phpunit --dont-report-useless-tests --configuration ./phpunit-integration-multisite.xml --testsuite integration --testdox --coverage-text", |
| 42 | + "phpmd": "phpmd plugin.php,includes text phpmd.xml.dist --color", |
45 | 43 | "phpstan": "phpstan analyse --memory-limit=2048M", |
46 | 44 | "phpstan-baseline": "phpstan analyse -b --allow-empty-baseline --memory-limit=2048M", |
47 | | - "phpmd": "phpmd plugin.php,includes text phpmd.xml.dist --color" |
| 45 | + "test:integration": "phpunit --dont-report-useless-tests --configuration ./phpunit-integration.xml --testsuite integration --testdox --coverage-text", |
| 46 | + "test:multisite": "phpunit --dont-report-useless-tests --configuration ./phpunit-integration-multisite.xml --testsuite integration --testdox --coverage-text", |
| 47 | + "test:unit": "phpunit --dont-report-useless-tests --configuration ./phpunit.xml --testsuite unit --testdox --coverage-text" |
48 | 48 | } |
49 | 49 | } |
0 commit comments