Skip to content

Commit cae2bed

Browse files
author
MrAnyx
committed
[feat] Added script component
1 parent b6c1349 commit cae2bed

File tree

3 files changed

+189
-1620
lines changed

3 files changed

+189
-1620
lines changed

bin/components.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
{
2+
"1": "timephp:script",
3+
"2": "timephp:timephp"
4+
}

composer.json

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -10,12 +10,6 @@
1010
}
1111
],
1212
"minimum-stability": "alpha",
13-
"repositories": [
14-
{
15-
"type": "vcs",
16-
"url": "https://github.com/MrAnyx/Skeleton-TimePHP"
17-
}
18-
],
1913
"description": "Boilerplate project using TimePHP",
2014
"autoload": {
2115
"psr-4": {
@@ -24,9 +18,14 @@
2418
},
2519
"require": {
2620
"php": "^7.4",
27-
"timephp/timephp": "0.0.2-alpha"
21+
"timephp/script": "0.0.1-alpha",
22+
"timephp/timephp": "0.0.3-alpha"
2823
},
2924
"require-dev": {
3025
"symfony/var-dumper": "^5.1"
26+
},
27+
"scripts": {
28+
"post-package-install": "TimePHP\\Script::postPackageInstall",
29+
"pre-package-uninstall": "TimePHP\\Script::prePackageUninstall"
3130
}
3231
}

0 commit comments

Comments
 (0)