63 lines
1.9 KiB
JSON
63 lines
1.9 KiB
JSON
{
|
|
"name": "wpdesk\/wp-wpdesk-deactivation-modal",
|
|
"authors": [
|
|
{
|
|
"name": "Mateusz Gbiorczyk",
|
|
"email": "mateusz.gbiorczyk@wpdesk.net"
|
|
}
|
|
],
|
|
"autoload": {
|
|
"psr-4": {
|
|
"FcfVendor\\WPDesk\\DeactivationModal\\": "src"
|
|
}
|
|
},
|
|
"prefer-stable": true,
|
|
"extra": {
|
|
"text-domain": "wp-wpdesk-deactivation-modal",
|
|
"translations-folder": "lang",
|
|
"po-files": {
|
|
"pl_PL": "pl_PL.po"
|
|
},
|
|
"assets-values": {
|
|
"plugin-slug": {
|
|
"search": "{__PLUGIN_SLUG__}",
|
|
"replace": "<?php echo $plugin_slug; ?>"
|
|
}
|
|
}
|
|
},
|
|
"require-dev": {
|
|
"phpunit\/phpunit": "^9",
|
|
"10up\/wp_mock": "*",
|
|
"wpdesk\/wp-code-sniffer": "^1.2"
|
|
},
|
|
"scripts": {
|
|
"build": "npm install && npm run prod",
|
|
"phpcs": "phpcs",
|
|
"phpunit-unit": "phpunit --configuration phpunit-unit.xml --coverage-text --colors=never",
|
|
"phpunit-unit-fast": "phpunit --configuration phpunit-unit.xml --no-coverage",
|
|
"post-install-cmd": [
|
|
"echo #!\/bin\/sh > .git\/hooks\/pre-commit",
|
|
"echo:>> .git\/hooks\/pre-commit",
|
|
"echo echo \"Building assets...\" >> .git\/hooks\/pre-commit",
|
|
"echo composer run build >> .git\/hooks\/pre-commit",
|
|
"echo git add assets\/ >> .git\/hooks\/pre-commit"
|
|
]
|
|
},
|
|
"require": {
|
|
"wpdesk\/wp-wpdesk-tracker": "^3.5.6"
|
|
},
|
|
"config": {
|
|
"allow-plugins": {
|
|
"dealerdirect\/phpcodesniffer-composer-installer": true
|
|
},
|
|
"gitlab-domains": [
|
|
"gitlab.wpdesk.dev"
|
|
]
|
|
},
|
|
"repositories": {
|
|
"wpdesk": {
|
|
"type": "composer",
|
|
"url": "https:\/\/gitlab.wpdesk.dev\/api\/v4\/group\/wpdesk\/-\/packages\/composer\/"
|
|
}
|
|
}
|
|
} |