-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcomposer.json
48 lines (48 loc) · 1.22 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
47
48
{
"name": "my-sample/my-wallet",
"type": "project",
"description": "Web API for cryptocurrency wallet.",
"license": "MIT",
"keywords": [
"Cryptocurrency", "Web API"
],
"require": {
"php": ">=7.0.0",
"roave/security-advisories": "dev-master",
"bear/package": "^1.5",
"josegonzalez/dotenv": "^2.1"
},
"require-dev": {
"bear/qatools": "^1.4.2",
"phpunit/phpunit": "^6.2"
},
"autoload": {
"psr-4": {
"MySample\\MyWallet\\": "src/"
}
},
"autoload-dev": {
"psr-4": {
"MySample\\MyWallet\\": ["tests/", "tests/Fake/"]
}
},
"scripts": {
"test": [
"phpunit"
],
"coverage": [
"php -dzend_extension=xdebug.so ./vendor/bin/phpunit --coverage-text --coverage-html=build/coverage"
],
"cs": [
"php-cs-fixer fix -v --dry-run",
"phpcs --standard=./phpcs.xml src"
],
"cs-fix": [
"php-cs-fixer fix -v",
"phpcbf src"
],
"serve": "php -S 127.0.0.1:8080 -t public",
"api": "php bootstrap/api.php",
"web": "php bootstrap/web.php"
}
}