This repository has been archived by the owner on Oct 22, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 4
/
composer.json
47 lines (47 loc) · 1.63 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
{
"name": "buzut/steroids",
"description": "A modern WordPress stack for frontend developers",
"authors": [
{
"name" : "Buzut",
"homepage": "https://buzut.net/"
}
],
"license": "MIT",
"type": "project",
"repositories": [
{
"type": "composer",
"url": "https://wpackagist.org",
"only": [
"wpackagist-plugin/*",
"wpackagist-theme/*"
]
}
],
"config": {
"preferred-install": "dist",
"sort-packages": true
},
"require": {
"php": ">=7.3",
"erusev/parsedown": "^1.7",
"johnpbloch/wordpress": "^5.8",
"vlucas/phpdotenv": "^5.3"
},
"extra": {
"installer-paths": {
"public/mu-plugins/{$name}": ["type:wordpress-muplugin"],
"public/plugins/{$name}": ["type:wordpress-plugin"],
"public/themes/{$name}": ["type:wordpress-theme"]
},
"wordpress-install-dir": "public/wp"
},
"scripts": {
"post-root-package-install": [
"if [ ! -f .env -a -f .env.example ]; then cp .env.example .env; fi",
"if [ ! -f ./public/wp-cli ]; then curl https://raw.githubusercontent.com/wp-cli/builds/gh-pages/phar/wp-cli.phar -o ./public/wp-cli && chmod +x ./public/wp-cli; fi"
],
"gitinit": "if [ ! -f .git ]; then git init; fi && cd .git/hooks/ && curl -O https://raw.githubusercontent.com/Buzut/git-emojis-hook/master/commit-msg && curl -O https://raw.githubusercontent.com/Buzut/git-emojis-hook/master/prepare-commit-msg && chmod +x * || exit 0"
}
}