mirror of
https://github.com/OPSnet/Gazelle.git
synced 2026-01-16 18:04:34 -05:00
36 lines
902 B
JSON
36 lines
902 B
JSON
{
|
|
"name": "gazelle",
|
|
"version": "0.0.0",
|
|
"description": "",
|
|
"scripts": {
|
|
"lint:js": "eslint static/functions",
|
|
"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": {
|
|
"eslint": "^6.8.0",
|
|
"husky": "^3.1.0",
|
|
"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",
|
|
"git add"
|
|
]
|
|
}
|
|
}
|