|
21 | 21 | ], |
22 | 22 | "minimum-stability": "dev", |
23 | 23 | "prefer-stable": true, |
| 24 | + "require": { |
| 25 | + "composer/installers": "^1.12" |
| 26 | + }, |
24 | 27 | "scripts": { |
25 | 28 | "start": [ |
26 | 29 | "Composer\\Config::disableProcessTimeout", |
27 | 30 | "php -S localhost:8000", |
28 | 31 | "net start MySQL", |
29 | 32 | "php index.php" |
30 | 33 | ], |
31 | | - "install": [ |
32 | | - "php -installer/Installer.php", |
33 | | - "MiMFa\\Installer::Install" |
34 | | - ], |
35 | | - "update": [ |
36 | | - "php -installer/Installer.php", |
37 | | - "MiMFa\\Installer::Update" |
38 | | - ], |
39 | 34 | "post-install-cmd": [ |
40 | 35 | "MiMFa\\Installer::Install" |
41 | 36 | ], |
|
52 | 47 | "extra": { |
53 | 48 | "installer-paths": { |
54 | 49 | "./": ["type:framework", "type:patch"], |
55 | | - "./{$name}/": ["type:project", "type:directory"], |
56 | | - "./model/library/": ["type:library"], |
57 | | - "./model/component/": ["type:component"], |
58 | | - "./model/module/": ["type:module"], |
59 | | - "./model/template/": ["type:template"], |
60 | | - "./view/": ["type:view"], |
61 | | - "./route/": ["type:route"], |
62 | | - "./compute/": ["type:compute"], |
63 | | - "./asset/": ["type:asset"] |
| 50 | + "{$name}/": ["type:project", "type:directory"], |
| 51 | + "model/library/": ["type:library"], |
| 52 | + "model/component/": ["type:component"], |
| 53 | + "model/module/": ["type:module"], |
| 54 | + "model/template/": ["type:template"], |
| 55 | + "view/": ["type:view"], |
| 56 | + "route/": ["type:route"], |
| 57 | + "compute/": ["type:compute"], |
| 58 | + "asset/": ["type:asset"] |
64 | 59 | } |
65 | 60 | } |
66 | 61 | } |
0 commit comments