forked from a8cteam51/build-processes-demo
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcomposer.json
116 lines (100 loc) · 3.95 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
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
{
"name": "a8cteam51/build-processes-demo",
"type": "wordpress-project",
"description": "A demo project for showcasing standardized build processes for various asset types.",
"homepage": "https://build-processes-demo-production.mystagingwebsite.com",
"license": "GPL-2.0-or-later",
"authors": [
{
"name": "Contributors",
"homepage": "https://github.com/a8cteam51/build-processes-demo/graphs/contributors"
}
],
"repositories": [
{
"type": "vcs",
"url": "https://github.com/a8cteam51/team51-configs"
},
{
"type": "composer",
"url": "https://wpackagist.org",
"only": [
"wpackagist-plugin/*",
"wpackagist-theme/*"
]
}
],
"require": {
"php": ">=7.4",
"ext-json": "*"
},
"require-dev": {
"a8cteam51/team51-configs": "dev-trunk",
"wpackagist-theme/blockbase": "*",
"wpackagist-plugin/woocommerce": "*",
"wp-cli/i18n-command": "^2.4",
"squizlabs/php_codesniffer": "3.*",
"dealerdirect/phpcodesniffer-composer-installer": "*",
"phpcompatibility/phpcompatibility-wp": "*",
"wp-coding-standards/wpcs": "dev-develop",
"roave/security-advisories": "dev-latest"
},
"scripts": {
"format:php": [
"@format:php:theme",
"@format:php:blocks",
"@format:php:features"
],
"format:php:theme": "phpcbf --standard=./themes/build-processes-demo/.phpcs.xml --basepath=. ./themes/build-processes-demo -v",
"format:php:blocks": "phpcbf --standard=./mu-plugins/build-processes-demo-blocks/.phpcs.xml --basepath=. ./mu-plugins/build-processes-demo-blocks -v",
"format:php:features": "phpcbf --standard=./mu-plugins/build-processes-demo-features/.phpcs.xml --basepath=. ./mu-plugins/build-processes-demo-features -v",
"lint:php": [
"@lint:php:theme",
"@lint:php:blocks",
"@lint:php:features"
],
"lint:php:theme": "phpcs --standard=./themes/build-processes-demo/.phpcs.xml --basepath=. ./themes/build-processes-demo -v",
"lint:php:blocks": "phpcs --standard=./mu-plugins/build-processes-demo-blocks/.phpcs.xml --basepath=. ./mu-plugins/build-processes-demo-blocks -v",
"lint:php:features": "phpcs --standard=./mu-plugins/build-processes-demo-features/.phpcs.xml --basepath=. ./mu-plugins/build-processes-demo-features -v",
"internationalize": [
"@makepot:theme",
"@updatepo:theme",
"@makepot:blocks",
"@updatepo:blocks",
"@makejson:blocks",
"@makepot:plugin",
"@updatepo:plugin"
],
"makepot:theme": "wp i18n make-pot themes/build-processes-demo",
"updatepo:theme": "wp i18n update-po themes/build-processes-demo/languages/build-processes-demo.pot",
"makemo:theme": "wp i18n make-mo themes/build-processes-demo/languages",
"makepot:blocks": "wp i18n make-pot mu-plugins/build-processes-demo-blocks",
"updatepo:blocks": "wp i18n update-po mu-plugins/build-processes-demo-blocks/languages/build-processes-demo-blocks.pot",
"makejson:blocks": "wp i18n make-json mu-plugins/build-processes-demo-blocks/languages --pretty-print --no-purge",
"makemo:blocks": "wp i18n make-mo mu-plugins/build-processes-demo-blocks/languages",
"makepot:plugin": "wp i18n make-pot mu-plugins/build-processes-demo-features",
"updatepo:plugin": "wp i18n update-po mu-plugins/build-processes-demo-features/languages/build-processes-demo-features.pot",
"makemo:plugin": "wp i18n make-mo mu-plugins/build-processes-demo-features/languages",
"packages-install": "@composer install --ignore-platform-reqs --no-interaction",
"packages-update": [
"@composer clear-cache",
"@composer update --prefer-stable --no-interaction"
]
},
"config": {
"allow-plugins": {
"composer/*": true,
"dealerdirect/phpcodesniffer-composer-installer": true
}
},
"extra": {
"installer-paths": {
"plugins/{$name}/": [
"type:wordpress-plugin"
],
"themes/{$name}/": [
"type:wordpress-theme"
]
}
}
}