-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathcomposer.json
71 lines (71 loc) · 2.13 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
{
"name": "robertmain/treasure-hunt",
"description": "A QR code based treasurehunt example",
"authors": [
{
"name": "Robert Main"
},
{
"name": "Alastair McColl"
}
],
"license": "MIT",
"scripts": {
"post-install-cmd": "cp -n .env.example .env",
"migrate:latest": "php index.php cli/migrate latest",
"migrate:flush": [
"php index.php cli/migrate drop",
"@migrate:latest"
],
"docs": "phpdoc -d src/core -d src/controllers -d src/models -t docs && rm -rf docs/phpdoc-cache-*",
"test": [
"@test:models",
"@test:controllers"
],
"test:models": "phpunit --testsuite models --coverage-html tests/coverage",
"test:controllers": "phpunit --testsuite controllers --coverage-html tests/coverage",
"build": [
"composer install --no-dev --quiet",
"composer archive --format=zip --file app",
"composer install --quiet"
],
"lint": "phpcs src --standard=./ruleset.xml --colors -s --extensions=php"
},
"require": {
"php": ">=7.2",
"codeigniter/framework": "^3.1",
"league/plates": "^3.3",
"vlucas/phpdotenv": "^3.3",
"crazycodr/standard-exceptions": "^2.1",
"tecnickcom/tcpdf": "^6.3"
},
"autoload": {
"classmap": [
"vendor/codeigniter/framework/system"
],
"psr-4": {
"App\\": "src",
"App\\Controllers\\": "src/controllers",
"App\\Models\\": "src/models",
"App\\Core\\": "src/core",
"App\\Migrations\\": "src/migrations"
}
},
"require-dev": {
"phpdocumentor/phpdocumentor": "dev-master",
"phpunit/phpunit": "^8.1",
"limedeck/phpunit-detailed-printer": "^5.0",
"mockery/mockery": "^1.0",
"squizlabs/php_codesniffer": "^3.5"
},
"archive": {
"exclude": [
"*.*",
"!.env",
"!.htaccess",
"!index.php",
"!src/",
"!vendor/"
]
}
}