forked from Automattic/newspack-blocks
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcomposer.json
35 lines (35 loc) · 965 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
24
25
26
27
28
29
30
31
32
33
34
35
{
"name": "automattic/newspack-blocks",
"description": "Gutenberg blocks for Newspack.",
"type": "wordpress-plugin",
"require-dev": {
"composer/installers": "~1.6",
"automattic/vipwpcs": "^2.0.0",
"xwp/wp-dev-lib": "^1.5",
"brainmaestro/composer-git-hooks": "^2.6",
"wp-coding-standards/wpcs": "*",
"dealerdirect/phpcodesniffer-composer-installer": "*",
"phpcompatibility/phpcompatibility-wp": "*",
"sirbrillig/phpcs-variable-analysis": "^2.10"
},
"license": "GPL-3.0-or-later",
"scripts": {
"post-install-cmd": [
"vendor/bin/cghooks add --no-lock"
],
"post-update-cmd": [
"vendor/bin/cghooks update"
],
"lint": "phpcs ./"
},
"extra": {
"hooks": {
"pre-commit": [
"DEV_LIB_SKIP=eslint ./vendor/xwp/wp-dev-lib/scripts/pre-commit && ./node_modules/.bin/lint-staged"
],
"commit-msg": [
"cat $1 | ./node_modules/.bin/commitlint"
]
}
}
}