Skip to content

A Ghost theme starter kit built with Fly for amazingly FAST development!

License

Notifications You must be signed in to change notification settings

lukeed/fly-kit-ghost

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

35 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Fly Kit: Ghost Theme Build Status

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.

Install

(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.

Important!

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.

Usage

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

Features

  • 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

License

MIT © Luke Edwards

About

A Ghost theme starter kit built with Fly for amazingly FAST development!

Resources

License

Stars

Watchers

Forks

Packages

No packages published