mirror of
git://develop.git.wordpress.org/
synced 2025-01-16 12:29:54 +01:00
a39079946a
Composer 1.10.0 introduced a `lock` config option, which, when set to `false` will prevent a `composer.lock` file from being created and will ignore it when one exists. This is a useful option for packages like WordPress where the `lock` file has no meaning. It also makes life more straightforward for contributors as they don't have to remember that for this repo they should use `composer update` instead of `composer install`. Both will now work the same. Reference: [https://getcomposer.org/doc/06-config.md#lock Composer Documentation: Config: lock]. Follow-up to [51543]. Props jrf. See #61530. git-svn-id: https://develop.svn.wordpress.org/trunk@59082 602fd350-edb4-49c9-b593-d223f7449a82
39 lines
1.1 KiB
JSON
39 lines
1.1 KiB
JSON
{
|
|
"name": "wordpress/wordpress",
|
|
"license": "GPL-2.0-or-later",
|
|
"description": "WordPress is open source software you can use to create a beautiful website, blog, or app.",
|
|
"homepage": "https://wordpress.org",
|
|
"keywords": [
|
|
"blog", "cms", "wordpress", "wp"
|
|
],
|
|
"support": {
|
|
"issues": "https://core.trac.wordpress.org/"
|
|
},
|
|
"require": {
|
|
"ext-json": "*",
|
|
"php": ">=7.2.24"
|
|
},
|
|
"suggest": {
|
|
"ext-dom": "*"
|
|
},
|
|
"require-dev": {
|
|
"squizlabs/php_codesniffer": "3.10.3",
|
|
"wp-coding-standards/wpcs": "~3.1.0",
|
|
"phpcompatibility/phpcompatibility-wp": "~2.1.3",
|
|
"yoast/phpunit-polyfills": "^1.1.0"
|
|
},
|
|
"config": {
|
|
"allow-plugins": {
|
|
"dealerdirect/phpcodesniffer-composer-installer": true
|
|
},
|
|
"lock": false
|
|
},
|
|
"scripts": {
|
|
"compat": "@php ./vendor/squizlabs/php_codesniffer/bin/phpcs --standard=phpcompat.xml.dist --report=summary,source",
|
|
"format": "@php ./vendor/squizlabs/php_codesniffer/bin/phpcbf --report=summary,source",
|
|
"lint": "@php ./vendor/squizlabs/php_codesniffer/bin/phpcs --report=summary,source",
|
|
"lint:errors": "@lint -n",
|
|
"test": [ "Composer\\Config::disableProcessTimeout", "@php ./vendor/phpunit/phpunit/phpunit" ]
|
|
}
|
|
}
|