forked from eusonlito/Password-Manager
-
Notifications
You must be signed in to change notification settings - Fork 0
/
composer.json
136 lines (123 loc) · 3.96 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
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
{
"name": "eusonlito/password-manager",
"type": "project",
"description": "Password Manager",
"license": "MIT",
"require": {
"php": "^8.0",
"bacon/bacon-qr-code": "master-dev",
"composer/composer": "^2.2",
"doctrine/dbal": "^3.0",
"eusonlito/disposable-email-validator": "^0.1",
"eusonlito/laravel-meta": "^3.1",
"eusonlito/laravel-packer": "^2.2",
"laravel/framework": "^9.5",
"laravel/helpers": "^1.2",
"pragmarx/google2fa-qrcode": "master-dev",
"predis/predis": "^2.0",
"sentry/sentry-laravel": "^2.0"
},
"require-dev": {
"barryvdh/laravel-debugbar": "^3.2",
"brianium/paratest": "^6.4",
"fakerphp/faker": "^1.13",
"friendsofphp/php-cs-fixer": "^3.9",
"laravel/pint": "^1.0",
"mockery/mockery": "^1.4.2",
"nunomaduro/collision": "^6.1",
"nunomaduro/larastan": "^2.0",
"nunomaduro/phpinsights": "dev-master",
"phpstan/phpstan": "^1.4",
"phpunit/phpunit": "^9.5",
"spatie/laravel-ignition": "^1.0"
},
"config": {
"optimize-autoloader": true,
"platform-check": false,
"preferred-install": "dist",
"sort-packages": true,
"allow-plugins": {
"composer/package-versions-deprecated": true,
"dealerdirect/phpcodesniffer-composer-installer": true
}
},
"autoload": {
"classmap": [
"database/migrations"
],
"psr-4": {
"App\\": "app/",
"Database\\": "database/"
},
"files": [
"app/Services/Helper/functions.php"
]
},
"autoload-dev": {
"psr-4": {
"Tests\\": "tests/"
}
},
"minimum-stability": "dev",
"prefer-stable": true,
"scripts": {
"pre-install-cmd": [
"@composer dump-autoload",
"@composer artisan-cache-clear --ansi"
],
"post-install-cmd": [
"@composer artisan-cache --ansi",
"@php artisan queue:restart --ansi"
],
"pre-update-cmd": [
"@composer artisan-cache-clear --ansi"
],
"post-update-cmd": [
"@php artisan maintenance:opcache:preload"
],
"post-autoload-dump": [
"Illuminate\\Foundation\\ComposerScripts::postAutoloadDump",
"@php artisan package:discover --ansi"
],
"post-root-package-install": [
"@php -r \"is_file('.env') || copy('.env.example', '.env');\"",
"@composer install --no-scripts"
],
"post-create-project-cmd": [
"@php artisan key:generate --ansi"
],
"artisan-cache-clear": [
"@php artisan optimize:clear --ansi"
],
"artisan-cache": [
"@php artisan optimize --ansi",
"@php artisan view:cache --ansi"
],
"env-version": [
"sed -i 's/CACHE_VERSION=.*/CACHE_VERSION='$(head -c 16 /dev/urandom | md5sum | head -c 32)'/' .env"
],
"deploy": [
"git checkout .",
"git pull",
"@composer env-version --ansi",
"@composer install --no-dev --no-scripts",
"@composer install --no-dev --optimize-autoloader --classmap-authoritative --ansi",
"@php artisan migrate --force --ansi",
"@php artisan maintenance:opcache:preload"
],
"fix": [
"@php ./vendor/bin/php-cs-fixer fix -v --ansi",
"@php ./vendor/bin/pint -v"
],
"quality": [
"@php artisan insights -v --ansi",
"@php ./vendor/bin/phpstan analyse app --ansi"
],
"translation": [
"@php artisan translation:fix --ansi",
"@php artisan translation:fill --ansi",
"@php artisan translation:clean --ansi",
"git checkout resources/lang/*/validation.php"
]
}
}