forked from ramiy/astra
-
Notifications
You must be signed in to change notification settings - Fork 0
/
composer.json
46 lines (46 loc) · 1.59 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
{
"name": "brainstormforce/astra",
"description": "A very lightweight and beautiful theme made to work with Page Builders",
"require": {
"brainstormforce/astra-notices": "^1.1"
},
"require-dev": {
"brainmaestro/composer-git-hooks": "^2.6",
"dealerdirect/phpcodesniffer-composer-installer": "^0.7.0",
"humanmade/psalm-plugin-wordpress": "^2.0",
"php-stubs/generator": "^0.8.0",
"php-stubs/woocommerce-stubs": "^5.2",
"phpcompatibility/phpcompatibility-wp": "*",
"wp-coding-standards/wpcs": "^2.1.0",
"wptrt/wpthemereview": "^0.2.0",
"automattic/vipwpcs": "^2.3"
},
"extra": {
"hooks": {
"pre-commit": [
"echo committing as $(git config user.name)",
"sh bin/block-commits-with-merge-conflict.sh"
]
},
"installer-paths": {
"inc/lib/{$name}/": [
"brainstormforce/astra-notices"
]
}
},
"scripts": {
"post-install-cmd": "vendor/bin/cghooks add --ignore-lock",
"post-update-cmd": "vendor/bin/cghooks update",
"format": "vendor/bin/phpcbf --standard=phpcs.xml.dist --report-summary --report-source",
"lint": "vendor/bin/phpcs --standard=phpcs.xml.dist --report-summary --report-source",
"psalm": "./vendor/bin/psalm",
"gen-stubs": "vendor/bin/generate-stubs astra/ --out=tests/php/static-analysis-stubs/astra-stubs.php",
"update-stubs": "rm -f tests/php/static-analysis-stubs/astra-stubs.php && grunt release-no-clean && composer gen-stubs"
},
"config": {
"allow-plugins": {
"composer/installers": true,
"dealerdirect/phpcodesniffer-composer-installer": true
}
}
}