Run prettier on all *.md files

```
prettier '{app,source}/**/**.md' --write
```
This commit is contained in:
Oliver Davies 2020-03-08 17:52:59 +00:00
parent a3ceeaf0f3
commit 85a10c545b
170 changed files with 5127 additions and 2282 deletions

View file

@ -1,14 +1,26 @@
---
title: Easier Sculpin Commands with Composer and NPM Scripts
date: 2017-01-07
excerpt: In this video, I show you how I've simplied my Sculpin and Gulp workflow using custom Composer and NPM scripts.
excerpt:
In this video, I show you how I've simplied my Sculpin and Gulp workflow using
custom Composer and NPM scripts.
tags: [composer, gulp, sculpin]
---
In this video, I show you how I've simplied my Sculpin and Gulp workflow using custom Composer and NPM scripts.
My website includes several various command line tools - e.g. [Sculpin][4], [Gulp][5] and [Behat][6] - each needing different arguments and options, depending on the command being run. For example, for Sculpin, I normally include several additional options when viewing the site locally - the full command that I use is `./vendor/bin/sculpin generate --watch --server --clean --no-interaction`. Typing this repeatedly is time consuming and could be easily mis-typed, forgotten or confused with other commands.
In this video, I show you how I've simplied my Sculpin and Gulp workflow using
custom Composer and NPM scripts.
In this video, I show you how I've simplied my Sculpin and Gulp workflow using custom Composer and NPM scripts.
My website includes several various command line tools - e.g. [Sculpin][4],
[Gulp][5] and [Behat][6] - each needing different arguments and options,
depending on the command being run. For example, for Sculpin, I normally include
several additional options when viewing the site locally - the full command that
I use is
`./vendor/bin/sculpin generate --watch --server --clean --no-interaction`.
Typing this repeatedly is time consuming and could be easily mis-typed,
forgotten or confused with other commands.
In this video, I show you how I've simplied my Sculpin and Gulp workflow using
custom Composer and NPM scripts.
<div class="embed-container">
<iframe width="560" height="315" src="https://www.youtube.com/embed/eiWDV_63yCQ" frameborder="0" allowfullscreen></iframe>
@ -16,7 +28,11 @@ In this video, I show you how I've simplied my Sculpin and Gulp workflow using c
## Scripts
Here are the scripts that Im using - they are slightly different from those in the video. I use the `--generate` and `--watch` options for Sculpin and the `gulp watch` command for NPM. I had to change these before the recording as I was using the [demo magic][0] script to run the commands, and existing from a watch session was also ending the script process.
Here are the scripts that Im using - they are slightly different from those in
the video. I use the `--generate` and `--watch` options for Sculpin and the
`gulp watch` command for NPM. I had to change these before the recording as I
was using the [demo magic][0] script to run the commands, and existing from a
watch session was also ending the script process.
### composer.json
@ -42,7 +58,8 @@ Run with `composer run <name>`, e.g. `composer run dev`.
Run with `npm run <name>`, e.g. `npm run production`.
You can also take a look at the full [composer.json][1] and [package.json][2] files within my site repository on [GitHub][3].
You can also take a look at the full [composer.json][1] and [package.json][2]
files within my site repository on [GitHub][3].
## Resources