1.1.2 • Published 8 years ago

StanLee-WPTheme-Generator v1.1.2

Weekly downloads
12
License
MIT
Repository
github
Last release
8 years ago

Generator-StanLee-WPTheme

Yeoman generator for a WordPress starter theme (using StanLee) with Gulp and other good stuff. This will install the last version of StanLee and optionally a Gulp setup ready for development and production.

Générateur Yeoman pour un thème de démarrage de WordPress (Utilisant StanLee). Utilise Gulp et d'autres bonnes choses. Cela permet d'installer la dernière version de StanLee et optionnellement une configuration de Gulp prêt au développement et la production.

Installation Version FRANCAISE

Installation

Install required tools yo and gulp:
npm install -g yo gulp
Install generator-stanlee-wptheme:
npm install -g generator-stanlee-wptheme

Run

Create a new directory, and go into:
mkdir my-new-theme && cd $_
Run yo stanlee-wptheme, and fill the info:
yo stanlee-wptheme

Gulp usage

  • Run gulp to watch for changes

  • Run gulp build to build your theme for production (you will find a my-new-theme.zip file in my-new-theme/dist/)

  • (Optional) Run gulp build-clean before gulp build to cleanup the my-new-theme/dist/ folder

Bower usage || Utilisation de Bower

  • Run bower install --save <package> to install frontend dependencies

  • Run gulp wiredep to include SCSS file in /sass/style.scss

License

MIT Copyright (c) 2016 Thomas & Mathilde