99 lines
2.9 KiB
JSON
99 lines
2.9 KiB
JSON
|
|
{
|
||
|
|
"name": "knuckleswtf/scribe",
|
||
|
|
"description": "Generate API documentation for humans from your Laravel codebase.✍",
|
||
|
|
"license": "MIT",
|
||
|
|
"keywords": [
|
||
|
|
"API",
|
||
|
|
"documentation",
|
||
|
|
"laravel"
|
||
|
|
],
|
||
|
|
"authors": [
|
||
|
|
{
|
||
|
|
"name": "Shalvah"
|
||
|
|
}
|
||
|
|
],
|
||
|
|
"homepage": "https://github.com/knuckleswtf/scribe",
|
||
|
|
"funding": [
|
||
|
|
{
|
||
|
|
"type": "patreon",
|
||
|
|
"url": "https://patreon.com/shalvah"
|
||
|
|
}
|
||
|
|
],
|
||
|
|
"require": {
|
||
|
|
"php": ">=8.1",
|
||
|
|
"ext-fileinfo": "*",
|
||
|
|
"ext-json": "*",
|
||
|
|
"ext-pdo": "*",
|
||
|
|
"fakerphp/faker": "^1.23.1",
|
||
|
|
"laravel/framework": "^9.21 || ^10.0 || ^11.0 || ^12.0 || ^13.0",
|
||
|
|
"league/flysystem": "^3.0",
|
||
|
|
"mpociot/reflection-docblock": "^1.0.1",
|
||
|
|
"nikic/php-parser": "^5.0",
|
||
|
|
"nunomaduro/collision": "^6.0 || ^7.0 || ^8.0",
|
||
|
|
"parsedown/parsedown": "^1.7",
|
||
|
|
"ramsey/uuid": "^4.2.2",
|
||
|
|
"shalvah/upgrader": "^0.6.0",
|
||
|
|
"symfony/var-exporter": "^6.0 || ^7.0 || ^8.0",
|
||
|
|
"symfony/yaml": "^6.0 || ^7.0 || ^8.0"
|
||
|
|
},
|
||
|
|
"require-dev": {
|
||
|
|
"dms/phpunit-arraysubset-asserts": "^0.5.0",
|
||
|
|
"laravel/legacy-factories": "^1.3.0",
|
||
|
|
"laravel/pint": "^1.20",
|
||
|
|
"league/fractal": "^0.20",
|
||
|
|
"nikic/fast-route": "^1.3",
|
||
|
|
"orchestra/testbench": "^7.0 || ^8.0 || ^9.10 || ^10.0 || ^11.0",
|
||
|
|
"pestphp/pest": "^1.21 || ^2.0 || ^3.0 || ^4.0",
|
||
|
|
"phpstan/phpstan": "^2.1.5",
|
||
|
|
"phpunit/phpunit": "^9.0 || ^10.0 || ^11.0 || ^12.0",
|
||
|
|
"spatie/ray": "^1.41",
|
||
|
|
"symfony/css-selector": "^6.0 || ^7.0 || ^8.0",
|
||
|
|
"symfony/dom-crawler": "^6.0 || ^7.0 || ^8.0"
|
||
|
|
},
|
||
|
|
"replace": {
|
||
|
|
"mpociot/laravel-apidoc-generator": "*"
|
||
|
|
},
|
||
|
|
"autoload": {
|
||
|
|
"psr-4": {
|
||
|
|
"Knuckles\\Camel\\": "camel/",
|
||
|
|
"Knuckles\\Scribe\\": "src/"
|
||
|
|
},
|
||
|
|
"files": [
|
||
|
|
"src/Config/helpers.php"
|
||
|
|
]
|
||
|
|
},
|
||
|
|
"autoload-dev": {
|
||
|
|
"psr-4": {
|
||
|
|
"Knuckles\\Scribe\\Tests\\": "tests/"
|
||
|
|
}
|
||
|
|
},
|
||
|
|
"config": {
|
||
|
|
"allow-plugins": {
|
||
|
|
"pestphp/pest-plugin": true
|
||
|
|
},
|
||
|
|
"preferred-install": "dist",
|
||
|
|
"process-timeout": 600,
|
||
|
|
"sort-packages": true
|
||
|
|
},
|
||
|
|
"extra": {
|
||
|
|
"laravel": {
|
||
|
|
"providers": [
|
||
|
|
"Knuckles\\Scribe\\ScribeServiceProvider"
|
||
|
|
]
|
||
|
|
}
|
||
|
|
},
|
||
|
|
"scripts": {
|
||
|
|
"post-install-cmd": [
|
||
|
|
"git config core.hooksPath .githooks"
|
||
|
|
],
|
||
|
|
"post-update-cmd": [
|
||
|
|
"git config core.hooksPath .githooks"
|
||
|
|
],
|
||
|
|
"lint": "phpstan analyse -c ./phpstan.neon src camel --memory-limit 1G",
|
||
|
|
"style:check": "pint . --test --parallel --ansi",
|
||
|
|
"style:fix": "pint . --parallel --ansi",
|
||
|
|
"test": "pest --stop-on-failure --colors",
|
||
|
|
"test-ci": "pest"
|
||
|
|
}
|
||
|
|
}
|