forked from caseyamcl/toc
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcomposer.json
43 lines (42 loc) · 1.15 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
{
"name": "caseyamcl/toc",
"type": "library",
"description": "Simple Table-of-Contents Generator for PHP. Generates TOCs based off H1...H6 tags",
"keywords": ["table of contents", "toc"],
"homepage": "http://github.com/caseyamcl/toc",
"license": "MIT",
"authors":
[
{
"name": "Casey McLaughlin",
"email": "[email protected]",
"homepage": "http://caseymclaughlin.com",
"role": "Developer"
}
],
"autoload": {
"psr-4": {
"TOC\\": ["src/", "tests/"]
}
},
"require": {
"php": ">=5.4",
"ext-dom": "*",
"masterminds/html5": "^2.1",
"cocur/slugify": "^1.0|2.0|^3.0",
"knplabs/knp-menu": "^2.0"
},
"require-dev": {
"twig/twig": "~1.13",
"phpunit/phpunit": "~4.0",
"squizlabs/php_codesniffer": "^3.0"
},
"scripts": {
"test": "phpunit",
"check-style": "phpcs -p --standard=PSR2 --runtime-set ignore_errors_on_exit 1 --runtime-set ignore_warnings_on_exit 1 src tests",
"fix-style": "phpcbf -p --standard=PSR2 --runtime-set ignore_errors_on_exit 1 --runtime-set ignore_warnings_on_exit 1 src tests"
},
"config": {
"sort-packages": true
}
}