{
    "name": "clue/graph-composer",
    "description": "Dependency graph visualization for composer.json",
    "keywords": ["dependency graph", "visualize dependencies", "visualize composer"],
    "homepage": "https://github.com/clue/graph-composer",
    "license": "MIT",
    "require": {
        "php": "^5.3.6 || ^7.0",
        "clue/graph": "^0.9.0",
        "graphp/graphviz": "^0.2.0",
        "jms/composer-deps-analyzer": "0.1.*",
        "symfony/console": "^3.0 || ^2.1"
    },
    "require-dev": {
        "clue/phar-composer": "^1.0",
        "phpunit/phpunit": "^4.8.36"
    },
    "autoload": {
        "psr-0": { "Clue\\GraphComposer": "src/" }
    },
    "bin": [ "bin/graph-composer" ],
    "extra": {
        "phar": {
            "bundler": "composer"
        }
    },
    "config": {
        "platform": {
            "php": "5.3.6"
        }
    },
    "scripts": {
        "build": [
            "rm -rf build && mkdir build",
            "cp -r bin/ src/ composer.json composer.lock LICENSE build/",
            "@composer install -d build/ --no-dev",
            "phar-composer build build/"
        ]
    }
}

{
    "name": "clue/graph-composer",
    "description": "Dependency graph visualization for composer.json",
    "keywords": ["dependency graph", "visualize dependencies", "visualize composer"],
    "homepage": "https://github.com/clue/graph-composer",
    "license": "MIT",
    "require": {
        "php": "^5.3.6 || ^7.0",
        "clue/graph": "^0.9.0",
        "graphp/graphviz": "^0.2.0",
        "jms/composer-deps-analyzer": "0.1.*",
        "symfony/console": "^3.0 || ^2.1"
    },
    "require-dev": {
        "clue/phar-composer": "^1.0",
        "phpunit/phpunit": "^4.8.36"
    },
    "autoload": {
        "psr-0": { "Clue\\GraphComposer": "src/" }
    },
    "bin": [ "bin/graph-composer" ],
    "extra": {
        "phar": {
            "bundler": "composer"
        }
    },
    "config": {
        "platform": {
            "php": "5.3.6"
        }
    },
    "scripts": {
        "build": [
            "rm -rf build && mkdir build",
            "cp -r bin/ src/ composer.json composer.lock LICENSE build/",
            "@composer install -d build/ --no-dev",
            "cd build/ && rm -rf composer.lock vendor/*/*/tests/ vendor/*/*/*.md vendor/*/*/composer.* vendor/*/*/phpunit.*",
            "cd build/vendor/symfony/console/Symfony/Component/Console/ && rm -rf Tests/ *.md composer.* phpunit.*",
            "phar-composer build build/"
        ]
    }
}

Reduce file size by around 50% by removing tests when building phar
Reduce file size by around 50% by removing tests when building phar