-
Notifications
You must be signed in to change notification settings - Fork 1
/
composer.json
121 lines (121 loc) · 2.86 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
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
{
"name": "dekode/project-base",
"description": "Dekode WordPress boilerplate with modern development tools, easier configuration, and an improved folder structure",
"license": "GPL-3.0-or-later",
"require": {
"php": ">=8.2",
"boxuk/wp-muplugin-loader": "~2.2.0",
"composer/installers": "~2.3.0",
"dekode/block-theme": "~1.0.0",
"dekodeinteraktiv/dekode-label-environment": "~1.0.0",
"inpsyde/wp-translation-downloader": "~2.5.0",
"roots/wordpress": "~6.7.0",
"symfony/dotenv": "~7.1.5",
"t2/t2": "~7.20.0",
"wpackagist-plugin/imagify": "~2.2.0",
"wpackagist-plugin/spinupwp": "~1.7.1",
"wpackagist-plugin/two-factor": "~0.9.1"
},
"require-dev": {
"dekode/coding-standards": "6.1.0"
},
"repositories": {
"mu-plugins": {
"type": "path",
"url": "packages/mu-plugins/*",
"options": {
"symlink": true
}
},
"plugins": {
"type": "path",
"url": "packages/plugins/*",
"options": {
"symlink": true
}
},
"themes": {
"type": "path",
"url": "packages/themes/*",
"options": {
"symlink": true
}
},
"wpackagist": {
"type": "composer",
"url": "https://wpackagist.org"
},
"dekode-packages": {
"type": "composer",
"url": "https://packages.dekodes.no"
},
"t2-packages": {
"type": "composer",
"url": "https://t2-packages.teft.io"
},
"dekode-composer": {
"type": "composer",
"url": "https://composer.dekodes.no"
},
"dekode-library": {
"type": "composer",
"url": "https://library.dekodes.no/satispress/"
}
},
"minimum-stability": "dev",
"prefer-stable": true,
"config": {
"allow-plugins": {
"boxuk/wp-muplugin-loader": true,
"composer/installers": true,
"dealerdirect/phpcodesniffer-composer-installer": true,
"inpsyde/wp-translation-downloader": true,
"roots/wordpress-core-installer": true
},
"platform": {
"php": "8.2"
},
"sort-packages": true
},
"extra": {
"installer-paths": {
"public/content/mu-plugins/{$name}/": [
"type:wordpress-muplugin"
],
"public/content/plugins/{$name}/": [
"type:wordpress-plugin"
],
"public/content/themes/{$name}/": [
"type:wordpress-theme"
]
},
"wordpress-install-dir": "public/wp",
"wp-translation-downloader": {
"auto-run": false,
"directory": "public/content/languages",
"languages": [
"nb_NO"
]
}
},
"scripts": {
"post-install-cmd": [
"cp public/content/plugins/spinupwp/drop-ins/object-cache.php public/content/object-cache.php",
"mkdir -p public/content/languages && cp -r packages/translations/* public/content/languages/",
"rm -rf public/wp/wp-content"
],
"build": [
"@composer install"
],
"build-for-deploy": [
"@composer install --no-dev && composer build-translations"
],
"build-translations": [
"rm -f wp-translation-downloader.lock",
"@composer wp-translation-downloader:download"
],
"lint": [
"./vendor/bin/phpcs ."
]
}
}