mirror of
https://github.com/solidtime-io/solidtime.git
synced 2026-08-08 08:12:17 +01:00
* add linter, prettier and typescript support for jetstream * add github actions for lint, build and typecheck * add composer install to build action * fix composer lock * add ext-intl and fixed php version * fix intl php extension install * add tip php extension to github npm build action * fix php version to 8.3.1 * change github php base action * fix primary button default type * updated typescript types from Team to Organization --------- Co-authored-by: Gregor Vostrak <gregorvostrak@Gregors-MacBook-Pro.local>
95 lines
2.8 KiB
JSON
95 lines
2.8 KiB
JSON
{
|
|
"name": "timetracking-project/timetracking",
|
|
"type": "project",
|
|
"description": "An open-source time-tracking app",
|
|
"keywords": [],
|
|
"license": "AGPL-3.0-or-later",
|
|
"require": {
|
|
"php": "^8.1",
|
|
"filament/filament": "^3.2",
|
|
"guzzlehttp/guzzle": "^7.2",
|
|
"inertiajs/inertia-laravel": "^0.6.8",
|
|
"korridor/laravel-model-validation-rules": "^3.0",
|
|
"laravel/framework": "^10.10",
|
|
"laravel/jetstream": "^4.2",
|
|
"laravel/passport": "*",
|
|
"laravel/tinker": "^2.8",
|
|
"tightenco/ziggy": "^1.0",
|
|
"tpetry/laravel-postgresql-enhanced": "^0.33.0"
|
|
},
|
|
"require-dev": {
|
|
"brianium/paratest": "^7.3",
|
|
"fakerphp/faker": "^1.9.1",
|
|
"fumeapp/modeltyper": "^2.2",
|
|
"larastan/larastan": "^2.0",
|
|
"laravel/pint": "^1.0",
|
|
"laravel/sail": "^1.18",
|
|
"mockery/mockery": "^1.4.4",
|
|
"nunomaduro/collision": "^7.0",
|
|
"phpunit/phpunit": "^10.1",
|
|
"spatie/laravel-ignition": "^2.0"
|
|
},
|
|
"autoload": {
|
|
"psr-4": {
|
|
"App\\": "app/",
|
|
"Database\\Factories\\": "database/factories/",
|
|
"Database\\Seeders\\": "database/seeders/"
|
|
}
|
|
},
|
|
"autoload-dev": {
|
|
"psr-4": {
|
|
"Tests\\": "tests/"
|
|
}
|
|
},
|
|
"scripts": {
|
|
"post-autoload-dump": [
|
|
"Illuminate\\Foundation\\ComposerScripts::postAutoloadDump",
|
|
"@php artisan package:discover --ansi",
|
|
"@php artisan filament:upgrade"
|
|
],
|
|
"post-update-cmd": [
|
|
"@php artisan vendor:publish --tag=laravel-assets --ansi --force"
|
|
],
|
|
"post-root-package-install": [
|
|
"@php -r \"file_exists('.env') || copy('.env.example', '.env');\""
|
|
],
|
|
"post-create-project-cmd": [
|
|
"@php artisan key:generate --ansi"
|
|
],
|
|
"analyse": [
|
|
"@php ./vendor/bin/phpstan analyse --memory-limit=2G --configuration=phpstan.neon"
|
|
],
|
|
"generate-typescript": [
|
|
"@php artisan model:typer > ./resources/js/types/models.ts"
|
|
],
|
|
"ptest": [
|
|
"@php artisan test --parallel --colors=always --stop-on-failure"
|
|
],
|
|
"test": [
|
|
"@php artisan test --colors=always --stop-on-failure"
|
|
],
|
|
"test:coverage": [
|
|
"@php artisan test --coverage --colors=always --stop-on-failure"
|
|
],
|
|
"fix": [
|
|
"@php pint"
|
|
]
|
|
},
|
|
"extra": {
|
|
"laravel": {
|
|
"dont-discover": []
|
|
}
|
|
},
|
|
"config": {
|
|
"optimize-autoloader": true,
|
|
"preferred-install": "dist",
|
|
"sort-packages": true,
|
|
"allow-plugins": {
|
|
"pestphp/pest-plugin": true,
|
|
"php-http/discovery": true
|
|
}
|
|
},
|
|
"minimum-stability": "stable",
|
|
"prefer-stable": true
|
|
}
|