-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathcomposer.json
35 lines (35 loc) · 1.31 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
{
"name": "opsone/wordpress-theme-kit",
"type": "project",
"description": "Create empty wordpress theme with minimal developper kit",
"homepage": "https://github.com/opsone/wordpress-theme-kit",
"license": "MIT",
"support": {
"issues": "https://github.com/opsone/wordpress-theme-kit/issues",
"source": "https://github.com/opsone/wordpress-theme-kit"
},
"authors": [
{
"name": "Jeremy Chaufourier",
"email": "[email protected]",
"homepage": "https://github.com/opsone"
}
],
"require": {
"respect/validation": "~2.2",
"mobiledetect/mobiledetectlib": "^2.8"
},
"autoload": {
"classmap" : ["modules/core/controllers"],
"files": [
"modules/autoload.php"
]
},
"scripts": {
"post-install-cmd": [
"php -r \"file_put_contents('style.css', str_replace('#name#', ucfirst(basename(__DIR__)), file_get_contents('style.css')));\"",
"php -r \"file_put_contents('package.json', str_replace('#name#', strtolower(basename(__DIR__)), file_get_contents('package.json')));\"",
"php -r \"file_put_contents('webpack.config.js', str_replace('#name#', strtolower(basename(__DIR__)), file_get_contents('webpack.config.js')));\""
]
}
}