mirror of
https://github.com/OPSnet/Gazelle.git
synced 2026-10-20 22:03:15 -04:00
33 lines
819 B
JSON
33 lines
819 B
JSON
{
|
|
"name": "gazelle",
|
|
"version": "0.0.0",
|
|
"description": "",
|
|
"scripts": {
|
|
"lint:php:internal": "find . -path './vendor' -prune -o -path ./node_modules -prune -o -type f -name '*.php' -print0 | xargs -0 -n1 -P4 php -l -n | (! grep -v \"No syntax errors detected\" )",
|
|
"lint:php:phpcs": "vendor/bin/phpcs -p",
|
|
"lint:php": "npm run lint:php:internal && npm run lint:php:phpcs",
|
|
"lint:php:fix": "./.bin/phpcbf",
|
|
"pre-commit": "npm run lint:php:fix"
|
|
},
|
|
"license": "Unlicense",
|
|
"devDependencies": {
|
|
"husky": "^4.2.5",
|
|
"lint-staged": "^9.5.0"
|
|
},
|
|
"dependencies": {
|
|
"puppeteer": "^2.1.1"
|
|
},
|
|
"husky": {
|
|
"hooks": {
|
|
"pre-commit": "lint-staged"
|
|
}
|
|
},
|
|
"lint-staged": {
|
|
"*.php": [
|
|
"php -l",
|
|
"bash .bin/phpcbf",
|
|
"vendor/bin/phpcs"
|
|
]
|
|
}
|
|
}
|