generated from 8fold/github-repo-template
-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
composer.json
53 lines (53 loc) · 1.07 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
{
"name": "vendor/project",
"type": "library",
"description": "",
"license": "mixed",
"authors": [
{
"name": "Josh Bruce",
"email": "josh@8fold.pro",
"homepage": "https://joshbruce.com",
"role": "Lead Developer"
}
],
"support": {
},
"require": {
"php": "^7.3 || ^7.4 || ^8.0 || ^8.1 || ^8.2"
},
"require-dev": {
"phpstan/phpstan": "^1.10",
"phpunit/phpunit": "^9.5 || ^10.0",
"squizlabs/php_codesniffer": "^3.7"
},
"autoload": {
"psr-4": {
}
},
"autoload-dev": {
"psr-4": {
}
},
"config": {
"preferred-install": "dist"
},
"prefer-stable": true,
"scripts": {
"prod": "@production",
"production": [
"composer dumpautoload -o",
"@style",
"@stan",
"@test"
],
"deploy": [
"@production",
"@optimize-autoload"
],
"style": "./vendor/bin/phpcs --standard=phpcs.xml",
"stan": "./vendor/bin/phpstan analyze",
"test": "./vendor/bin/phpunit",
"optimize-autoload": "composer dumpautoload --no-dev --classmap-authoritative"
}
}