-
Notifications
You must be signed in to change notification settings - Fork 20
/
Copy pathcomposer.json
90 lines (90 loc) · 4.53 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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
{
"name": "crescat-io/saloon-sdk-generator",
"description": "Simplified SDK Scaffolding for Saloon",
"keywords": [
"sdk generator",
"saloon"
],
"type": "project",
"license": "MIT",
"authors": [
{
"name": "Helge Sverre",
"email": "helge.sverre@crescat.io"
}
],
"require": {
"php": "^8.2",
"ext-zip": "*",
"cebe/php-openapi": "^1.7",
"laravel-zero/phar-updater": "^1.3",
"nette/php-generator": "^4.0",
"nunomaduro/termwind": "^1.15.1",
"saloonphp/laravel-plugin": "^3.2",
"saloonphp/saloon": "^3.0",
"spatie/laravel-data": "^3.10"
},
"require-dev": {
"laravel-zero/framework": "^10.3.0",
"laravel/pint": "^1.13",
"mockery/mockery": "^1.5.1",
"pestphp/pest": "^2.28.0"
},
"autoload": {
"psr-4": {
"Crescat\\SaloonSdkGenerator\\": "src/"
}
},
"autoload-dev": {
"psr-4": {
"Tests\\": "tests/"
}
},
"scripts": {
"build": "php ./codegen app:build sdkgenerator --build-version=1.2.0",
"clean": "rm -rf ./tests/Output/*",
"generate:fiken": "./codegen generate:sdk --force --namespace=Crescat\\\\Fiken --type=openapi --name=Fiken tests/Samples/fiken.yml --output tests/Output/Fiken",
"generate:gocardless": "./codegen generate:sdk --force --namespace=Crescat\\\\GoCardless --type=openapi --name=GoCardless tests/Samples/gocardless.json --output tests/Output/GoCardless",
"generate:openai": "./codegen generate:sdk --force --namespace=Crescat\\\\OpenAI --type=postman --name=OpenAI tests/Samples/openai.json --output tests/Output/Openai",
"generate:paddle": "./codegen generate:sdk --force --namespace=Crescat\\\\Paddle --type=postman --name=Paddle tests/Samples/paddle.json --output tests/Output/Paddle",
"generate:stripe": "./codegen generate:sdk --force --namespace=Crescat\\\\Stripe --type=postman --name=Stripe tests/Samples/stripe.json --output tests/Output/Stripe",
"generate:tableau": "./codegen generate:sdk --force --namespace=Crescat\\\\Tableau --type=postman --name=Tableau tests/Samples/tableau.json --output tests/Output/Tableau",
"generate:tripletex": "./codegen generate:sdk --force --namespace=Crescat\\\\Tripletex --type=openapi --name=Tripletex tests/Samples/tripletex.converted.json --output tests/Output/Tripletex",
"generate:checkmango": "./codegen generate:sdk --force --namespace=Checkmango\\\\Sdk --type=openapi --name=Checkmango tests/Samples/checkmango.json --output tests/Output/Checkmango",
"generate:kassalapp": "./codegen generate:sdk --force --namespace=Kassalapp\\\\Sdk --type=openapi --name=Kassalapp tests/Samples/kassalapp.json --output tests/Output/Kassalapp",
"generate:altinn": "./codegen generate:sdk --force --namespace=Altinn\\\\Sdk --type=postman --name=Altinn tests/Samples/altinn.json --output tests/Output/Altinn",
"generate:crescat": "./codegen generate:sdk --force --namespace=Crescat\\\\Sdk --type=openapi --name=Crescat tests/Samples/crescat.yaml --output tests/Output/Crescat",
"generate:bigcommerce": "./codegen generate:sdk --force --namespace=BigCommerce\\\\Sdk --type=openapi --name=BigCommerce tests/samples/bigcommerce_abandoned_carts.v3.yml --output tests/Output/BigCommerce",
"generate:vegvesen": "./codegen generate:sdk --force --namespace=Vegvesen\\\\Sdk --type=openapi --name=Vegvesen tests/samples/vegvesen.json --output tests/Output/Vegvesen",
"generate:spotify": "./codegen generate:sdk --force --namespace=Spotify\\\\Sdk --type=openapi --name=Spotify tests/samples/spotify.yml --output tests/Output/Spotify",
"generate:all": [
"@generate:fiken",
"@generate:gocardless",
"@generate:openai",
"@generate:paddle",
"@generate:tableau",
"@generate:tripletex",
"@generate:stripe",
"@generate:checkmango",
"@generate:kassalapp",
"@generate:crescat",
"@generate:bigcommerce"
],
"test": "vendor/bin/pest tests",
"test-coverage": "vendor/bin/pest --coverage",
"format": "vendor/bin/pint"
},
"config": {
"preferred-install": "dist",
"sort-packages": true,
"optimize-autoloader": true,
"allow-plugins": {
"pestphp/pest-plugin": true
}
},
"minimum-stability": "stable",
"prefer-stable": true,
"bin": [
"builds/sdkgenerator"
]
}