-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcomposer.json
More file actions
41 lines (41 loc) · 1.58 KB
/
composer.json
File metadata and controls
41 lines (41 loc) · 1.58 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
{
"name": "imagewize/elayne",
"description": "A WordPress block theme by Jasper Frumau",
"type": "wordpress-theme",
"license": "GPL-2.0-or-later",
"authors": [
{
"name": "Jasper Frumau",
"email": "jasper@imagewize.com"
}
],
"require": {
"php": ">=7.3"
},
"require-dev": {
"imagewize/pt-cli": "^2.0",
"php-parallel-lint/php-parallel-lint": "^1.3",
"wp-coding-standards/wpcs": "^3.0.0",
"phpcompatibility/phpcompatibility-wp": "^2.1"
},
"scripts": {
"lint": "@php ./vendor/bin/parallel-lint --exclude .git --exclude vendor --exclude patterns .",
"wpcs:scan": "@php ./vendor/squizlabs/php_codesniffer/bin/phpcs --ignore=*/vendor/*,*/patterns/*,*/node_modules/*,*/inc/blocks/*,*/blocks/*/build/*,*.js,*.css --standard=WordPress .",
"wpcs:fix": "@php ./vendor/squizlabs/php_codesniffer/bin/phpcbf --ignore=*/vendor/*,*/patterns/*,*/node_modules/*,*/inc/blocks/*,*/blocks/*/build/*,*.js,*.css --standard=WordPress .",
"pattern:list": "@php ./vendor/bin/pt-cli pattern:list",
"pattern:create": "@php ./vendor/bin/pt-cli pattern:create",
"layout:create": "@php ./vendor/bin/pt-cli layout:create",
"style:create": "@php ./vendor/bin/pt-cli style:create",
"check": "@php ./vendor/bin/pt-cli check patterns/ --theme=elayne",
"validate": "npm run validate",
"validate:woo": "npm run validate:woo",
"validate:new": "npm run validate:new",
"validate:new:woo": "npm run validate:new:woo",
"validate:clear-cache": "npm run validate:clear-cache"
},
"config": {
"allow-plugins": {
"dealerdirect/phpcodesniffer-composer-installer": true
}
}
}