Skip to content

Commit 9cb6598

Browse files
committed
chore: update composer config
1 parent 4ca0a31 commit 9cb6598

File tree

1 file changed

+14
-27
lines changed

1 file changed

+14
-27
lines changed

composer.json

Lines changed: 14 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -1,30 +1,14 @@
11
{
2+
"$schema": "https://getcomposer.org/schema.json",
23
"name": "leafs/mvc",
3-
"version": "4.0-alpha",
44
"description": "A lightweight PHP MVC framework powered by Leaf",
5-
"type": "library",
5+
"type": "project",
66
"keywords": [
77
"framework",
88
"leaf",
9-
"leafPHP",
10-
"mvc",
11-
"leaf mvc"
9+
"mvc"
1210
],
1311
"license": "MIT",
14-
"authors": [
15-
{
16-
"name": "Michael Darko",
17-
"email": "[email protected]",
18-
"homepage": "https://mychi.netlify.app",
19-
"role": "Maintainer"
20-
},
21-
{
22-
"name": "Abdulbasit Rubeya",
23-
"email": "[email protected]",
24-
"homepage": "https://github.com/ibnsultan",
25-
"role": "Maintainer"
26-
}
27-
],
2812
"require": {
2913
"illuminate/console": "^8.75",
3014
"leafs/blade": "*",
@@ -34,7 +18,6 @@
3418
"leafs/aloe": "v2.x-dev"
3519
},
3620
"require-dev": {
37-
"fakerphp/faker": "^1.16",
3821
"leafs/alchemy": "^2.0"
3922
},
4023
"autoload": {
@@ -70,22 +53,26 @@
7053
"app/database/migrations"
7154
]
7255
},
73-
"config": {
74-
"optimize-autoloader": true,
75-
"sort-packages": false,
76-
"allow-plugins": {
77-
"pestphp/pest-plugin": true
78-
}
79-
},
8056
"scripts": {
8157
"post-root-package-install": [
8258
"@php -r \"file_exists('.env') || copy('.env.example', '.env');\"",
8359
"@php -r \"if (file_exists('README2.MD')) {unlink('README.MD'); rename('README2.MD', 'README.MD');}\""
8460
],
8561
"post-create-project-cmd": [
8662
"@php leaf key:generate"
63+
],
64+
"dev": [
65+
"Composer\\Config::disableProcessTimeout",
66+
"npx concurrently -c \"#3eaf7c,#bd34fe\" \"php leaf serve\" \"npm run dev\" --names=server,vite"
8767
]
8868
},
69+
"config": {
70+
"optimize-autoloader": true,
71+
"sort-packages": false,
72+
"allow-plugins": {
73+
"pestphp/pest-plugin": true
74+
}
75+
},
8976
"minimum-stability": "dev",
9077
"prefer-stable": true
9178
}

0 commit comments

Comments
 (0)