forked from GravityKit/GravityExport-Lite
-
Notifications
You must be signed in to change notification settings - Fork 0
/
composer.json
49 lines (49 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
{
"name": "doekenorg/gf-entries-in-excel",
"description": "The fastest way to export from Gravity Forms.",
"type": "wordpress-plugin",
"license": "GPL-2.0-only",
"authors": [
{
"name": "GravityView",
"email": "[email protected]"
},
{
"name": "Doeke Norg",
"email": "[email protected]"
}
],
"minimum-stability": "stable",
"require": {
"ext-json": "*",
"php": "^7.1 || ^8.0",
"phpoffice/phpspreadsheet": "^1.16.0",
"symfony/polyfill-mbstring": "1.20.*",
"composer/installers": "~1.0"
},
"autoload": {
"psr-4": {
"GFExcel\\": "src/"
}
},
"autoload-dev": {
"psr-4": {
"GFExcel\\Tests\\": "tests/"
}
},
"require-dev": {
"phpunit/phpunit": "7.5.*",
"10up/wp_mock": "0.4.*",
"szepeviktor/phpstan-wordpress": "^0.6.2",
"wp-premium/gravityforms": "^2.4",
"phpstan/phpstan-mockery": "^0.12.5"
},
"scripts": {
"test": "vendor/bin/phpunit",
"markbaker-fix-namespace": "find ./vendor -name \"*.php\" | xargs -n 1 sed -i -E -e 's/(use|namespace) (Complex|Matrix)/\\1 GFExcel\\\\Vendor\\\\\\2/g'",
"markbaker-fix-autoload": "find ./vendor/composer -name \"*.php\" | xargs -n 1 sed -i -E -e 's/(Matrix|Complex)\\\\\/GFExcel\\\\\\\\Vendor\\\\\\\\\\1\\\\/g'",
"post-install-cmd": "composer run markbaker-fix-namespace",
"post-update-cmd": "composer run markbaker-fix-namespace",
"post-autoload-dump": "composer run markbaker-fix-autoload"
}
}