-
Notifications
You must be signed in to change notification settings - Fork 1
/
composer.json
46 lines (46 loc) · 1.35 KB
/
composer.json
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
40
41
42
43
44
45
46
{
"name": "bbo/signet-faucet",
"description": "Signet Faucet",
"type": "project",
"license": "MIT",
"require": {
"ext-gd": "*",
"ext-mbstring": "*",
"ext-redis": "*",
"gregwar/captcha": "^1.2",
"nyholm/psr7": "^1.8",
"nyholm/psr7-server": "^1.1",
"slim/slim": "^4.14",
"slim/twig-view": "^3.4",
"uma/dic": "^4.0"
},
"require-dev": {
"friendsofphp/php-cs-fixer": "^3.60",
"phpunit/phpunit": "^11.2",
"roave/security-advisories": "dev-latest"
},
"autoload": {
"psr-4": {
"BBO\\Faucet\\": "src/"
}
},
"autoload-dev": {
"psr-4": {
"BBO\\Faucet\\Tests\\": "tests/"
}
},
"config": {
"process-timeout": 0,
"sort-packages": true
},
"scripts": {
"lint": "@php vendor/bin/php-cs-fixer fix -v",
"mine": "docker compose exec knots bitcoin-cli -generate 1",
"newaddress": "docker compose exec knots bitcoin-cli getnewaddress",
"setup": [
"docker compose exec knots bitcoin-cli -named createwallet wallet_name=faucet load_on_startup=true",
"docker compose exec knots bitcoin-cli -generate 101 > /dev/null"
],
"test": "docker compose exec -u $(id -u):$(id -g) php-fpm php vendor/bin/phpunit"
}
}