build: tweak commands

This commit is contained in:
Ben Goldsworthy 2021-04-16 23:49:32 +01:00
parent 3af81c01b9
commit df7160fad8

View file

@ -10,15 +10,15 @@
"lint:fix": "composer run lint:php:fix && npm run lint:fix", "lint:fix": "composer run lint:php:fix && npm run lint:fix",
"format": "npm run format", "format": "npm run format",
"format:fix": "npm run format:fix", "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": "./vendor/bin/phpcs --standard=WordPress --colors --encoding=utf-8 -n -p --ignore=./vendor,./node_modules ./*.php ./**/*.php && ./vendor/bin/phpcs --standard=PHPCompatibilityWP --runtime-set testVersion 7.0- --colors --encoding=utf-8 -n -p --ignore=./vendor,./node_modules ./*.php ./**/*.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:php:fix": "./vendor/bin/phpcbf --standard=WordPress --encoding=utf-8 -p --ignore=./vendor,./node_modules ./*.php ./**/*.php && ./vendor/bin/phpcbf --standard=PHPCompatibilityWP --runtime-set testVersion 7.0- --encoding=utf-8 -p --ignore=./vendor,./node_modules ./*.php ./**/*.php",
"lint:css": "npm run lint:css", "lint:css": "npm run lint:css",
"lint:css:fix": "npm run lint:css:fix", "lint:css:fix": "npm run lint:css:fix",
"lint:js": "npm run lint:js", "lint:js": "npm run lint:js",
"lint:js:fix": "npm run lint:js:fix", "lint:js:fix": "npm run lint:js:fix",
"format:js": "npm run format:js", "format:js": "npm run format:js",
"format:js:fix": "npm run format:js:fix", "format:js:fix": "npm run format:js:fix",
"docs": "./vendor/bin/phpdoc -d . -t ./docs --ignore .vendor/ --ignore .node_modules/", "docs": "./vendor/bin/phpdoc -d . -t ./docs --ignore vendor/ --ignore node_modules/",
"commit": "./vendor/bin/php-commitizen commit -- ./.php-commitizen.php", "commit": "./vendor/bin/php-commitizen commit -- ./.php-commitizen.php",
"post-install-cmd": "npm install && ./_tools/setup.sh" "post-install-cmd": "npm install && ./_tools/setup.sh"
}, },