| @@ -1,9 +1,14 @@ |
| 1 | { | 1 | { |
| 2 | "name": "jdecool/scaleway-runtime", | 2 | "name": "jdecool/scaleway-runtime", |
| 3 | "description": "Symfony Runtime to run PHP applications on Scaleway Serverless Functions", | 3 | "description": "Symfony Runtime to run PHP applications on Scaleway Serverless Functions", |
| 4 | - "type": "library", | | |
| 5 | "license": "MIT", | 4 | "license": "MIT", |
| 6 | - "keywords": ["symfony", "runtime", "scaleway", "serverless"], | 5 | + "type": "library", |
| | 6 | + "keywords": [ |
| | 7 | + "symfony", |
| | 8 | + "runtime", |
| | 9 | + "scaleway", |
| | 10 | + "serverless" |
| | 11 | + ], |
| 7 | "authors": [ | 12 | "authors": [ |
| 8 | { | 13 | { |
| 9 | "name": "Jeremy Decool" | 14 | "name": "Jeremy Decool" |
| @@ -17,13 +22,8 @@ |
| 17 | "symfony/mime": "^7.4 || ^8.0", | 22 | "symfony/mime": "^7.4 || ^8.0", |
| 18 | "symfony/runtime": "^7.4 || ^8.0" | 23 | "symfony/runtime": "^7.4 || ^8.0" |
| 19 | }, | 24 | }, |
| 20 | - "suggest": { | | |
| 21 | - "ext-zip": "To build the deployment zip with vendor/bin/scaleway-package", | | |
| 22 | - "nyholm/psr7": "To run Front Controllers returning a PSR-15 request handler", | | |
| 23 | - "symfony/console": "To run Command Invocations and Front Controllers returning a Console Application or a Command", | | |
| 24 | - "symfony/psr-http-message-bridge": "To run Front Controllers returning a PSR-15 request handler" | | |
| 25 | - }, | | |
| 26 | "require-dev": { | 25 | "require-dev": { |
| | 26 | + "ergebnis/composer-normalize": "^2.58", |
| 27 | "friendsofphp/php-cs-fixer": "^3.95", | 27 | "friendsofphp/php-cs-fixer": "^3.95", |
| 28 | "nyholm/psr7": "^1.8", | 28 | "nyholm/psr7": "^1.8", |
| 29 | "phpstan/phpstan": "^2.3", | 29 | "phpstan/phpstan": "^2.3", |
| @@ -35,36 +35,43 @@ |
| 35 | "symfony/framework-bundle": "^7.4 || ^8.0", | 35 | "symfony/framework-bundle": "^7.4 || ^8.0", |
| 36 | "symfony/psr-http-message-bridge": "^7.4 || ^8.0" | 36 | "symfony/psr-http-message-bridge": "^7.4 || ^8.0" |
| 37 | }, | 37 | }, |
| | 38 | + "suggest": { |
| | 39 | + "ext-zip": "To build the deployment zip with vendor/bin/scaleway-package", |
| | 40 | + "nyholm/psr7": "To run Front Controllers returning a PSR-15 request handler", |
| | 41 | + "symfony/console": "To run Command Invocations and Front Controllers returning a Console Application or a Command", |
| | 42 | + "symfony/psr-http-message-bridge": "To run Front Controllers returning a PSR-15 request handler" |
| | 43 | + }, |
| 38 | "autoload": { | 44 | "autoload": { |
| 39 | "psr-4": { | 45 | "psr-4": { |
| 40 | "JDecool\\ScalewayRuntime\\": "src/" | 46 | "JDecool\\ScalewayRuntime\\": "src/" |
| 41 | } | 47 | } |
| 42 | }, | 48 | }, |
| 43 | - "bin": [ | | |
| 44 | - "bin/scaleway-init", | | |
| 45 | - "bin/scaleway-package", | | |
| 46 | - "bin/scaleway-serve" | | |
| 47 | - ], | | |
| 48 | "autoload-dev": { | 49 | "autoload-dev": { |
| 49 | "psr-4": { | 50 | "psr-4": { |
| 50 | "JDecool\\ScalewayRuntime\\Tests\\": "tests/" | 51 | "JDecool\\ScalewayRuntime\\Tests\\": "tests/" |
| 51 | } | 52 | } |
| 52 | }, | 53 | }, |
| | 54 | + "bin": [ |
| | 55 | + "bin/scaleway-init", |
| | 56 | + "bin/scaleway-package", |
| | 57 | + "bin/scaleway-serve" |
| | 58 | + ], |
| 53 | "config": { | 59 | "config": { |
| 54 | "allow-plugins": { | 60 | "allow-plugins": { |
| | 61 | + "ergebnis/composer-normalize": true, |
| 55 | "symfony/runtime": false | 62 | "symfony/runtime": false |
| 56 | }, | 63 | }, |
| 57 | "sort-packages": true | 64 | "sort-packages": true |
| 58 | }, | 65 | }, |
| 59 | "scripts": { | 66 | "scripts": { |
| 60 | - "test": "phpunit", | | |
| 61 | - "phpstan": "phpstan analyse", | | |
| 62 | - "cs": "php-cs-fixer fix --dry-run --diff", | | |
| 63 | - "cs-fix": "php-cs-fixer fix", | | |
| 64 | "check": [ | 67 | "check": [ |
| 65 | "@cs", | 68 | "@cs", |
| 66 | "@phpstan", | 69 | "@phpstan", |
| 67 | "@test" | 70 | "@test" |
| 68 | - ] | 71 | + ], |
| | 72 | + "cs": "php-cs-fixer fix --dry-run --diff", |
| | 73 | + "cs-fix": "php-cs-fixer fix", |
| | 74 | + "phpstan": "phpstan analyse", |
| | 75 | + "test": "phpunit" |
| 69 | } | 76 | } |
| 70 | } | 77 | } |