forked from Automattic/newspack-plugin
-
Notifications
You must be signed in to change notification settings - Fork 0
/
composer.json
55 lines (55 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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
{
"name": "automattic/newspack-plugin",
"description": "An advanced open-source publishing and revenue-generating platform for news organizations",
"homepage": "https://newspack.com/",
"type": "wordpress-plugin",
"license": "GPL-2.0-or-later",
"support": {
"issues": "https://github.com/Automattic/newspack-plugin/issues"
},
"require": {
"composer/installers": "~2.0",
"joshtronic/php-loremipsum": "^2.1",
"google/auth": "^1.15"
},
"require-dev": {
"brainmaestro/composer-git-hooks": "^2.6",
"automattic/vipwpcs": "^3.0",
"wp-coding-standards/wpcs": "^3.0",
"dealerdirect/phpcodesniffer-composer-installer": "*",
"phpcompatibility/phpcompatibility-wp": "*",
"yoast/phpunit-polyfills": "^2.0",
"phpunit/phpunit": "^7.0 || ^9.5"
},
"autoload": {
"classmap": [
"includes"
]
},
"scripts": {
"post-install-cmd": [
"vendor/bin/cghooks add --no-lock"
],
"post-update-cmd": [
"vendor/bin/cghooks update"
]
},
"extra": {
"hooks": {
"pre-commit": "./node_modules/.bin/lint-staged",
"pre-push": "./.hooks/pre-push",
"commit-msg": [
"cat $1 | ./node_modules/.bin/newspack-scripts commitlint"
]
}
},
"config": {
"platform": {
"php": "7.4"
},
"allow-plugins": {
"composer/installers": true,
"dealerdirect/phpcodesniffer-composer-installer": true
}
}
}