gatsby-scaffolder v1.0.8
A command line tool that scaffolds different files and projects when working with Gatsby.

Install
Global install, Either install as a global library:
npm install -g gatsby-scaffolderThis will install an executable
gtsf.Run with NPX Or run it with NPX, like so:
``` npx gtsf <command> <arg> ```
Commands
NOTE, the commands component and page assume there is an existing Gatsby project scaffolded already. (Thereby existing directories src/components/ and src/pages/). The plugin command assumes you are standing in an empty directory when running it.
The following commands are supported
componentnpx gtsf component <component name>example
npx gtsf component helloThis creates the React component
hello.jsin theComponents/dir.pagenpx gtsf page <component name>example
npx gtsf page helloThis creates the React component
hello.jsin thePages/dir.plugin sourcenpx gtsf plugin <type>example
npx gtsf plugin sourceThis creates scaffolds out a new source plugin. This includes
package.jsonandgatsby-node.js.plugin transformnpx gtsf plugin <type>example
npx gtsf plugin transformThis scaffolds out a new transformer plugin. This includes
package.json,gatsby-node.js,parseContent.jsand a test directory.