grunt-set-static
grunt-set for a static website
Last updated 5 years ago by jga .
Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install grunt-set-static 
SYNC missed versions from official npm registry.

grunt-set-static

grunt-set for a static site.

Features

  • concat js files
  • auto include bower dependencies
  • pre-process less files
  • process html files with handlebars
  • support for partials
  • support for layouts

Suggested Structure

src/
  index.html
  page2.html
  styles/
    vars.less
  scripts/
    global.js
  layouts/
    layout1.html
  modules/
    module-name/
      view.html (available to load as a partial)
      style.less
      script.js
  images/
    logo.png
  fonts/
    app.ttf

Ouput

www/
  index.html
  page2.html
  styles/
    site.css
  scripts/
    site.js
  images/
    logo.png
  fonts/
    app.ttf

Commands

  • dev - run a dev server and watch for changed files
  • dist - minify files and write everything to dist folder
  • deploy - deploy site to s3

Current Tags

  • 0.0.12                                ...           latest (5 years ago)

12 Versions

  • 0.0.12                                ...           5 years ago
  • 0.0.11                                ...           6 years ago
  • 0.0.10                                ...           6 years ago
  • 0.0.9                                ...           6 years ago
  • 0.0.8                                ...           6 years ago
  • 0.0.7                                ...           6 years ago
  • 0.0.6                                ...           6 years ago
  • 0.0.5                                ...           6 years ago
  • 0.0.4                                ...           6 years ago
  • 0.0.3                                ...           6 years ago
  • 0.0.2                                ...           6 years ago
  • 0.0.1                                ...           6 years ago
Maintainers (1)
Downloads
Today 0
This Week 3
This Month 3
Last Day 2
Last Week 0
Last Month 9
Dev Dependencies (0)
None
Dependents (0)
None

Copyright 2014 - 2016 © taobao.org |