Learn how companies like Phone2Action are using npm in their front-end developmentJoin the conversation »

generator-wsmh-app

1.1.0 • Public • Published

@whostolemyhat's Web App Template

Web app generator for Yeoman. Constructs a standard boilerplate for webapps including Grunt and Sass configurations.

Getting started

  • Install: npm install -g generator-wsmh-app
  • Run: yo wsmh-app

What does it do?

Scaffolds a boilerplate web app template. To run the gruntfile, you will need the following installed: 3. Grunt (npm install -g grunt-cli) 3. Ruby (Windows installer) 4. Sass (gem install sass)

Usage

Currently there are two grunt tasks:

  1. grunt - runs a static server on port 9000 and auto-refreshes when a change is made to a CSS, JS, HTML or image file. Also compiles SASS files - config set in the Gruntfile. Stop the server with Ctrl+C.

  2. grunt build - concatenates and builds all js files in app/js (but not in the vendor folder), and minifies all CSS (but doesn't concat all).

Install

npm i generator-wsmh-app

DownloadsWeekly Downloads

1

Version

1.1.0

License

MIT

Last publish

Collaborators

  • avatar