-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
24 lines (19 loc) · 773 Bytes
/
package.json
File metadata and controls
24 lines (19 loc) · 773 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
{
"name": "boilerplate-php",
"devDependencies": {
"chokidar-cli": "^3.0.0",
"npm-run-all": "^4.1.5"
},
"scripts": {
"watch": "npm-run-all -p watch:*",
"watch:src": "chokidar \"src/**/*.php\" -c \"./vendor/bin/frt {path} && npm run phpstan {path} && npm run rector {path}\"",
"watch:tests": "chokidar \"tests/**/*.php\" -c \"npm run phpunit:short {path}\"",
"phpstan": "./vendor/bin/phpstan --no-progress analyse",
"phpcs": "npm run phpcs:apply -- --dry-run",
"phpcs:apply" : "./vendor/bin/php-cs-fixer fix --verbose --diff",
"rector": "npm run rector:apply -- --dry-run",
"rector:apply": "./vendor/bin/rector process",
"phpunit": "./vendor/bin/phpunit",
"phpunit:short": "npm run phpunit -- --no-coverage"
}
}