|
1 | 1 | { |
| 2 | + "$schema": "https://getcomposer.org/schema.json", |
2 | 3 | "name": "leafs/mvc", |
3 | | - "version": "4.0-alpha", |
4 | 4 | "description": "A lightweight PHP MVC framework powered by Leaf", |
5 | | - "type": "library", |
| 5 | + "type": "project", |
6 | 6 | "keywords": [ |
7 | 7 | "framework", |
8 | 8 | "leaf", |
9 | | - "leafPHP", |
10 | | - "mvc", |
11 | | - "leaf mvc" |
| 9 | + "mvc" |
12 | 10 | ], |
13 | 11 | "license": "MIT", |
14 | | - "authors": [ |
15 | | - { |
16 | | - "name": "Michael Darko", |
17 | | - |
18 | | - "homepage": "https://mychi.netlify.app", |
19 | | - "role": "Maintainer" |
20 | | - }, |
21 | | - { |
22 | | - "name": "Abdulbasit Rubeya", |
23 | | - |
24 | | - "homepage": "https://github.com/ibnsultan", |
25 | | - "role": "Maintainer" |
26 | | - } |
27 | | - ], |
28 | 12 | "require": { |
29 | 13 | "illuminate/console": "^8.75", |
30 | 14 | "leafs/blade": "*", |
|
34 | 18 | "leafs/aloe": "v2.x-dev" |
35 | 19 | }, |
36 | 20 | "require-dev": { |
37 | | - "fakerphp/faker": "^1.16", |
38 | 21 | "leafs/alchemy": "^2.0" |
39 | 22 | }, |
40 | 23 | "autoload": { |
|
70 | 53 | "app/database/migrations" |
71 | 54 | ] |
72 | 55 | }, |
73 | | - "config": { |
74 | | - "optimize-autoloader": true, |
75 | | - "sort-packages": false, |
76 | | - "allow-plugins": { |
77 | | - "pestphp/pest-plugin": true |
78 | | - } |
79 | | - }, |
80 | 56 | "scripts": { |
81 | 57 | "post-root-package-install": [ |
82 | 58 | "@php -r \"file_exists('.env') || copy('.env.example', '.env');\"", |
83 | 59 | "@php -r \"if (file_exists('README2.MD')) {unlink('README.MD'); rename('README2.MD', 'README.MD');}\"" |
84 | 60 | ], |
85 | 61 | "post-create-project-cmd": [ |
86 | 62 | "@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" |
87 | 67 | ] |
88 | 68 | }, |
| 69 | + "config": { |
| 70 | + "optimize-autoloader": true, |
| 71 | + "sort-packages": false, |
| 72 | + "allow-plugins": { |
| 73 | + "pestphp/pest-plugin": true |
| 74 | + } |
| 75 | + }, |
89 | 76 | "minimum-stability": "dev", |
90 | 77 | "prefer-stable": true |
91 | 78 | } |
0 commit comments