Skip to content

Commit fce23f1

Browse files
Update composer.json with necessary goodness
1 parent 41d941e commit fce23f1

1 file changed

Lines changed: 27 additions & 0 deletions

File tree

composer.json

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,12 +20,39 @@
2020
"require": {
2121
"php": ">= 5.3.0"
2222
},
23+
"require-dev": {
24+
"roave/security-advisories": "dev-latest",
25+
"wp-cli/wp-cli-tests": "^3.1.6"
26+
},
2327
"autoload": {
2428
"psr-0": {
2529
"cli": "lib/"
2630
},
2731
"files": [
2832
"lib/cli/cli.php"
2933
]
34+
},
35+
"config": {
36+
"allow-plugins": {
37+
"dealerdirect/phpcodesniffer-composer-installer": true,
38+
"johnpbloch/wordpress-core-installer": true
39+
}
40+
},
41+
"scripts": {
42+
"post-install-cmd": [
43+
"./utils/git-setup-pre-commit-hook"
44+
],
45+
"behat": "run-behat-tests",
46+
"behat-rerun": "rerun-behat-tests",
47+
"lint": "run-linter-tests",
48+
"phpcs": "run-phpcs-tests",
49+
"phpunit": "run-php-unit-tests",
50+
"prepare-tests": "install-package-tests",
51+
"test": [
52+
"@lint",
53+
"@phpcs",
54+
"@phpunit",
55+
"@behat"
56+
]
3057
}
3158
}

0 commit comments

Comments
 (0)