Permalink
Switch branches/tags
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
105 lines (104 sloc) 3.35 KB
{
"name": "hunzhiwange/queryphp",
"description": "The QueryPHP Application.",
"keywords": ["php", "framework", "queryphp", "vue", "swoole", "iview", "iview"],
"license": "MIT",
"homepage": "http://www.queryphp.com",
"support": {
"issues": "https://github.com/hunzhiwange/queryphp/issues",
"source": "https://github.com/hunzhiwange/queryphp"
},
"authors": [{
"name": "Xiangmin Liu",
"email": "635750556@qq.com"
}],
"require": {
"php": "^7.1.3",
"hunzhiwange/framework": "dev-master"
},
"require-dev": {
"php-coveralls/php-coveralls":"^2.1",
"phpunit/phpunit": "~7.0",
"codedungeon/phpunit-result-printer": "^0.20.1"
},
"autoload": {
"files": [
"common/Infra/functions.php"
],
"psr-4": {
"App\\" : "application/app",
"Admin\\" : "application/admin",
"Common\\" : "common"
}
},
"extra": {
"branch-alias": {
"dev-master": "1.0-dev"
},
"leevel": {
"providers": [
"Common\\Infra\\Provider\\Event",
"Common\\Infra\\Provider\\Router"
],
"ignores": [
"Leevel\\Notexits\\Provider\\Register"
],
"commands": [
"Common\\App\\Console"
],
"options": {
"test": "common/ui/option/test.php"
},
"i18ns": [
"common/ui/i18n"
],
"metas": {
"foo": "bar"
}
},
"leevel-console" : {
"autoload": {
"namespaces": [
"Leevel",
"Dotenv",
"Carbon",
"Monolog",
"Whoops",
"Swagger"
]
},
"view-cache": {
"paths": [
"common",
"application"
]
}
}
},
"scripts": {
"post-root-package-install": [
"@php -r \"file_exists('.env') || copy('.env.example', '.env');\"",
"@php -r \"file_exists('.testing') || copy('.testing.example', '.testing');\"",
"@php -r \"file_exists('frontend/.env.local') || copy('frontend/.env.example', 'frontend/.env.local');\"",
"@php -r \"file_exists('frontend/.env.production') || copy('frontend/.env.example', 'frontend/.env.production');\""
],
"post-create-project-cmd": [
"@php leevel links",
"@php leevel autoload:clear"
],
"post-autoload-dump": [
"@php -r \"file_exists('.env') || copy('.env.example', '.env');\"",
"@php -r \"file_exists('.testing') || copy('.testing.example', '.testing');\"",
"@php -r \"file_exists('frontend/.env.local') || copy('frontend/.env.example', 'frontend/.env.local');\"",
"@php -r \"file_exists('frontend/.env.production') || copy('frontend/.env.example', 'frontend/.env.production');\"",
"@php leevel autoload --ignore=1"
]
},
"config": {
"preferred-install": "dist",
"sort-packages": true,
"optimize-autoloader": true
},
"minimum-stability": "dev",
"prefer-stable": true
}