-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathcomposer.json
64 lines (64 loc) · 1.37 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": "cedaro/structure",
"description": "Add some structure to your WordPress plugins.",
"keywords": [
"wordpress"
],
"homepage": "https://www.cedaro.com/",
"license": "MIT",
"authors": [
{
"name": "Cedaro",
"email": "[email protected]",
"homepage": "https://www.cedaro.com/"
}
],
"type": "wordpress-plugin",
"config": {
"allow-plugins": {
"composer/installers": true
}
},
"require": {
"cedaro/wp-plugin": "dev-refactor",
"composer/installers": "^2.0",
"pimple/pimple": "^3.5"
},
"autoload": {
"psr-4": {
"Structure\\": "src/"
},
"classmap": [
"library"
],
"files": [
"src/global.php"
]
},
"scripts": {
"prefix-namespaces": [
"sh -c 'test -f ./bin/strauss.phar || curl -o bin/strauss.phar -L -C - https://github.com/BrianHenryIE/strauss/releases/latest/download/strauss.phar'",
"@php bin/strauss.phar",
"@composer dump-autoload"
],
"post-install-cmd": [
"@prefix-namespaces"
],
"post-update-cmd": [
"@prefix-namespaces"
],
"post-autoload-dump": [
"@php bin/strauss.phar"
]
},
"extra": {
"strauss": {
"target_directory": "library",
"namespace_prefix": "Structure\\",
"packages": [
"cedaro/wp-plugin",
"pimple/pimple"
]
}
}
}