Yeoman generator that scaffolds out a front-end web app using gulp for the build process
Please see our gulpfile.js for up to date information on what we support.
- CSS Autoprefixing
- Built-in preview server with BrowserSync
- Auto-compile Stylus
- Auto-compile CoffeeScript
- Templates using Jade
- Image optimization
- Automatically wire-up dependencies installed with Bower
For more information on what this generator can do for you, take a look at the gulp plugins used in our package.json
.
- Install dependencies:
npm install --global yo bower
- Install the generator:
npm install --global generator-tapp
- Run
yo tapp
to scaffold your webapp - Run
gulp serve
to preview and watch for changes - Run
gulp serve:production
to preview application like on production server - Run
bower install --save <package>
to install frontend dependencies - Run
gulp
to build your webapp for production
-
--skip-install
Skips the automatic execution ofbower
andnpm
after scaffolding has finished. -
--test-framework=<framework>
Defaults tomocha
. Can be switched for another supported testing framework likejasmine
.