68 lines
2.1 KiB
JSON
68 lines
2.1 KiB
JSON
{
|
|
"name": "netig/netslim-blog",
|
|
"description": "Concrete blog application built on top of netslim-core.",
|
|
"license": "MIT",
|
|
"type": "project",
|
|
"require": {
|
|
"php": "^8.4",
|
|
"netig/netslim-core": "^1.0.0"
|
|
},
|
|
"require-dev": {
|
|
"phpunit/phpunit": "^13.0",
|
|
"phpstan/phpstan": "^1.10",
|
|
"friendsofphp/php-cs-fixer": "^3.50"
|
|
},
|
|
"autoload": {
|
|
"psr-4": {
|
|
"App\\": "src/"
|
|
}
|
|
},
|
|
"autoload-dev": {
|
|
"psr-4": {
|
|
"Tests\\": "tests/"
|
|
}
|
|
},
|
|
"scripts": {
|
|
"test": "@php vendor/bin/phpunit",
|
|
"test:coverage": "@php -d xdebug.mode=coverage vendor/bin/phpunit --coverage-text",
|
|
"stan": "@php vendor/bin/phpstan analyse",
|
|
"cs:check": "@php vendor/bin/php-cs-fixer fix --dry-run --diff",
|
|
"cs:fix": "@php vendor/bin/php-cs-fixer fix",
|
|
"qa": [
|
|
"@test",
|
|
"@stan",
|
|
"@cs:check"
|
|
],
|
|
"provision": "@php bin/provision.php",
|
|
"start": "@php -S 127.0.0.1:8080 -t public",
|
|
"frontend:install": "npm install",
|
|
"frontend:build": "npm run build"
|
|
},
|
|
"scripts-descriptions": {
|
|
"test": "Run PHPUnit test suite",
|
|
"test:coverage": "Run PHPUnit with text coverage output (requires Xdebug)",
|
|
"stan": "Run PHPStan static analysis",
|
|
"cs:check": "Check coding style with PHP CS Fixer",
|
|
"cs:fix": "Fix coding style issues with PHP CS Fixer",
|
|
"qa": "Run quality checks",
|
|
"provision": "Provision the development SQLite database",
|
|
"start": "Start the local development server",
|
|
"frontend:install": "Install frontend dependencies",
|
|
"frontend:build": "Build frontend assets"
|
|
},
|
|
"config": {
|
|
"sort-packages": true,
|
|
"optimize-autoloader": true,
|
|
"preferred-install": {
|
|
"*": "dist"
|
|
}
|
|
},
|
|
"repositories": [
|
|
{
|
|
"type": "vcs",
|
|
"url": "https://git.netig.net/netig/netslim-core.git"
|
|
}
|
|
],
|
|
"prefer-stable": true
|
|
}
|