-
Notifications
You must be signed in to change notification settings - Fork 5
/
composer.json
27 lines (27 loc) · 1.04 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
{
"name": "ralfhortt/wordpress-theme-boilerplate",
"description": "A WordPress Boilerplate Theme by Ralf Hortt",
"type": "wordpress-theme",
"autoload": {
"psr-4": {
"RalfHortt\\Aurora\\": "src/classes/"
},
"files": [
"block-styles.php",
"functions.custom.php",
"functions.helpers.php"
]
},
"require": {
"horttcore/wp-customizer": "*",
"ralfhortt/wp-template-loader": "*",
"ralfhortt/wp-image-sizes": "*",
"ralfhortt/wp-assets": "*",
"laravel/pint": "^1.2"
},
"scripts": {
"post-create-project-cmd": "composer run-script replace-textdomain && composer run-script copy-env",
"replace-textdomain": "DIR=$(basename $PWD); LC_ALL=C find ./ -not \\( -path \".//vendor/*\" -o -path \".//node_modules/*\" -o -path \".//.git/*\" \\) -type f \\( -iname '*.js' -o -iname '*.php' -o -iname '*.css' \\) -exec sed -i '' -e \"s/TEXTDOMAIN/${DIR}/g\" {} \\;",
"copy-env": "cp .env.example .env"
}
}