-
Notifications
You must be signed in to change notification settings - Fork 1
/
composer.json
69 lines (69 loc) · 1.68 KB
/
composer.json
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
{
"name": "kamiyang/ext-projectversion",
"type": "typo3-cms-extension",
"description": "Displays current project version based on 'VERSION' file or GIT revision.",
"homepage": "https://github.com/KamiYang/project_version",
"license": "GPL-3.0-or-later",
"keywords": [
"TYPO3 CMS",
"typo3",
"GIT",
"git",
"version"
],
"authors": [
{
"name": "Jan Stockfisch",
"email": "[email protected]",
"homepage": "https://jan-stockfisch.de/"
}
],
"replace": {
"kamiyang/project_version": "self.version"
},
"require": {
"typo3/cms-backend": "9.5.*",
"typo3/cms-extbase": "9.5.*",
"typo3/cms-extensionmanager": "9.5.*"
},
"require-dev": {
"nimut/testing-framework": "~4.1.1",
"phpunit/phpunit": "~6.5",
"satooshi/php-coveralls": "^2.0"
},
"autoload": {
"psr-4": {
"KamiYang\\ProjectVersion\\": "Classes/"
}
},
"autoload-dev": {
"psr-4": {
"KamiYang\\ProjectVersion\\Tests\\": "Tests/"
}
},
"scripts": {
"create-dummy-version-file": "echo \"9.0.42\" > .Build/web/VERSION",
"create-extension-directory": "mkdir -p .Build/web/typo3conf/ext",
"link-package": "ln -snvf ../../../../. .Build/web/typo3conf/ext/project_version",
"post-update-cmd": [
"@create-extension-directory",
"@link-package",
"@create-dummy-version-file"
]
},
"config": {
"vendor-dir": ".Build/vendor",
"bin-dir": ".Build/bin",
"platform": {
"php": "7.2"
}
},
"extra": {
"typo3/cms": {
"extension-key": "project_version",
"cms-package-dir": "{$vendor-dir}/typo3/cms",
"app-dir": ".Build",
"web-dir": ".Build/web"
}
}
}