forked from alefesouza/laravel-vue-boilerplate
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathcomposer.json
91 lines (91 loc) · 2.48 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
91
{
"name": "alefesouza/laravel-vue-boilerplate",
"description": "A Laravel 5.5 SPA boilerplate with a users CRUD using Vue.js 2.5, Bootstrap 4, TypeScript, Sass, Pug and Jest.",
"keywords": [
"laravel",
"vue",
"boilerplate",
"typescript",
"sass",
"scss",
"pug",
"jest"
],
"authors": [{
"name": "Alefe Souza",
"email": "[email protected]",
"homepage": "https://alefesouza.com"
},
{
"name": "The Laravel Framework",
"homepage": "https://laravel.com"
}
],
"license": "MIT",
"type": "project",
"require": {
"php": ">=7.0.0",
"bkwld/laravel-pug": "^1.5",
"fideloper/proxy": "~3.3",
"laravel/envoy": "^1.4",
"laravel/framework": "5.5.*",
"laravel/tinker": "~1.0",
"martinlindhe/laravel-vue-i18n-generator": "^0.1.20",
"pusher/pusher-php-server": "~3.0",
"tymon/jwt-auth": "1.0.0-rc.2"
},
"require-dev": {
"filp/whoops": "~2.0",
"fzaninotto/faker": "~1.4",
"mockery/mockery": "0.9.*",
"phpunit/phpunit": "~6.0"
},
"autoload": {
"classmap": ["database/seeds", "database/factories"],
"psr-4": {
"App\\": "app/"
},
"files": ["app/Http/helpers.php"]
},
"autoload-dev": {
"psr-4": {
"Tests\\": "tests/php/"
}
},
"extra": {
"laravel": {
"dont-discover": []
}
},
"scripts": {
"post-root-package-install": [
"@php -r \"file_exists('.env') || copy('.env.example', '.env');\""
],
"post-create-project-cmd": ["@php artisan key:generate"],
"post-autoload-dump": [
"Illuminate\\Foundation\\ComposerScripts::postAutoloadDump",
"@php artisan package:discover"
],
"test": "\"vendor/bin/phpunit\"",
"env:copy": "cp .env.docker .env && cp .env.docker .env.testing",
"key:generate": "php artisan key:generate && php artisan key:generate --env=testing",
"jwt:generate": "php artisan jwt:secret && php artisan jwt:secret --env=testing",
"permissions": "chgrp -R www-data storage bootstrap/cache && chmod -R ug+rwx storage bootstrap/cache",
"start": [
"@composer run env:copy",
"@composer install -n --prefer-dist",
"@composer run key:generate",
"@composer run jwt:generate",
"@php artisan vue-i18n:generate",
"@php artisan migrate --seed",
"@composer run permissions",
"@composer test"
],
"deploy": "envoy run deploy"
},
"config": {
"preferred-install": "dist",
"sort-packages": true,
"optimize-autoloader": true
}
}