|
1 | 1 | {
|
2 |
| - "name": "schlessera/notification-center", |
3 |
| - "description": "Notification Center for WordPress (Feature Plugin)", |
4 |
| - "type": "wordpress-plugin", |
5 |
| - "require-dev": { |
6 |
| - "phpunit/phpunit": "^7", |
7 |
| - "dealerdirect/phpcodesniffer-composer-installer": "^0.7.1", |
8 |
| - "wp-coding-standards/wpcs": "^2.3", |
9 |
| - "wp-phpunit/wp-phpunit": "^5.6" |
| 2 | + "name": "wordpress/wp-feature-notifications", |
| 3 | + "description": "Notification Center for WordPress (Feature Plugin)", |
| 4 | + "type": "wordpress-plugin", |
| 5 | + "require-dev": { |
| 6 | + "phpunit/phpunit": "^7", |
| 7 | + "yoast/phpunit-polyfills": "1.0.3", |
| 8 | + "dealerdirect/phpcodesniffer-composer-installer": "^0.7.1", |
| 9 | + "wp-coding-standards/wpcs": "^2.3", |
| 10 | + "wp-phpunit/wp-phpunit": "^5.6", |
| 11 | + "brainmaestro/composer-git-hooks": "^2.8" |
| 12 | + }, |
| 13 | + "license": "GPL-2.0-or-later", |
| 14 | + "authors": [ |
| 15 | + { |
| 16 | + "name": "Alain Schlesser", |
| 17 | + |
| 18 | + } |
| 19 | + ], |
| 20 | + "minimum-stability": "dev", |
| 21 | + "prefer-stable": true, |
| 22 | + "scripts": { |
| 23 | + "lint": "vendor/squizlabs/php_codesniffer/bin/phpcs --report=summary,source", |
| 24 | + "test": "vendor/bin/phpunit", |
| 25 | + "lint-fix": "vendor/bin/phpcbf --standard=phpcs.xml.dist includes/", |
| 26 | + "cghooks": "vendor/bin/cghooks", |
| 27 | + "phpcs-fix": "phpcbf --standard=phpcs.xml.dist includes/", |
| 28 | + "post-install-cmd": "cghooks add --ignore-lock", |
| 29 | + "post-update-cmd": "cghooks update" |
| 30 | + }, |
| 31 | + "extra": { |
| 32 | + "hooks": { |
| 33 | + "pre-commit": [ |
| 34 | + "composer lint-fix && npm run build" |
| 35 | + ], |
| 36 | + "post-merge": "composer install" |
| 37 | + } |
| 38 | + }, |
| 39 | + "config": { |
| 40 | + "allow-plugins": { |
| 41 | + "dealerdirect/phpcodesniffer-composer-installer": true |
10 | 42 | },
|
11 |
| - "license": "GPL-2.0-or-later", |
12 |
| - "authors": [ |
13 |
| - { |
14 |
| - "name": "Alain Schlesser", |
15 |
| - |
16 |
| - } |
17 |
| - ], |
18 |
| - "minimum-stability": "dev", |
19 |
| - "prefer-stable": true, |
20 |
| - "scripts": { |
21 |
| - "lint": "vendor/bin/phpcs", |
22 |
| - "test": "vendor/bin/phpunit" |
| 43 | + "platform": { |
| 44 | + "php": "7.2" |
23 | 45 | }
|
| 46 | + } |
24 | 47 | }
|
0 commit comments