All checks were successful
continuous-integration/drone/push Build is passing
75 lines
1.7 KiB
JSON
75 lines
1.7 KiB
JSON
{
|
|
"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": "stefan@stklcode.de",
|
|
"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
|
|
}
|
|
}
|
|
}
|