diff --git a/README.md b/README.md index 03a78ae..0e31825 100644 --- a/README.md +++ b/README.md @@ -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 `vendor/bin/sculpin generate --server --watch` to generate and serve the site. +1. Run `composer run dev` to generate and serve the site. 1. Start adding content to `source/index.md`. ## Notes diff --git a/composer.json b/composer.json index 191a9f0..414ea71 100644 --- a/composer.json +++ b/composer.json @@ -12,5 +12,9 @@ "require": { "dflydev/embedded-composer": "^1.0@dev", "sculpin/sculpin": "^2.1@dev" + }, + "scripts": { + "dev": "sculpin generate --server --watch --clean --no-interaction", + "prod": "sculpin generate --env prod --clean --no-interaction" } }