-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcomposer.json
83 lines (83 loc) · 1.85 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
70
71
72
73
74
75
76
77
78
79
80
81
82
83
{
"name": "bcgov/naad-connector",
"version": "1.0.0",
"description": "Connection to The National Alert Aggregation & Dissemination System",
"type": "project",
"autoload": {
"psr-4": {
"Bcgov\\NaadConnector\\": "src/"
}
},
"authors": [
{
"name": "Michael Haswell",
"email": "Michael.Haswell@gov.bc.ca"
}
],
"require-dev": {
"phpunit/phpunit": "^11",
"squizlabs/php_codesniffer": "^3.9"
},
"scripts": {
"build": [
"docker build -t bcgovgdx/naad-app ."
],
"phpdoc": [
"docker run --rm -v $(pwd):/data phpdoc/phpdoc:3"
],
"phpdoc-view": [
"open $(pwd)/docs/index.html"
],
"start": [
"php src/start.php"
],
"k8s-start": [
"composer build",
"kubectl config use-context docker-desktop",
"kubectl apply -k deployments/kustomize/overlays/local"
],
"stop": [
"docker compose down"
],
"k8s-delete": [
"kubectl delete -k deployments/kustomize/overlays/local"
],
"phpcs": [
"vendor/bin/phpcs"
],
"phpcbf": [
"vendor/bin/phpcbf"
],
"test": [
"vendor/bin/phpunit"
],
"test-coverage": [
"vendor/bin/phpunit --coverage-text"
],
"test-report": [
"vendor/bin/phpunit --coverage-html=coverage/"
],
"migrate": [
"vendor/bin/doctrine-migrations -vvv -n migrate"
]
},
"config": {
"allow-plugins": {
"process-timeout": false,
"composer/installers": true,
"dealerdirect/phpcodesniffer-composer-installer": true
}
},
"require": {
"php": ">8.2",
"monolog/monolog": "^3.5",
"doctrine/dbal": "^4.1",
"doctrine/migrations": "^3.8",
"doctrine/orm": "^3.2",
"symfony/cache": "^6.2",
"symfony/yaml": "^6.2",
"react/socket": "^1.16",
"guzzlehttp/guzzle": "^7.9",
"vlucas/phpdotenv": "^5.6"
}
}