-
-
Notifications
You must be signed in to change notification settings - Fork 13
/
composer.json
67 lines (67 loc) · 1.5 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
{
"name": "idleberg/wordpress-vite-assets",
"description": "Injects assets from a Vite manifest to the Wordpress head, supports themes and plugins",
"type": "library",
"license": "MIT",
"keywords": [
"wordpress",
"vite",
"vitejs",
"vite manifest"
],
"minimum-stability": "dev",
"prefer-stable": true,
"autoload": {
"psr-4": {
"Idleberg\\WordPress\\ViteAssets\\": "src/"
}
},
"authors": [
{
"name": "Jan T. Sott",
"email": "[email protected]"
}
],
"require": {
"php": ">=8.1",
"idleberg/vite-manifest": "^1.2.0"
},
"require-dev": {
"codeception/codeception": "^5.0.4",
"codeception/module-asserts": "^3.0.0",
"friendsofphp/php-cs-fixer": "^3.11",
"phpstan/phpstan": "^1.9",
"phpstan/extension-installer": "^1.2",
"szepeviktor/phpstan-wordpress": "^1.1",
"brainmaestro/composer-git-hooks": "^3.0.0",
"shipmonk/composer-dependency-analyser": "^1.6"
},
"scripts": {
"format": "vendor/bin/php-cs-fixer fix ./src",
"lint": "php -l ./src",
"test": [
"vendor/bin/phpstan analyse ./src --memory-limit=512M --level 5",
"vendor/bin/codecept run"
],
"unused": "vendor/bin/composer-dependency-analyser"
},
"config": {
"allow-plugins": {
"phpstan/extension-installer": true
}
},
"extra": {
"hooks": {
"config": {
"stop-on-failure": [
"pre-commit"
]
},
"pre-commit": [
"composer run format",
"composer run lint",
"composer run unused"
]
}
}
}