Skip to content

Commit 4cd3e08

Browse files
committed
Clean up composer dependencies
1 parent 9e06177 commit 4cd3e08

File tree

2 files changed

+181
-145
lines changed

2 files changed

+181
-145
lines changed

composer.json

Lines changed: 22 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,25 @@
11
{
2-
"name": "creativecommons/creativecommons-base",
3-
"description": "The Creative Commons base theme",
4-
"type": "wordpress-theme",
5-
"license": "GPL-2.0-or-later",
62
"authors": [
73
{
8-
"name": "Hugo Solar",
9-
"email": "hugo@creativecommons.org"
4+
"email": "hugo@creativecommons.org",
5+
"name": "Hugo Solar"
106
}
117
],
8+
"description": "The Creative Commons base theme",
9+
"extra": {
10+
"installer-paths": {
11+
"../../mu-plugins/{$name}": [
12+
"type:wordpress-muplugin"
13+
]
14+
}
15+
},
16+
"license": "GPL-2.0-or-later",
17+
"name": "creativecommons/creativecommons-base",
1218
"repositories": [
1319
{
20+
"no-api": true,
1421
"type": "vcs",
15-
"url": "https://github.com/creativecommons/queulat",
16-
"no-api": true
22+
"url": "https://github.com/creativecommons/queulat"
1723
},
1824
{
1925
"type": "composer",
@@ -22,27 +28,20 @@
2228
],
2329
"require": {
2430
"composer/installers": "~1.0",
25-
"felipelavinz/queulat": "2019.4.2",
26-
"jakub-onderka/php-parallel-lint": "^1.0"
31+
"felipelavinz/queulat": "2019.4.2"
2732
},
28-
"extra": {
29-
"installer-paths": {
30-
"../../mu-plugins/{$name}": [
31-
"type:wordpress-muplugin"
32-
]
33-
}
33+
"require-dev": {
34+
"php-parallel-lint/php-parallel-lint": "^1.1",
35+
"phpcompatibility/php-compatibility": "^9.1",
36+
"squizlabs/php_codesniffer": "3.*",
37+
"wp-coding-standards/wpcs": "^2.0",
38+
"dealerdirect/phpcodesniffer-composer-installer": "^0.7.1"
3439
},
3540
"scripts": {
3641
"compat": "phpcs -p --standard=PHPCompatibility --runtime-set testVersion 7.0 -n . --extensions=php --cache",
3742
"fix": "phpcbf --standard=WordPress . --extensions=php --ignore=vendor",
3843
"lint": "parallel-lint . --blame --exclude vendor",
3944
"sniff": "phpcs --standard=WordPress . --ignore=vendor --extensions=php"
4045
},
41-
"require-dev": {
42-
"dealerdirect/phpcodesniffer-composer-installer": "^0.4.3",
43-
"phpcompatibility/php-compatibility": "^9.1",
44-
"squizlabs/php_codesniffer": "3.*",
45-
"wp-coding-standards/wpcs": "^2.0",
46-
"php-parallel-lint/php-parallel-lint": "^1.1"
47-
}
46+
"type": "wordpress-theme"
4847
}

0 commit comments

Comments
 (0)