forked from LearnPress/learnpress
-
Notifications
You must be signed in to change notification settings - Fork 0
/
composer.json
23 lines (23 loc) · 824 Bytes
/
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
{
"name": "learnpress/learnpress",
"type": "wordpress lms",
"license": "GPL",
"require": {},
"require-dev": {
"sstalle/php7cc": "^1.1",
"squizlabs/php_codesniffer": "^2.0",
"wimg/php-compatibility": "*",
"simplyadmire/composer-plugins": "@dev",
"wp-coding-standards/wpcs": "dev-develop"
},
"scripts": {
"install-standards": [
"\"vendor/bin/phpcs\" --config-set installed_paths ../../wp-coding-standards/wpcs",
"rm -rf vendor/squizlabs/php_codesniffer/CodeSniffer/Standards/PHPCompatibility",
"cp -r vendor/wimg/php-compatibility/PHPCompatibility vendor/squizlabs/php_codesniffer/CodeSniffer/Standards",
"rm -rf vendor/wimg/php-compatibility/PHPCompatibility"
],
"post-install-cmd": "@install-standards",
"post-update-cmd": "@install-standards"
}
}