-
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add .gitattributes and update composer.json files
- Loading branch information
1 parent
78519ea
commit 2e6f278
Showing
3 changed files
with
62 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
# Do not export those files in the Composer archive (lighter dependency) | ||
.gitattributes export-ignore | ||
.github/ export-ignore | ||
CHANGELOG.md export-ignore | ||
LICENSE.md export-ignore | ||
README.md export-ignore | ||
|
||
# Auto detect text files and perform LF normalization | ||
* text=auto |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
{ | ||
"name": "jalendport/spark-craft", | ||
"version": "1.0.0-alpha.1", | ||
"description": "Craft CMS starter project", | ||
"version": "1.0.0-alpha.1", | ||
"type": "project", | ||
"keywords": [ | ||
"craft", | ||
|
@@ -10,15 +10,58 @@ | |
"project" | ||
], | ||
"license": "0BSD", | ||
"authors": [ | ||
{ | ||
"name": "Jalen Davenport", | ||
"email": "[email protected]", | ||
"homepage": "https://jalendport.com", | ||
"role": "Developer" | ||
} | ||
], | ||
"support": { | ||
"email": "[email protected]", | ||
"issues": "https://github.com/jalendport/spark-craft/issues", | ||
"source": "https://github.com/jalendport/spark-craft", | ||
"docs": "https://github.com/jalendport/spark-craft/blob/master/README.MD" | ||
}, | ||
"funding": [ | ||
{ | ||
"type": "github", | ||
"url": "https://github.com/sponsors/jalendport" | ||
} | ||
], | ||
"require": { | ||
"craftcms/cms": "^5.0.0", | ||
"vlucas/phpdotenv": "^5.4.0" | ||
}, | ||
"require-dev": { | ||
"craftcms/generator": "^2.0.0", | ||
"yiisoft/yii2-shell": "^2.0.0" | ||
}, | ||
"autoload": { | ||
"psr-4": { | ||
"modules\\": "src/modules/" | ||
} | ||
}, | ||
"minimum-stability": "dev", | ||
"prefer-stable": true, | ||
"config": { | ||
"allow-plugins": { | ||
"craftcms/plugin-installer": true, | ||
"yiisoft/yii2-composer": true | ||
}, | ||
"sort-packages": true, | ||
"optimize-autoloader": true, | ||
"platform": { | ||
"php": "8.3" | ||
} | ||
}, | ||
"scripts": { | ||
"post-create-project-cmd": [ | ||
"@php -r \"unlink('README.md');\"", | ||
"@php -r \"unlink('CHANGELOG.md');\"", | ||
"@php -r \"unlink('LICENSE');\"", | ||
"@php -r \"rename('.env.example', '.env');\"", | ||
"@php -r \"file_exists('.env') || copy('.example.env', '.env');\"", | ||
"@php -r \"unlink('composer.json');\"", | ||
"@php -r \"unlink('composer.lock');\"", | ||
"@php -r \"rename('composer.json.project', 'composer.json');\"" | ||
"@php -r \"rename('composer.json.project', 'composer.json');\"", | ||
"@composer dump-autoload -o" | ||
] | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters