Update composer scripts
This commit is contained in:
parent
ee3087fb60
commit
99ca964f70
|
@ -5,7 +5,7 @@ A skeleton project for the [Sculpin][1] static site generator.
|
|||
## Usage
|
||||
|
||||
1. Download the project by running `composer create-project opdavies/sculpin-skeleton --stability dev my-sculpin-site`.
|
||||
1. Run `composer run dev` to generate and serve the site.
|
||||
1. Run `composer run watch` to generate and serve the site.
|
||||
1. Start adding content to `source/index.md`.
|
||||
|
||||
## Notes
|
||||
|
|
|
@ -14,7 +14,9 @@
|
|||
"sculpin/sculpin": "^2.1@dev"
|
||||
},
|
||||
"scripts": {
|
||||
"dev": "sculpin generate --server --watch --clean --no-interaction",
|
||||
"prod": "sculpin generate --env prod --clean --no-interaction"
|
||||
"dev": "composer run-script generate",
|
||||
"generate": "sculpin generate --clean --no-interaction",
|
||||
"prod": "composer run-script generate -- --env prod",
|
||||
"watch": "composer run-script --timeout=0 generate -- --server --watch"
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue