-
Notifications
You must be signed in to change notification settings - Fork 66
/
Copy pathcomposer.json
40 lines (40 loc) · 1.08 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
{
"name": "themeum/tutor",
"type": "library",
"description": "Tutor plugin for WordPress",
"autoload": {
"psr-4": {
"Tutor\\Cache\\": "cache/",
"Tutor\\Models\\": "models/",
"Tutor\\Helpers\\": "helpers/",
"Tutor\\Traits\\": "traits/",
"Tutor\\Ecommerce\\": "ecommerce/",
"Tutor\\PaymentGateways\\": "ecommerce/PaymentGateways"
}
},
"autoload-dev": {
"psr-4": {
"TutorTest\\": "tests/phpunit"
}
},
"require-dev": {
"phpunit/phpunit": "^9",
"yoast/phpunit-polyfills": "^1.0"
},
"config": {
"allow-plugins": {
"php-http/discovery": true
}
},
"scripts": {
"post-install-cmd": [
"composer install --no-dev --working-dir=./ecommerce/PaymentGateways/Paypal",
"if [ ! -d \"tutor-droip\" ]; then git clone https://github.com/themeum/tutor-droip.git tutor-droip; fi",
"cd tutor-droip && composer install && npm install"
],
"post-update-cmd": [
"if [ ! -d \"tutor-droip\" ]; then git clone https://github.com/themeum/tutor-droip.git tutor-droip; fi",
"cd tutor-droip && composer update && npm install"
]
}
}