|
1 | 1 | {
|
2 |
| - "type": "library", |
3 | 2 | "name": "zero-to-prod/data-model",
|
4 | 3 | "description": "Transforms Data into Type-Safe DTOs.",
|
| 4 | + "license": "MIT", |
| 5 | + "type": "library", |
5 | 6 | "keywords": [
|
6 | 7 | "zero-to-prod",
|
7 | 8 | "DataModel",
|
|
13 | 14 | "Data_Model",
|
14 | 15 | "Data Model"
|
15 | 16 | ],
|
16 |
| - "homepage": "https://github.com/zero-to-prod/data-model", |
17 |
| - "license": "MIT", |
| 17 | + "readme": "./README.md", |
| 18 | + "time": "2024-09-04", |
18 | 19 | "authors": [
|
19 | 20 | {
|
20 | 21 | "name": "David Smith",
|
21 |
| - "email": "dave0016@gmail.com" |
| 22 | + "email": "dave0016@gmail.com", |
| 23 | + "homepage": "https://davidsmith.blog/", |
| 24 | + "role": "maintainer" |
| 25 | + } |
| 26 | + ], |
| 27 | + "homepage": "https://github.com/zero-to-prod/data-model", |
| 28 | + "support": { |
| 29 | + "email": "dave0016@gmail.com", |
| 30 | + "issues": "https://github.com/zero-to-prod/data-model/issues", |
| 31 | + "source": "https://github.com/zero-to-prod/data-model", |
| 32 | + "docs": "https://zero-to-prod.github.io/data-model/", |
| 33 | + "security": "https://github.com/zero-to-prod/data-model/blob/main/SECURITY.md" |
| 34 | + }, |
| 35 | + "funding": [ |
| 36 | + { |
| 37 | + "type": "GitHub", |
| 38 | + "url": "https://github.com/sponsors/zero-to-prod" |
22 | 39 | }
|
23 | 40 | ],
|
24 | 41 | "require": {
|
25 | 42 | "php": ">=8.1.0"
|
26 | 43 | },
|
| 44 | + "require-dev": { |
| 45 | + "phpunit/phpunit": "^10.0" |
| 46 | + }, |
| 47 | + "suggest": { |
| 48 | + "zero-to-prod/data-model-helper": "Helpers for a DataModel.", |
| 49 | + "zero-to-prod/data-model-factory": "Factoryies for a DataModel.", |
| 50 | + "zero-to-prod/transformable": "Transform a class into different types." |
| 51 | + }, |
27 | 52 | "autoload": {
|
28 | 53 | "psr-4": {
|
29 | 54 | "Zerotoprod\\DataModel\\": "src/"
|
|
37 | 62 | "./tests/functions.php"
|
38 | 63 | ]
|
39 | 64 | },
|
40 |
| - "require-dev": { |
41 |
| - "phpunit/phpunit": "^10.0" |
| 65 | + "scripts": { |
| 66 | + "test": [ |
| 67 | + "docker compose run --rm php81 ./vendor/bin/phpunit" |
| 68 | + ], |
| 69 | + "test-all": [ |
| 70 | + "sh test.sh" |
| 71 | + ], |
| 72 | + "docker": [ |
| 73 | + "docker compose run --rm php81composer" |
| 74 | + ] |
42 | 75 | },
|
43 |
| - "suggest": { |
44 |
| - "zero-to-prod/data-model-helper": "Helpers for a DataModel.", |
45 |
| - "zero-to-prod/data-model-factory": "Factoryies for a DataModel.", |
46 |
| - "zero-to-prod/transformable": "Transform a class into different types." |
| 76 | + "scripts-descriptions": { |
| 77 | + "test": "runs tests in the container", |
| 78 | + "test-all": "tests all php versions", |
| 79 | + "docker": "runs the composer container" |
47 | 80 | }
|
48 | 81 | }
|
0 commit comments