applious-draft
A draft site scaffold for rapid front-end development using CoffeeScript, Eco and Stylus.
Last updated 8 years ago by jimfleming .
Bugs · Original npm · Tarball · package.json
$ cnpm install applious-draft -g
SYNC missed versions from official npm registry.

DRAFT

A draft site scaffold for rapid front-end development. Its a simple static node server for our front-end stack (coffee-script, stylus, eco).

Can run a static site in any directory from a single server: draft --port 8000

Examples

  • draft
  • draft --port 8000
  • draft -p 80
  • draft --port 8000 ~/Projects/MyApp/

Expects

A public directory with any static assets such as javascript, css and html. A src directory with compilable files such as coffee-script, stylus, eco.

Eco templates should be inside a templates directory in src and may optionally provide a parent template (layout.eco) to be applied to all templates.

Example file structure:

  • public/
    • index.html
    • styles/
      • home.css
    • scripts/
      • jquery.js
      • main.js
  • src/
    • styles/
      • home.styl
    • scripts/
      • main.coffee
    • templates/
      • layout.eco
      • about.eco

Current Tags

  • 0.0.1                                ...           latest (8 years ago)

1 Versions

  • 0.0.1                                ...           8 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 0
Dependencies (6)
Dev Dependencies (0)
None
Dependents (1)

Copyright 2014 - 2016 © taobao.org |