-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathcomposer.json
73 lines (73 loc) · 1.82 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
{
"name": "dotdigital/dotdigital-for-wordpress",
"version": "7.2.4",
"authors": [
{
"name": "Dotdigital",
"email": "integrations@dotdigital.com",
"homepage": "https://www.dotdigital.com"
}
],
"require": {
"php": "^7.4 || ^8.0",
"dotdigital/dotdigital-php": "^2.4.1",
"guzzlehttp/psr7": "^2.5",
"php-http/curl-client": "^2.3",
"guzzlehttp/guzzle": "^7.7",
"php-http/message": "^1.16"
},
"require-dev": {
"squizlabs/php_codesniffer": "*",
"phpcompatibility/phpcompatibility-wp": "*",
"wp-coding-standards/wpcs": "*",
"dealerdirect/phpcodesniffer-composer-installer": "*",
"phpstan/phpstan": "^1.10",
"szepeviktor/phpstan-wordpress": "^1.3",
"phpstan/extension-installer": "^1.3",
"bamarni/composer-bin-plugin": "^1.8"
},
"config": {
"allow-plugins": {
"dealerdirect/phpcodesniffer-composer-installer": true,
"php-http/discovery": true,
"phpstan/extension-installer": true,
"bamarni/composer-bin-plugin": true
}
},
"autoload": {
"classmap": [
"admin/",
"includes/",
"public/",
"dm_signup_form.php",
"vendor/dotdigital",
"vendor/php-http",
"vendor/guzzlehttp",
"vendor/psr",
"vendor/symfony",
"vendor/clue",
"vendor/ralouphie"
]
},
"scripts": {
"prefix-dependencies": [
"@php php-scoper.phar add-prefix --prefix=Dotdigital_WordPress_Vendor --output-dir=./build_prefixed --force",
"composer du --working-dir build_prefixed --classmap-authoritative"
],
"build-blocks": [
"cd build_prefixed && npm install && npm run build"
],
"post-bundle": [
"rm -rf build_prefixed/node_modules",
"rm -rf build_prefixed/package.json",
"rm -rf build_prefixed/package-lock.json",
"rm -rf build_prefixed/composer.json",
"rm -rf build_prefixed/blocks"
],
"bundle": [
"@prefix-dependencies",
"@build-blocks",
"@post-bundle"
]
}
}