|
1 | | - { |
| 1 | +{ |
2 | 2 | "name": "sparkpost/sparkpost", |
3 | 3 | "description": "Client library for interfacing with the SparkPost API.", |
4 | 4 | "license": "Apache 2.0", |
|
9 | 9 | ], |
10 | 10 | "minimum-stability": "stable", |
11 | 11 | "scripts": { |
12 | | - "post-install-cmd": "if [ ! -f 'examples/example-options.json' ]; then echo '{\n\t\"key\":\"YOUR_API_KEY\"\n}' >> examples/example-options.json; fi", |
13 | | - "post-update-cmd": "if [ ! -f 'examples/example-options.json' ]; then echo '{\n\t\"key\":\"YOUR_API_KEY\"\n}' >> examples/example-options.json; fi", |
14 | | - "test": "phpunit ./test/unit/", |
| 12 | + "post-install-cmd": "./post-install.sh", |
| 13 | + "post-update-cmd": "./post-install.sh", |
| 14 | + "test": "./vendor/bin/phpunit", |
15 | 15 | "fix-style": "php-cs-fixer fix ." |
16 | 16 | }, |
17 | 17 | "require": { |
18 | | - "php": "^5.5 || ^7.0", |
| 18 | + "php": "^5.6 || ^7.0", |
19 | 19 | "php-http/httplug": "^1.0", |
20 | | - "php-http/message": "^1.0", |
| 20 | + "php-http/message": "^1.0", |
21 | 21 | "php-http/client-implementation": "^1.0", |
22 | 22 | "php-http/discovery": "^1.0" |
23 | 23 | }, |
24 | 24 | "require-dev": { |
| 25 | + "phpunit/phpunit": "^4.8 || ^5.4", |
25 | 26 | "php-http/guzzle6-adapter": "^1.0", |
26 | 27 | "mockery/mockery": "^0.9.4", |
27 | | - "fabpot/php-cs-fixer": "^1.11" |
| 28 | + "friendsofphp/php-cs-fixer": "^1.11", |
| 29 | + "nyholm/nsa": "^1.0" |
28 | 30 | }, |
29 | 31 | "autoload": { |
30 | 32 | "psr-4": { |
31 | | - "SparkPost\\": "lib/SparkPost/", |
32 | | - "SparkPost\\Test\\TestUtils\\": "test/unit/TestUtils/" |
| 33 | + "SparkPost\\": "lib/SparkPost" |
| 34 | + } |
| 35 | + }, |
| 36 | + "autoload-dev": { |
| 37 | + "psr-4": { |
| 38 | + "SparkPost\\Test\\": "test/unit" |
33 | 39 | } |
34 | 40 | } |
35 | 41 | } |
0 commit comments