-
Notifications
You must be signed in to change notification settings - Fork 2
/
composer.json
51 lines (51 loc) · 1.37 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
{
"name": "svandragt/cuttlefish",
"description": "Hackable web framework.",
"type": "library",
"license": "MIT",
"authors": [
{
"name": "Sander van Dragt",
"email": "sander@vandragt.com"
}
],
"minimum-stability": "stable",
"require": {
"php": ">=7.4",
"michelf/php-markdown": "^1.9 || ^2.0",
"vlucas/phpdotenv": "^5",
"ext-curl": "*",
"ext-simplexml": "*",
"ext-fileinfo": "*"
},
"require-dev": {
"roave/security-advisories": "dev-master"
},
"autoload": {
"psr-4": {
"Cuttlefish\\": "src/"
}
},
"config": {
"process-timeout": 0,
"platform": {
"php": "7.4"
},
"sort-packages": true
},
"scripts": {
"setup": [
"find . -name vendor -type d -exec rm -rf {} \\;; composer install --ansi --no-progress --prefer-source",
"npm ci --no-progress",
"command -v phive && phive --no-progress install --trust-gpg-keys 31C7E470E2138192,8A03EA3B385DBAA1"
],
"prepare-commit": [
"phpcbf",
"@lint"
],
"lint": [
"find src -type f -name '*.php' -not -path 'vendor/*' -print0 | xargs -0 -n1 -P4 php -l -n | (! grep -v 'No syntax errors detected' )",
"phpcs"
]
}
}