forked from pronamic/wp-documentor
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathcomposer.json
60 lines (60 loc) · 3.05 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
{
"name": "leantime/leantime-documentor",
"description": "Documentation Generator for Leantime.",
"keywords": ["documentation", "api", "dga", "application", "phpdoc", "leantime"],
"version": "1.0.0",
"license": "GPL-2.0-or-later",
"autoload": {
"psr-4": {
"DigitalJoeCo\\Leantime\\Documentor\\": "src"
}
},
"bin": [
"bin/leantime-documentor"
],
"config": {
"platform-check": false,
"sort-packages": true,
"allow-plugins": {
"dealerdirect/phpcodesniffer-composer-installer": true,
"bamarni/composer-bin-plugin": true,
"roots/wordpress-core-installer": false,
"symfony/flex": true
}
},
"require": {
"phpdocumentor/reflection": "^6.0.0",
"phpdocumentor/reflection-docblock": "^5.4",
"symfony/console": "^v6.4",
"symfony/filesystem": "^v6.2",
"symfony/finder": "^v6.4",
"symfony/polyfill-php80": "^v1.30.0"
},
"scripts": {
"post-install-cmd": "echo 'Optionally run: composer bin all install'",
"post-update-cmd": "echo 'Optionally run: composer bin all update'",
"phpdoc": "vendor/bin/phpdoc --setting='guides.enabled=true'",
"test": [
"bin/leantime-documentor parse tests/source --format=hookster --type=actions --relative=tests/docs --output=tests/docs/hookster-actions.json",
"bin/leantime-documentor parse tests/source --format=hookster --type=filters --relative=tests/docs --output=tests/docs/hookster-filters.json",
"bin/leantime-documentor parse tests/source --format=markdown --relative=tests/docs --output=tests/docs/hooks.md",
"bin/leantime-documentor parse tests/source --format=phpdocumentor-rst --type=actions --relative=tests/docs --output=tests/docs/phpdocumentor-actions.rst",
"bin/leantime-documentor parse tests/source --format=phpdocumentor-rst --type=filters --relative=tests/docs --output=tests/docs/phpdocumentor-filters.rst",
"bin/leantime-documentor parse wordpress --format=markdown --relative=tests/docs --memory-limit=-1 --output=tests/docs/wordpress-hooks.md",
"bin/leantime-documentor parse tests/issue-10 --format=markdown --output=tests/issue-10/hooks.md --prefix=prefix_1 --prefix=prefix_2",
"bin/leantime-documentor parse tests/issue-11 --format=markdown --output=tests/issue-11/hooks.md",
"bin/leantime-documentor parse tests/issue-13 --exclude=file-exclude.php --exclude=folder-exclude/ --format=markdown --output=tests/issue-13/hooks.md",
"bin/leantime-documentor parse tests/issue-14 --format=markdown --output=tests/issue-14/hooks.md"
]
},
"require-dev": {
"bamarni/composer-bin-plugin": "^1.8.2",
"dealerdirect/phpcodesniffer-composer-installer": "^v1.0.0",
"phpcompatibility/php-compatibility": "^9.3",
"phpcompatibility/phpcompatibility-wp": "^2.1",
"phpdocumentor/phpdocumentor": "^v3.5",
"phpdocumentor/guides-restructured-text": "1.3.9",
"squizlabs/php_codesniffer": "^3.5",
"wp-coding-standards/wpcs": "^3.1"
}
}