generated from 8fold/github-repo-template
-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
composer.json
56 lines (56 loc) · 1.24 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
{
"name": "8fold/commonmark-partials",
"type": "library",
"description": "An extension of PHP League's CommonMark library to enable partials.",
"license": "MIT",
"authors": [
{
"name": "Josh Bruce",
"email": "josh@8fold.pro",
"homepage": "https://joshbruce.com",
"role": "Lead Developer"
}
],
"support": {
},
"require": {
"php": "^8.1",
"league/commonmark": "^2.3"
},
"require-dev": {
"phpstan/phpstan": "^1.7",
"phpunit/phpunit": "^9.5",
"squizlabs/php_codesniffer": "^3.6"
},
"autoload": {
"psr-4": {
"Eightfold\\CommonMarkPartials\\": "./src"
}
},
"autoload-dev": {
"psr-4": {
"Eightfold\\CommonMarkPartials\\Tests\\": "./tests"
}
},
"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"
}
}