-
-
Notifications
You must be signed in to change notification settings - Fork 135
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
85 additions
and
85 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,68 +1,69 @@ | ||
{ | ||
"name": "overtrue/laravel-follow", | ||
"description": "User follow unfollow system for Laravel.", | ||
"license": "MIT", | ||
"authors": [ | ||
{ | ||
"name": "overtrue", | ||
"email": "[email protected]" | ||
} | ||
], | ||
"require": { | ||
"laravel/framework": "^8.0" | ||
}, | ||
"autoload": { | ||
"psr-4": { | ||
"Overtrue\\LaravelFollow\\": "src" | ||
} | ||
}, | ||
"autoload-dev": { | ||
"psr-4": { | ||
"Tests\\": "tests" | ||
} | ||
}, | ||
"require-dev": { | ||
"mockery/mockery": "^1.2", | ||
"phpunit/phpunit": "^9.0", | ||
"orchestra/testbench": "^6.0", | ||
"brainmaestro/composer-git-hooks": "^2.7", | ||
"friendsofphp/php-cs-fixer": "^3.0" | ||
}, | ||
"extra": { | ||
"laravel": { | ||
"providers": ["Overtrue\\LaravelFollow\\FollowServiceProvider"] | ||
}, | ||
"hooks": { | ||
"pre-commit": [ | ||
"composer fix-style", | ||
"composer test" | ||
], | ||
"pre-push": [ | ||
"composer test", | ||
"composer check-style" | ||
] | ||
} | ||
}, | ||
"scripts": { | ||
"post-update-cmd": [ | ||
"cghooks remove", | ||
"cghooks add --ignore-lock", | ||
"cghooks update" | ||
], | ||
"post-merge": "composer install", | ||
"post-install-cmd": [ | ||
"cghooks remove", | ||
"cghooks add --ignore-lock", | ||
"cghooks update" | ||
], | ||
"cghooks": "vendor/bin/cghooks", | ||
"check-style": "php-cs-fixer fix --using-cache=no --diff --dry-run --ansi", | ||
"fix-style": "php-cs-fixer fix --using-cache=no --ansi", | ||
"test": "phpunit --colors=always" | ||
"name": "overtrue/laravel-follow", | ||
"description": "User follow unfollow system for Laravel.", | ||
"license": "MIT", | ||
"authors": [ | ||
{ | ||
"name": "overtrue", | ||
"email": "[email protected]" | ||
} | ||
], | ||
"require": { | ||
"laravel/framework": "^9.0" | ||
}, | ||
"autoload": { | ||
"psr-4": { | ||
"Overtrue\\LaravelFollow\\": "src" | ||
} | ||
}, | ||
"autoload-dev": { | ||
"psr-4": { | ||
"Tests\\": "tests" | ||
} | ||
}, | ||
"require-dev": { | ||
"mockery/mockery": "^1.4", | ||
"phpunit/phpunit": "^9.5", | ||
"orchestra/testbench": "^7.0", | ||
"friendsofphp/php-cs-fixer": "^3.0" | ||
}, | ||
"extra": { | ||
"laravel": { | ||
"providers": [ | ||
"Overtrue\\LaravelFollow\\FollowServiceProvider" | ||
] | ||
}, | ||
"scripts-descriptions": { | ||
"test": "Run all tests.", | ||
"check-style": "Run style checks (only dry run - no fixing!).", | ||
"fix-style": "Run style checks and fix violations." | ||
"hooks": { | ||
"pre-commit": [ | ||
"composer fix-style", | ||
"composer test" | ||
], | ||
"pre-push": [ | ||
"composer test", | ||
"composer check-style" | ||
] | ||
} | ||
}, | ||
"scripts": { | ||
"post-update-cmd": [ | ||
"cghooks remove", | ||
"cghooks add --ignore-lock", | ||
"cghooks update" | ||
], | ||
"post-merge": "composer install", | ||
"post-install-cmd": [ | ||
"cghooks remove", | ||
"cghooks add --ignore-lock", | ||
"cghooks update" | ||
], | ||
"cghooks": "vendor/bin/cghooks", | ||
"check-style": "php-cs-fixer fix --using-cache=no --diff --dry-run --ansi", | ||
"fix-style": "php-cs-fixer fix --using-cache=no --ansi", | ||
"test": "phpunit --colors=always" | ||
}, | ||
"scripts-descriptions": { | ||
"test": "Run all tests.", | ||
"check-style": "Run style checks (only dry run - no fixing!).", | ||
"fix-style": "Run style checks and fix violations." | ||
} | ||
} |