-
-
Notifications
You must be signed in to change notification settings - Fork 47
/
composer.json
61 lines (61 loc) · 1.61 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
{
"name": "overtrue/laravel-versionable",
"description": "Make Laravel model versionable.",
"require": {
"php": "^8.1",
"laravel/framework": "^9.0|^10.0|^11.0",
"jfcherng/php-diff": "^6.11",
"doctrine/dbal": "^3.8|^4.0"
},
"require-dev": {
"phpunit/phpunit": "^10.0",
"orchestra/testbench": "^8.21",
"mockery/mockery": "^1.4",
"laravel/pint": "^1.5",
"brainmaestro/composer-git-hooks": "dev-master"
},
"autoload": {
"psr-4": {
"Overtrue\\LaravelVersionable\\": "./src"
}
},
"autoload-dev": {
"psr-4": {
"Tests\\": "./tests"
}
},
"extra": {
"laravel": {
"providers": [
"Overtrue\\LaravelVersionable\\ServiceProvider"
]
},
"hooks": {
"pre-commit": [
"composer check-style",
"composer test"
],
"pre-push": [
"composer test"
]
}
},
"scripts": {
"post-merge": "composer install",
"cghooks": "vendor/bin/cghooks",
"check-style": "vendor/bin/pint --test",
"fix-style": "vendor/bin/pint",
"test": "phpunit --colors"
},
"scripts-descriptions": {
"test": "Run all tests.",
"check-style": "Run style checks (only dry run - no fixing!).",
"fix-style": "Run style checks and fix violations."
},
"license": "MIT",
"config": {
"allow-plugins": {
"composer/package-versions-deprecated": true
}
}
}