Skip to content

Commit

Permalink
Fix error in composer.json
Browse files Browse the repository at this point in the history
  • Loading branch information
Levi Zitting committed Feb 19, 2019
1 parent 4a4d326 commit ec3c135
Show file tree
Hide file tree
Showing 2 changed files with 65 additions and 57 deletions.
66 changes: 37 additions & 29 deletions composer.json
Original file line number Diff line number Diff line change
@@ -1,32 +1,40 @@
{
"name": "mostlyserious/ms-craft",
"description": "Craft CMS",
"type": "project",
"require": {
"craftcms/cms": "^3.0.0",
"vlucas/phpdotenv": "^2.4.0"
},
"autoload": {
"psr-4": {
"modules\\": "modules/"
}
},
"config": {
"optimize-autoloader": true,
"platform": {
"php": "7.0"
}
},
"scripts": {
"post-create-project-cmd": [
"@php -r \"copy('.env.example', '.env');\"",
"@php -r \"unlink('composer.json');\"",
"@php -r \"unlink('LICENSE.md');\"",
"@php -r \"unlink('README.md');\"",
"@php -r \"rename('composer.json.default', 'composer.json');\"",
"@composer dump-autoload -o",
"name": "mostlyserious/ms-craft",
"description": "Craft CMS",
"type": "project",
"require": {
"anubarak/craft-relabel": "^1.2",
"craftcms/aws-s3": "^1.1",
"craftcms/cms": "^3.0.0",
"craftcms/redactor": "^2.3",
"lukeyouell/craft-sentry": "^1.5",
"misterbk/mix": "^1.5",
"sebastianlenz/linkfield": "^1.0",
"spicyweb/craft-neo": "^2.2",
"verbb/super-table": "^2.1",
"vlucas/phpdotenv": "^2.4.0"
},
"autoload": {
"psr-4": {
"modules\\": "modules/"
}
},
"config": {
"optimize-autoloader": true,
"platform": {
"php": "7.0"
}
},
"scripts": {
"post-create-project-cmd": [
"@php -r \"copy('.env.example', '.env');\"",
"@php -r \"unlink('composer.json');\"",
"@php -r \"unlink('LICENSE.md');\"",
"@php -r \"unlink('README.md');\"",
"@php -r \"rename('composer.json.default', 'composer.json');\"",
"@composer dump-autoload -o",
"npm install",
"@php craft setup/welcome"
]
}
"@php craft setup/welcome"
]
}
}
56 changes: 28 additions & 28 deletions composer.json.default
Original file line number Diff line number Diff line change
@@ -1,31 +1,31 @@
{
"require": {
"anubarak/craft-relabel": "^1.2",
"craftcms/aws-s3": "^1.1",
"craftcms/cms": "^3.0.0",
"craftcms/redactor": "^2.3",
"lukeyouell/craft-sentry": "^1.5",
"misterbk/mix": "^1.5",
"sebastianlenz/linkfield": "^1.0",
"spicyweb/craft-neo": "^2.2",
"verbb/super-table": "^2.1",
"vlucas/phpdotenv": "^2.4.0"
},
"autoload": {
"psr-4": {
"modules\\": "modules/"
"require": {
"anubarak/craft-relabel": "^1.2",
"craftcms/aws-s3": "^1.1",
"craftcms/cms": "^3.0.0",
"craftcms/redactor": "^2.3",
"lukeyouell/craft-sentry": "^1.5",
"misterbk/mix": "^1.5",
"sebastianlenz/linkfield": "^1.0",
"spicyweb/craft-neo": "^2.2",
"verbb/super-table": "^2.1",
"vlucas/phpdotenv": "^2.4.0"
},
"autoload": {
"psr-4": {
"modules\\": "modules/"
}
},
"config": {
"sort-packages": true,
"optimize-autoloader": true,
"platform": {
"php": "7.0"
}
},
"scripts": {
"post-root-package-install": [
"@php -r \"file_exists('.env') || copy('.env.example', '.env');\""
]
}
},
"config": {
"sort-packages": true,
"optimize-autoloader": true,
"platform": {
"php": "7.0"
}
},
"scripts": {
"post-root-package-install": [
"@php -r \"file_exists('.env') || copy('.env.example', '.env');\""
]
}
}

0 comments on commit ec3c135

Please sign in to comment.