generated from luehrsenheinrich/wp-project-boilerplate
-
Notifications
You must be signed in to change notification settings - Fork 0
/
composer.json
43 lines (43 loc) · 1.19 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
{
"name": "wpmunich/citations-boilerplate",
"type": "wordpress-plugin",
"license": "GPL-2.0-or-later",
"optimize-autoloader": true,
"require-dev": {
"dealerdirect/phpcodesniffer-composer-installer": "^1.0.0",
"squizlabs/php_codesniffer": "^3.7",
"composer/installers": "~2.2",
"phpcompatibility/php-compatibility": "^9.3",
"wp-coding-standards/wpcs": "^2.3",
"wptrt/wpthemereview": "dev-develop",
"phpcompatibility/phpcompatibility-wp": "^2.1",
"wp-cli/wp-cli-bundle": "^2.7",
"php-stubs/wordpress-tests-stubs": "^6.2",
"php-stubs/wordpress-stubs": "^6.3"
},
"scripts": {
"lint": "phpcs -d memory_limit=-1",
"fix": "phpcbf -d memory_limit=-1",
"post-install-cmd": [
"cd plugin && composer install"
],
"post-update-cmd": [
"cd plugin && composer update"
],
"i18n-make-pot": [
"wp i18n make-pot ./plugin ./plugin/languages/citations.pot --exclude=vendor,node_modules,src,blocks/**/*.js"
],
"i18n-make-json": [
"wp i18n make-json \"./plugin/languages/\" --no-purge"
]
},
"config": {
"allow-plugins": {
"dealerdirect/phpcodesniffer-composer-installer": true,
"composer/installers": true
},
"platform": {
"php": "8.1"
}
}
}