generator-cnx-frnd
cnx-frnd sets up a frontend app development environment using gulp as your taskrunner and bower as your package manager.
Features
Please see the gulpfile for up to date information on support.
- CSS Autoprefixing
- Built-in preview server with BrowserSync
- Compile Sass with libsass
- Lint your scripts
- Map compiled and minified CSS to source stylesheets with source maps
- Image optimization
- Automagically wire-up dependencies installed with bower
Installation
First, install generator-cnx-frnd using npm (we assume you have pre-installed node.js).
Install the generator (already installed in the cnx-vagrant-basebox)
npm install -g generator-cnx-frnd
Generate your new project:
yo cnx-frnd
Usage
To monitor the project:
gulp
To deploy the project to dist:
gulp deploy