-
Notifications
You must be signed in to change notification settings - Fork 1
/
composer.json
36 lines (36 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
28
29
30
31
32
33
34
35
36
{
"name": "inc2734/snow-monkey-diet",
"type": "wordpress-plugin",
"license": "GPL-2.0-or-later",
"authors": [
{
"name": "Takashi Kitajima",
"email": "inc@2inc.org",
"homepage": "https://2inc.org"
}
],
"require-dev": {
"wp-coding-standards/wpcs": "^2.3",
"dealerdirect/phpcodesniffer-composer-installer": "^1.0",
"yoast/phpunit-polyfills": "^1.0"
},
"require": {
"php": ">=7.4",
"inc2734/wp-github-plugin-updater": "^3.1"
},
"scripts" :{
"lint": "./vendor/squizlabs/php_codesniffer/bin/phpcs",
"format": "./vendor/squizlabs/php_codesniffer/bin/phpcbf",
"install-theme": "rm -rf ./.themes && mkdir ./.themes && wget -P ./.themes https://github.com/inc2734/snow-monkey/archive/master.zip && unzip -o -qq ./.themes/master.zip -d ./.themes && mv ./.themes/snow-monkey-master ./.themes/snow-monkey && cd .themes/snow-monkey && composer install --no-dev"
},
"autoload": {
"psr-4": {
"Snow_Monkey\\Plugin\\Diet\\": ""
}
},
"config": {
"allow-plugins": {
"dealerdirect/phpcodesniffer-composer-installer": true
}
}
}