-
Notifications
You must be signed in to change notification settings - Fork 21
/
Copy pathcomposer.json
74 lines (74 loc) · 2.42 KB
/
composer.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
{
"name": "wordpress/secure-custom-fields",
"description": "Secure Custom Fields",
"license": "GPL-2.0-or-later",
"type": "wordpress-plugin",
"authors": [
{
"name": "WordPress.org"
}
],
"require": {
"php": ">=7.4"
},
"require-dev": {
"automattic/wordbless": "^0.5.0",
"dealerdirect/phpcodesniffer-composer-installer": "^1.0",
"ergebnis/composer-normalize": "^2.45",
"nikic/php-parser": "^4.0",
"phpcompatibility/phpcompatibility-wp": "^2.1.3",
"phpstan/extension-installer": "^1.4",
"phpunit/phpunit": "^9.6",
"sirbrillig/phpcs-changed": "^2.11",
"symfony/finder": "^5.0 || ^6.0",
"szepeviktor/phpstan-wordpress": "^2.0",
"wp-coding-standards/wpcs": "^3.0",
"yoast/phpunit-polyfills": "^1.1.0"
},
"config": {
"allow-plugins": {
"dealerdirect/phpcodesniffer-composer-installer": true,
"ergebnis/composer-normalize": true,
"phpstan/extension-installer": true,
"roots/wordpress-core-installer": true
},
"platform": {
"php": "7.4"
}
},
"scripts": {
"post-install-cmd": "WorDBless\\Composer\\InstallDropin::copy",
"post-update-cmd": "WorDBless\\Composer\\InstallDropin::copy",
"docs": [
"@docs:parse",
"@docs:links",
"@docs:fix",
"@docs:lint",
"@docs:manifest"
],
"docs:fix": "npm run fix:md",
"docs:links": "php docs/bin/update-markdown-links.php",
"docs:lint": "npm run lint:md",
"docs:manifest": "php docs/bin/generate-manifest.php",
"docs:parse": "php docs/bin/generate-parsed-md.php --output=${DOCS_OUTPUT_DIR:-docs/code-reference}",
"format": [
"@format:php",
"@format:packages"
],
"format:packages": [
"composer normalize",
"npm run sort-package-json"
],
"format:php": "phpcbf",
"lint": "@lint:php",
"lint:php": "phpcs",
"prepare-release": "php bin/prepare-release.php",
"test": [
"@test:php",
"@test:phpstan"
],
"test:php": "phpunit",
"test:phpstan": "phpstan analyze --memory-limit=2G",
"test:phpstan:baseline": "phpstan analyze --memory-limit=2G --generate-baseline=bin/baseline.neon"
}
}