A Ghost Theme starter kit built with Fly for AMAZINGLY FAST development!
The starter pack will "rebuild" the Casper theme as a demo to help you get started.
(Yeoman generator coming soon!)
cd path/to/ghost/content/themes
git clone --depth=1 https://github.com/lukeed/fly-kit-ghost.git theme-name
cd theme-name
rm -rf .git && git init
npm install
You now have a fresh copy of this repo.
You will then need to update the name
and version
of your package.json
file. Your theme's name
should match the directory's name.
If your development URL is not http://localhost:2368
, you will need to update the proxy
variable at the top of the flyfile.js
.
Default -- build development files & recompile on file changes
npm run fly
Watch -- build development files & start a server. Recompiles & refreshes server on file changes
npm run watch
Build -- build production-ready assets
npm run build
Zip -- create a ZIP archive from built assets
npm run zip
Serve -- build production-ready assets & start a server
npm run serve
- Babel (for ES6 and ES7 support)
- Browserify Bundles (Common JS)
- BrowserSync (Live-Reload)
- CSS Autoprefixer
- Javascript Linting via XO, supports ES6 and ES7
- SASS
- Uglify JS
MIT © Luke Edwards