summaryrefslogtreecommitdiffstats
path: root/composer.json
diff options
context:
space:
mode:
Diffstat (limited to 'composer.json')
-rw-r--r--composer.json50
1 files changed, 50 insertions, 0 deletions
diff --git a/composer.json b/composer.json
new file mode 100644
index 0000000..e1b692b
--- /dev/null
+++ b/composer.json
@@ -0,0 +1,50 @@
+{
+ "name": "grasmash/expander",
+ "description": "Expands internal property references in PHP arrays file.",
+ "type": "library",
+ "require": {
+ "php": ">=5.4",
+ "dflydev/dot-access-data": "^1.1.0"
+ },
+ "license": "MIT",
+ "authors": [
+ {
+ "name": "Matthew Grasmick"
+ }
+ ],
+ "minimum-stability": "stable",
+ "autoload": {
+ "psr-4": {
+ "Grasmash\\Expander\\": "src/"
+ }
+ },
+ "require-dev": {
+ "phpunit/phpunit": "^4|^5.5.4",
+ "satooshi/php-coveralls": "^1.0.2|dev-master",
+ "greg-1-anderson/composer-test-scenarios": "^1",
+ "squizlabs/php_codesniffer": "^2.7"
+ },
+ "scripts": {
+ "cs": "phpcs -n --standard=PSR2 src tests --exclude=Generic.Files.LineLength",
+ "cbf": "phpcbf -n --standard=PSR2 src tests --exclude=Generic.Files.LineLength",
+ "unit": "phpunit",
+ "lint": [
+ "find src -name '*.php' -print0 | xargs -0 -n1 php -l",
+ "find tests -name '*.php' -print0 | xargs -0 -n1 php -l"
+ ],
+ "test": [
+ "@lint",
+ "@unit",
+ "@cs"
+ ]
+ },
+ "config": {
+ "optimize-autoloader": true,
+ "sort-packages": true
+ },
+ "extra": {
+ "branch-alias": {
+ "dev-master": "1.x-dev"
+ }
+ }
+}