-
Notifications
You must be signed in to change notification settings - Fork 6
/
composer.json
64 lines (64 loc) · 1.63 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
{
"name": "dkjensen/wc-cart-pdf",
"type": "wordpress-plugin",
"require-dev": {
"dealerdirect/phpcodesniffer-composer-installer": "*",
"phpcompatibility/phpcompatibility-wp": "*",
"php-stubs/wordpress-stubs": "*",
"phpcompatibility/php-compatibility": "^9.3",
"wp-coding-standards/wpcs": "^2.2",
"squizlabs/php_codesniffer": "^3.5",
"automattic/vipwpcs": "^2.2",
"php-stubs/woocommerce-stubs": "*"
},
"require": {
"mpdf/mpdf": "8.2.4"
},
"autoload": {
"psr-4": {
"WCCartPDF\\": "src/dependencies"
}
},
"scripts": {
"post-install-cmd": [
"mkdir -p ./src/data; cp -R vendor/mpdf/mpdf/data/ ./src/",
"mkdir -p ./src/ttfonts; cp -R vendor/mpdf/mpdf/ttfonts/ ./src/",
"mozart compose",
"composer dump-autoload",
"bash ./bin/update-assets-dir.sh"
],
"post-update-cmd": [
"mkdir -p ./src/data; cp -R vendor/mpdf/mpdf/data/ ./src/",
"mkdir -p ./src/ttfonts; cp -R vendor/mpdf/mpdf/ttfonts/ ./src/",
"mozart compose",
"composer dump-autoload",
"bash ./bin/update-assets-dir.sh"
]
},
"authors": [
{
"name": "David Jensen",
"email": "[email protected]"
}
],
"config": {
"platform": {
"php": "8.0.0"
},
"allow-plugins": {
"dealerdirect/phpcodesniffer-composer-installer": true
}
},
"extra": {
"mozart": {
"dep_namespace": "WCCartPDF",
"dep_directory": "/src/dependencies/",
"classmap_directory": "/src/classmap/",
"classmap_prefix": "WCCartPDF_",
"packages": [
"mpdf/mpdf"
],
"delete_vendor_directories": true
}
}
}