-
-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathcomposer.json
More file actions
52 lines (52 loc) · 1.09 KB
/
composer.json
File metadata and controls
52 lines (52 loc) · 1.09 KB
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
{
"name": "pluginkollektiv/spcl",
"description": "Save Post. Check Links.",
"type": "wordpress-plugin",
"license": "GPL-2.0",
"require": {
"php": ">=5.2"
},
"require-dev": {
"dealerdirect/phpcodesniffer-composer-installer": "^v1.2.0",
"matthiasmullie/minify": "^1.3.75",
"phpcompatibility/phpcompatibility-wp": "^2.1.8",
"squizlabs/php_codesniffer": "^3.13.5",
"wp-coding-standards/wpcs": "^3.3.0"
},
"scripts": {
"post-install-cmd": [
"@build"
],
"post-update-cmd": [
"@build"
],
"build": [
"minifyjs assets/js/notice.js > assets/js/notice.min.js"
],
"cs": [
"@cs-js",
"@cs-php"
],
"cs-js": [
"npx eslint assets/js/notice.js"
],
"cs-php": [
"phpcs --standard=phpcs.xml -s"
],
"csfix": [
"@csfix-js",
"@csfix-php"
],
"csfix-js": [
"npx eslint assets/js/notice.js --fix"
],
"csfix-php": [
"phpcbf --standard=phpcs.xml"
]
},
"config": {
"allow-plugins": {
"dealerdirect/phpcodesniffer-composer-installer": true
}
}
}