Created
May 30, 2015 15:00
-
-
Save vik-y/8d7287827ac7cd502cfa to your computer and use it in GitHub Desktop.
A command line tool to parse json composer.json for testing how it works
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"name": "laravel/laravel", | |
"description": "The Laravel Framework.", | |
"keywords": ["framework", "laravel"], | |
"license": "MIT", | |
"type": "project", | |
"require": { | |
"laravel/framework": "4.2.*" | |
}, | |
"autoload": { | |
"classmap": [ | |
"app/commands", | |
"app/controllers", | |
"app/models", | |
"app/database/migrations", | |
"app/database/seeds", | |
"app/tests/TestCase.php" | |
] | |
}, | |
"scripts": { | |
"post-install-cmd": [ | |
"php artisan clear-compiled", | |
"php artisan optimize", | |
"chmod -R 777 app/storage" | |
], | |
"post-update-cmd": [ | |
"php artisan clear-compiled", | |
"php artisan optimize" | |
], | |
"post-create-project-cmd": [] | |
}, | |
"config": { | |
"preferred-install": "dist" | |
}, | |
"minimum-stability": "stable" | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
cat composer.json | jq -r .autoload.classmap |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment