-
Notifications
You must be signed in to change notification settings - Fork 0
/
composer.json
45 lines (45 loc) · 1.42 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
{
"name": "zionsg/getmail",
"version": "0.1.0",
"type": "project",
"require": {
"php": "~8.0.0 || ~8.1.0",
"psr/log": "^3.0",
"laminas/laminas-diactoros": "^2.22",
"psr/http-server-middleware": "^1.0"
},
"require-dev": {
"ext-simplexml": "*",
"ext-tokenizer": "*",
"ext-xmlwriter": "*",
"squizlabs/php_codesniffer": "3.7.1"
},
"autoload": {
"psr-4": {
"Api\\": "src/Api/",
"App\\": "src/App/",
"Doc\\": "src/Doc/",
"Web\\": "src/Web/"
}
},
"autoload-dev": {
"psr-4": {
"ApiTest\\": "test/ApiTest/",
"AppTest\\": "test/AppTest/",
"DocTest\\": "test/DocTest/",
"WebTest\\": "test/WebTest/"
}
},
"scripts": {
"//": [
"This // key is used for comments.",
"The ext-* in require-dev are needed for php_codesniffer to work. See https://github.com/squizlabs/PHP_CodeSniffer/wiki/Requirements for details.",
"To install SimpleXML PHP extension for PHP 8.1 on Ubuntu, run `sudo apt-get install php8.1-simplexml`.",
"The start script uses & to start up Docker container in background else Composer will timeout while waiting for it to complete."
],
"build": "scripts/version.sh && DOCKER_BUILDKIT=1 BUILDKIT_PROGRESS=plain docker build --tag getmail:dev --tag getmail:$(cat VERSION.txt) --no-cache .",
"lint": "phpcs",
"start": "docker compose up --no-build &",
"stop": "docker compose down"
}
}