-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
26 lines (22 loc) · 927 Bytes
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
{
"name": "tomkyle-kurzelinks",
"author": "Carsten Witt <[email protected]>",
"private": true,
"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 {path}\"",
"phpstan": "./vendor/bin/phpstan --no-progress analyse",
"phpcs": "./vendor/bin/php-cs-fixer fix --verbose --diff --dry-run",
"phpcs:apply": "./vendor/bin/php-cs-fixer fix --verbose --diff",
"rector": "./vendor/bin/rector process --dry-run",
"rector:apply": "./vendor/bin/rector process",
"phpunit": "./vendor/bin/phpunit",
"phpunit:short": "npm run phpunit -- --no-coverage",
"phpunit:unit": "npm run phpunit -- --testsuite unit"
}
}