-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathcomposer.json
74 lines (74 loc) · 1.73 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
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
{
"name": "stklcode/stklcode-liveticker",
"version": "1.3.0",
"description": "A simple Liveticker for Wordpress.",
"keywords": [
"wordpress",
"plugin",
"liveticker"
],
"license": "GPL-2.0+",
"authors": [
{
"name": "Stefan Kalscheuer",
"email": "[email protected]",
"homepage": "https://www.stklcode.de"
}
],
"type": "wordpress-plugin",
"require": {
"php": ">=7.2",
"composer/installers": "~v2.3.0"
},
"require-dev": {
"dealerdirect/phpcodesniffer-composer-installer": "^v1.0",
"matthiasmullie/minify": "^1.3",
"phpcompatibility/phpcompatibility-wp": "^2.1",
"slowprog/composer-copy-file": "~0.3",
"squizlabs/php_codesniffer": "^3.11",
"wp-coding-standards/wpcs": "^3.1",
"yoast/wp-test-utils": "^1.2"
},
"scripts": {
"post-install-cmd": [
"@minify"
],
"post-update-cmd": [
"@minify"
],
"build": [
"@minify"
],
"test": [
"phpunit"
],
"lint-all": [
"@lint-php",
"@lint-css",
"@lint-js"
],
"lint-php": [
"phpcs --standard=phpcs.xml -s"
],
"lint-css": [
"npx stylelint styles/block.css",
"npx stylelint styles/liveticker.css"
],
"lint-js": [
"npx eslint scripts/block.js",
"npx eslint scripts/liveticker.js"
],
"minify": [
"minifycss styles/block.css > styles/block.min.css",
"minifycss styles/liveticker.css > styles/liveticker.min.css",
"minifyjs scripts/block.js > scripts/block.min.js",
"minifyjs scripts/liveticker.js > scripts/liveticker.min.js"
]
},
"config": {
"allow-plugins": {
"composer/installers": true,
"dealerdirect/phpcodesniffer-composer-installer": true
}
}
}