|
1 | 1 | {
|
2 | 2 | "name": "talis/talis-php",
|
3 | 3 | "description": "This is a php client library for talis APIs",
|
4 |
| - "version": "0.6.2", |
| 4 | + "version": "0.6.3", |
5 | 5 | "keywords": [
|
6 | 6 | "persona",
|
7 | 7 | "echo",
|
|
14 | 14 | "homepage": "https://github.com/talis/talis-php",
|
15 | 15 | "type": "library",
|
16 | 16 | "license": "MIT",
|
| 17 | + "config": { |
| 18 | + "sort-packages": true |
| 19 | + }, |
17 | 20 | "require": {
|
18 | 21 | "php": ">=5.5.9",
|
19 |
| - "monolog/monolog": ">=1.13.1", |
20 |
| - "psr/log": ">=1.0.0", |
21 |
| - "firebase/php-jwt": "^3.0", |
22 | 22 | "doctrine/common": "^2.5",
|
23 |
| - "predis/predis" : ">=0.8.5", |
24 |
| - "guzzlehttp/guzzle": "^6.0" |
| 23 | + "firebase/php-jwt": "^3.0", |
| 24 | + "guzzlehttp/guzzle": "^6.0", |
| 25 | + "monolog/monolog": ">=1.13.1", |
| 26 | + "predis/predis": ">=0.8.5", |
| 27 | + "psr/log": ">=1.0.0" |
25 | 28 | },
|
26 | 29 | "require-dev": {
|
27 | 30 | "phpunit/phpunit": "4.8.36",
|
|
42 | 45 | "psr-4": {
|
43 | 46 | "test\\": "test/"
|
44 | 47 | }
|
| 48 | + }, |
| 49 | + "scripts": { |
| 50 | + "code-check": "phpmd src text codesize,unusedcode,naming", |
| 51 | + "lint": [ |
| 52 | + "@phplint", |
| 53 | + "phpcs" |
| 54 | + ], |
| 55 | + "phplint": "phplint --exclude=vendor --no-cache .", |
| 56 | + "test": "phpunit", |
| 57 | + "clean-build": "rm -rf build; mkdir build", |
| 58 | + "clean-coverage": "rm -rf coverage; mkdir coverage", |
| 59 | + "coverage": [ |
| 60 | + "@clean-coverage", |
| 61 | + "phpunit --coverage-text --coverage-html coverage" |
| 62 | + ], |
| 63 | + "unittest": [ |
| 64 | + "@clean-build", |
| 65 | + "phpunit test/unit --log-junit build/unittest-report.xml" |
| 66 | + ], |
| 67 | + "integrationtest": [ |
| 68 | + "@clean-build", |
| 69 | + "phpunit test/integration --log-junit build/integrationtest-report.xml" |
| 70 | + ] |
45 | 71 | }
|
46 | 72 | }
|
0 commit comments