This repository has been archived by the owner on Oct 21, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
composer.json
93 lines (90 loc) · 3.09 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
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
{
"name": "limoncello-php/app",
"homepage": "https://github.com/limoncello-php/app",
"support": {
"issues": "https://github.com/limoncello-php/app/issues"
},
"license": "MIT",
"authors": [
{
"name": "neomerx",
"email": "info@neomerx.com"
}
],
"require": {
"php": ">=7.1.0",
"vlucas/phpdotenv": "^3.6",
"limoncello-php/framework": "^0.10",
"intervention/image": "^2.5"
},
"require-dev": {
"limoncello-php/testing": "^0.10",
"filp/whoops": "^2.1",
"squizlabs/php_codesniffer": "^2.9",
"phpmd/phpmd": "^2.6",
"phpunit/phpunit": "^8.0",
"mockery/mockery": "^1.0"
},
"autoload": {
"psr-4": {
"App\\": "server/app/",
"Messages\\": "server/messages/",
"Settings\\": "server/settings/",
"Cached\\": "server/storage/cache/settings/"
}
},
"autoload-dev": {
"psr-4": {
"Tests\\": "server/tests/"
}
},
"extra": {
"application": {
"commands_cache": "server/storage/cache/settings/commands_cache.php"
}
},
"config": {
"optimize-autoloader": true
},
"scripts": {
"post-root-package-install": [
"php -r \"file_exists('.env') || copy('.env.sample', '.env');\""
],
"post-create-project-cmd": [
"@composer l:commands connect",
"@composer db"
],
"post-update-cmd": ["@composer l:commands connect"],
"serve": "php -S 0.0.0.0:8080 -t public",
"develop": ["@clear-app-cache", "@composer update --optimize-autoloader --quiet"],
"build": ["@refresh-app-cache", "@composer update --no-dev --optimize-autoloader --quiet"],
"settings-cache": [
"@composer dump-autoload --optimize --quiet",
"@composer l:app cache",
"@composer dump-autoload --optimize --quiet"
],
"clear-settings-cache": [
"@composer dump-autoload --optimize --quiet",
"@composer l:app clear-cache",
"@composer dump-autoload --optimize --quiet"
],
"refresh-settings-cache": ["@clear-settings-cache", "@settings-cache"],
"app-cache": [
"@refresh-settings-cache",
"@composer dump-autoload --optimize --quiet"
],
"clear-app-cache": [
"@refresh-settings-cache",
"@clear-settings-cache",
"@composer dump-autoload --optimize --quiet"
],
"refresh-app-cache": ["@clear-app-cache", "@app-cache"],
"test": ["@test-unit"],
"test-all": ["@test-coverage", "@test-cs", "@test-md"],
"test-unit": "./vendor/bin/phpunit",
"test-coverage": "./vendor/bin/phpunit --coverage-text",
"test-cs": "./vendor/bin/phpcs -p -s --standard=PSR2 ./server/app ./server/tests",
"test-md": "./vendor/bin/phpmd ./server/app text codesize,controversial,cleancode,design,unusedcode,naming",
"stress": "wrk -t10 -d5s -c400 http://127.0.0.1:8080/"
}
}