forked from onedarnleyroad/craftcms
-
Notifications
You must be signed in to change notification settings - Fork 0
/
composer.json.default
59 lines (59 loc) · 1.65 KB
/
composer.json.default
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
{
"autoload": {
"psr-4": {
"modules\\sitemodule\\": "modules/sitemodule/src/"
}
},
"config": {
"allow-plugins": {
"craftcms/plugin-installer": true,
"yiisoft/yii2-composer": true
},
"optimize-autoloader": true,
"platform": {
"php": "8.1"
},
"sort-packages": true
},
"require": {
"craftcms/cms": "^3.7",
"craftcms/postmark": "^2.1",
"craftcms/redactor": "^2.10",
"marionnewlevant/agnostic-fetch": "^2.0",
"mmikkel/cp-field-inspect": "^1.4",
"nystudio107/craft-seomatic": "^3.4",
"nystudio107/craft-vite": "^1.0",
"ostark/craft-async-queue": "^2.3",
"sebastianlenz/linkfield": "^1.0",
"spacecatninja/imager-x": "^3.5",
"verbb/knock-knock": "^1.2",
"vlucas/phpdotenv": "^3.0"
},
"require-dev": {
"nystudio107/craft-autocomplete": "^1.0",
"yiisoft/yii2-shell": "^2.0.3"
},
"scripts": {
"craft-update": [
"@pre-craft-update",
"@post-craft-update"
],
"pre-craft-update": [
],
"post-craft-update": [
"@php craft install/check && php craft up --interactive=0 || exit 0",
"@php craft install/check && php craft clear-caches/all --interactive=0 || exit 0",
"@php craft install/check && php craft invalidate-tags/all --interactive=0 || return 0"
],
"post-root-package-install": [
"@php -r \"file_exists('.env') || copy('.env.example', '.env');\""
],
"post-create-project-cmd": [
"@php craft setup/welcome"
],
"pre-update-cmd": "@pre-craft-update",
"pre-install-cmd": "@pre-craft-update",
"post-update-cmd": "@post-craft-update",
"post-install-cmd": "@post-craft-update"
}
}