-
Notifications
You must be signed in to change notification settings - Fork 0
/
composer.json
91 lines (91 loc) · 3.35 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
{
"name": "dow/starter-theme",
"type": "wordpress-theme",
"description": "DoW Starter Theme",
"license": "MIT",
"require": {
"php": ">=7.4",
"coenjacobs/mozart": "^0.7.1",
"composer-runtime-api": "^2.0",
"cweagans/composer-patches": "^1.7",
"hassankhan/config": "^3.0",
"illuminate/collections": "^8.83",
"illuminate/support": "^8.83",
"micropackage/acf-block-creator": "^1.0",
"micropackage/block-loader": "^1.0",
"micropackage/classnames": "^1.0",
"micropackage/dochooks": "^1.0",
"micropackage/filesystem": "^1.1",
"micropackage/requirements": "^1.2",
"micropackage/singleton": "^1.1.1",
"phpro/grumphp": "^1.5"
},
"require-dev": {
"dealerdirect/phpcodesniffer-composer-installer": "^0.7.0",
"php-parallel-lint/php-parallel-lint": "^1.3",
"php-stubs/acf-pro-stubs": "^5.10",
"php-stubs/wordpress-stubs": "*",
"phpcompatibility/php-compatibility": "^9.3",
"phpstan/phpstan-strict-rules": "^0.12.7",
"szepeviktor/phpcs-psr-12-neutron-hybrid-ruleset": "^0.5.0",
"szepeviktor/phpstan-wordpress": "^0.7.0"
},
"config": {
"optimize-autoloader": true,
"preferred-install": "dist",
"sort-packages": true,
"allow-plugins": {
"cweagans/composer-patches": true,
"dealerdirect/phpcodesniffer-composer-installer": true,
"phpro/grumphp": true
}
},
"autoload": {
"psr-4": {
"DoWStarterTheme\\": "src/classes",
"DoWStarterTheme\\Deps\\": "dependencies/"
}
},
"extra": {
"patches": {
"coenjacobs/mozart": {
"Skip file duplicates": "https://github.com/coenjacobs/mozart/pull/136.patch",
"Prevent prepending classmap prefix multiple times": "https://github.com/coenjacobs/mozart/pull/137.patch"
}
},
"mozart": {
"dep_namespace": "DoWStarterTheme\\Deps\\",
"dep_directory": "/dependencies/",
"classmap_directory": "/dependencies/classes/",
"classmap_prefix": false,
"delete_vendor_directories": false,
"skip_duplicates": true
}
},
"scripts": {
"compose": "vendor/bin/mozart compose",
"phpcs": "phpcs -ps --parallel=4 --runtime-set php_version 74000 --ignore=*/vendor/*,*/node_modules/*,*/build/*,*/dependencies/* --extensions=php --colors .",
"phpcbf": "phpcbf -ps --parallel=4 --runtime-set php_version 74000 --ignore=*/vendor/*,*/node_modules/*,*/build/*,*/dependencies/* --extensions=php --colors .",
"phpcompat": "phpcs --standard=PHPCompatibility --runtime-set testVersion 7.4 --ignore=*/vendor/*,*/node_modules/*,*/build/*,*/dependencies/* --extensions=php --colors .",
"phpstan": "phpstan analyze",
"syntax": "parallel-lint --exclude node_modules --exclude vendor --exclude dependencies .",
"test": [
"@syntax",
"@phpcompat",
"@phpstan",
"@phpcs"
],
"lint": [
"@syntax",
"@phpcompat"
],
"post-install-cmd": [
"@compose",
"composer dump-autoload"
],
"post-update-cmd": [
"@compose",
"composer dump-autoload"
]
}
}