-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcomposer.json
More file actions
77 lines (77 loc) · 2.48 KB
/
composer.json
File metadata and controls
77 lines (77 loc) · 2.48 KB
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
{
"name": "vortexphp/vortex",
"description": "Lightweight PHP application stack (app/, config/, resources/views, routes/, lang/)",
"type": "project",
"license": "MIT",
"require": {
"php": "^8.2",
"vortexphp/framework": "^0.12",
"vortexphp/live": "^0.2"
},
"autoload": {
"psr-4": {
"App\\": "app/",
"Database\\Seeders\\": "database/seeders/"
}
},
"autoload-dev": {
"psr-4": {
"App\\Tests\\": "tests/"
}
},
"suggest": {
"ext-openssl": "SMTP STARTTLS / ssl:// (MAIL_ENCRYPTION tls or ssl)"
},
"config": {
"sort-packages": true
},
"scripts": {
"post-root-package-install": [
"@php -r \"file_exists('.env') || copy('.env.example', '.env');\""
],
"post-create-project-cmd": [
"php vortex key:generate",
"@php -r \"file_exists('storage/database.sqlite') || touch('storage/database.sqlite');\"",
"php vortex migrate"
],
"post-install-cmd": [
"@publish-assets"
],
"post-update-cmd": [
"@publish-assets"
],
"publish-assets": "php vortex publish:assets",
"serve": "php vortex serve",
"doctor": "php vortex doctor",
"smoke": "php vortex smoke",
"db-check": "php vortex db-check",
"migrate": "php vortex migrate",
"migrate:down": "php vortex migrate:down",
"install:prod": "@composer install --no-dev --optimize-autoloader",
"validate-project": "composer validate --no-check-publish",
"setup": [
"@composer install",
"@php -r \"file_exists('.env') || copy('.env.example', '.env');\"",
"php vortex key:generate",
"@php -r \"file_exists('storage/database.sqlite') || touch('storage/database.sqlite');\"",
"php vortex migrate",
"npm install --ignore-scripts",
"npm run build"
],
"dev": [
"Composer\\Config::disableProcessTimeout",
"npx concurrently -c \"#93c5fd,#c4b5fd,#fb7185\" \"php vortex serve\" \"php vortex queue:work\" \"npm run dev\" --names=server,queue,vite --kill-others"
],
"test": "@php vendor/bin/phpunit -c phpunit.xml.dist",
"build": [
"npm run build",
"@publish-assets"
]
},
"bin": [
"vortex"
],
"require-dev": {
"phpunit/phpunit": "^11"
}
}