-
Notifications
You must be signed in to change notification settings - Fork 10
Expand file tree
/
Copy pathcomposer.json
More file actions
39 lines (39 loc) · 1.01 KB
/
composer.json
File metadata and controls
39 lines (39 loc) · 1.01 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
{
"name": "harrydenley/sample_nft_project",
"authors": [
{
"name": "HARRY DENLEY",
"email": "HARRY.DENLEY@OUTLOOK.COM"
}
],
"scripts": {
"test": "phpunit src-php/tests/",
"start": "@php ./src-php/index.php"
},
"extra": {
"hooks": {
"config": {
"stop-on-failure": ["pre-push"]
},
"pre-commit": [
"echo committing as $(git config user.name)",
"php-cs-fixer fix src/"
],
"pre-push": [
"php-cs-fixer fix --dry-run src/",
"composer run test"
],
"post-merge": "composer install"
}
},
"require": {
"ext-gd": "^7.3",
"tdtrung17693/php-chalk": "^1.0",
"treinetic/imageartist": "^1.0"
},
"require-dev": {
"friendsofphp/php-cs-fixer": "^3.1",
"brainmaestro/composer-git-hooks": "^2.8",
"phpunit/phpunit": "^9.5"
}
}