/
composer.json
42 lines (42 loc) · 1.34 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
{
"name": "tassoevan/prototype",
"type": "library",
"description": "Simple prototype-based programming for PHP",
"keywords": ["prototype"],
"homepage": "http://github.com/tassoevan/prototype",
"license": "MIT",
"authors": [
{
"name": "Tasso Evangelista",
"email": "tasso@tassoevan.me",
"homepage": "http://tassoevan.me/"
}
],
"minimum-stability": "stable",
"require": {
"php": ">=5.6"
},
"require-dev": {
"phpunit/phpunit": "^5.5",
"phpdocumentor/phpdocumentor": "^2.9",
"phpdocumentor/reflection-docblock": "^2.0",
"evert/phpdoc-md": "^0.2.0"
},
"autoload": {
"psr-4": {
"TassoEvan\\Prototype\\": "src/"
}
},
"scripts": {
"test": "vendor/bin/phpunit",
"test-5.6": "docker run --rm --name prototype-test -v \"$PWD\":/app -w /app php:5.6-cli vendor/bin/phpunit",
"test-7.0": "docker run --rm --name prototype-test -v \"$PWD\":/app -w /app php:7.0-cli vendor/bin/phpunit",
"wiki": [
"rm -rf docs/",
"mkdir docs/",
"vendor/bin/phpdoc --title=tassoevan/prototype -d src -t tmp/ --template=\"xml\"",
"vendor/bin/phpdocmd --index \"API.md\" tmp/structure.xml docs/",
"rm -rf tmp/"
]
}
}