0.2.1 • Published 11 years ago

fawkes v0.2.1

Weekly downloads
5
License
-
Repository
github
Last release
11 years ago

Fawkes

A tool to watch / compile HTML files into handlebars-compiled files.

Install

npm install -g handlebars
npm install -g fawkes

Usage

  • To create a config file, go to your work repository and type -

    fawkes init

  • Open fawkes.json file and modify path, root, extension where -

    • path is the path to templates folder.
    • root is the path which is to be removed while creating compiled templates.
    • extension is the extension of newly created compiled js files. (Can be hbc, jst, js etc.)
  • To compile all the html files, type -

    fawkes compile

  • To watch for new changes in html files, type -

    fawkes watch

  • You can give environment to the commands using --env option (eg. --env prod). It looks for that map in config file. Default is dev.

  • You can keep config file separately and mention it in commands with --config option. (eg. fawkes compile --config ../foo.json)

Thanks

0.2.1

11 years ago

0.2.0

11 years ago

0.1.9

11 years ago

0.1.8

11 years ago

0.1.7

11 years ago

0.1.6

11 years ago

0.1.5

11 years ago

0.1.4

11 years ago

0.1.3

11 years ago

0.1.1

11 years ago

0.1.0

11 years ago