35 lines
2 KiB
JSON
35 lines
2 KiB
JSON
{
|
|
"name": "markcheret/footnotes",
|
|
"description": "footnotes aims to be the all-in-one solution for displaying an automatically-generated list of references on your WordPress Page or Post.",
|
|
"license": "GPL-3.0-only",
|
|
"scripts": {
|
|
"release": "./_tools/release.sh",
|
|
"release:commit": "composer run release -- -c",
|
|
"build": "./_tools/build.sh",
|
|
"lint": "composer run lint:php && npm run lint",
|
|
"lint:fix": "composer run lint:php:fix && npm run lint:fix",
|
|
"format": "npm run format",
|
|
"format:fix": "npm run format:fix",
|
|
"lint:php": "./vendor/bin/phpcs --standard=WordPress --colors --encoding=utf-8 -n -p --ignore=./vendor,./node_modules ./**/*.php && ./vendor/bin/phpcs --standard=PHPCompatibilityWP --runtime-set testVersion 7.0- --colors --encoding=utf-8 -n -p --ignore=./vendor,./node_modules ./**/*.php",
|
|
"lint:php:fix": "./vendor/bin/phpcbf --standard=WordPress --encoding=utf-8 -p --ignore=./vendor,./node_modules ./**/*.php && ./vendor/bin/phpcbf --standard=PHPCompatibilityWP --runtime-set testVersion 7.0- --encoding=utf-8 -p --ignore=./vendor,./node_modules ./**/*.php",
|
|
"lint:css": "npm run lint:css",
|
|
"lint:css:fix": "npm run lint:css:fix",
|
|
"lint:js": "npm run lint:js",
|
|
"lint:js:fix": "npm run lint:js:fix",
|
|
"format:js": "npm run format:js",
|
|
"format:js:fix": "npm run format:js:fix",
|
|
"docs": "./vendor/bin/phpdoc -d . -t ./docs --ignore vendor/",
|
|
"commit": "./vendor/bin/php-commitizen commit -- ./.php-commitizen.php",
|
|
"post-install-cmd": "npm install && ./_tools/setup.sh"
|
|
},
|
|
"require-dev": {
|
|
"dealerdirect/phpcodesniffer-composer-installer": "^0.7.1",
|
|
"phpcompatibility/php-compatibility": "*",
|
|
"wp-coding-standards/wpcs": "^2.3",
|
|
"phpdocumentor/phpdocumentor": "^3.0",
|
|
"damianopetrungaro/php-commitizen": "^0.2.0",
|
|
"marcocesarato/php-conventional-changelog": "^1.9",
|
|
"phpcompatibility/phpcompatibility-wp": "*"
|
|
},
|
|
"prefer-stable": true
|
|
}
|