-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcomposer.json
More file actions
80 lines (80 loc) · 2.35 KB
/
composer.json
File metadata and controls
80 lines (80 loc) · 2.35 KB
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
75
76
77
78
79
80
{
"name": "lloc/multilingual-wp4devs",
"description": "Multilingual WordPress for developers",
"type": "wordpress-plugin",
"license": "GPL-2.0-or-later",
"autoload": {
"psr-4": {
"lloc\\Multilingual_WP4Devs\\": "include/"
}
},
"autoload-dev": {
"psr-4": {
"lloc\\MLWP4Devs_Tests\\": "tests/phpunit/"
}
},
"authors": [
{
"name": "Dennis Ploetner",
"email": "re@lloc.de"
}
],
"minimum-stability": "dev",
"config": {
"allow-plugins": {
"dealerdirect/phpcodesniffer-composer-installer": true,
"phpstan/extension-installer": true,
"lloc/composer-i18n-scripts": true
}
},
"require": {
"php": ">=8.1",
"lloc/composer-i18n-scripts": "dev-main"
},
"require-dev": {
"phpunit/phpunit": "^10",
"brain/monkey": "^2.0@dev",
"szepeviktor/phpstan-wordpress": "^2.0.0",
"phpstan/extension-installer": "^1.3",
"wp-coding-standards/wpcs": "^3.0"
},
"scripts": {
"test:php": "vendor/bin/phpunit",
"coverage:php": "@php -d xdebug.mode=coverage vendor/bin/phpunit --coverage-html tests/coverage",
"lint:php": "@php vendor/bin/phpcs .",
"fix:php": "@php vendor/bin/phpcbf .",
"test:js": "npm run test:js",
"lint:js": "npm run lint:js",
"fix:js": "npm run fix:js",
"test": ["@test:php", "@test:js"],
"lint": ["@lint:php", "@lint:js"],
"fix": ["@fix:php", "@fix:js"],
"phpstan": "@php ./vendor/bin/phpstan analyse --memory-limit=1G",
"qa": [
"@cs",
"@phpstan"
],
"build": [
"@composer install --no-dev",
"npm ci",
"npm run build"
],
"githooks": [
"if [ -e bin/githooks/pre-commit ]; then cp bin/githooks/pre-commit ./.git/hooks/; fi",
"if [ -e .git/hooks/pre-commit ]; then chmod 0755 .git/hooks/pre-commit; fi"
],
"post-install-cmd": [
"@githooks"
],
"post-update-cmd": [
"@githooks"
]
},
"repositories": [
{
"type": "path",
"version": "dev-main",
"url": "/Users/dennis.ploetner/Projects/composer-i18n-scripts"
}
]
}