2.0.2 • Published 9 years ago

frontr-src v2.0.2

Weekly downloads
1
License
MIT
Repository
github
Last release
9 years ago

Frontr Source

devDependency Status Build Status

The front-end source for Frontr CLI.

Features

Requirements

It's necessary to install the following packages before:

How to use

Installation

Clone the repository

$ git clone https://github.com/quintana-dev/frontr-src.git

Enter to project dir

$ cd frontr-src

Install local packages

$ npm install

Usage

Serve

Start development server and preview the project located at app/ dir.

$ grunt serve

Build

Generate a dist files at dist/ dir.

$ grunt build

Dist

Run dist server with deployed files located at dist/ dir.

$ grunt dist

Remote access

For remote access in network using --remote-access option.

$ grunt serve --remote-access
# or
$ grunt dist --remote-access

Note: For remote access in Windows OS use the network IP address instead of 0.0.0.0

Configuration

Simple commons setup via frontr.json.

{
  "hostname": "localhost",
  "port": 7000,
  "app": "/app",
  "dist": "/dist",
  "assets": {
    "dirname": "/assets",
    "src": {
      "css": "",
      "js": "/js",
      "img": "/img",
      "fonts": "/fonts"
    },
    "style": "style"
  },
  "uncssIgnore": ".uncss-?\\S*"
}

History

Check out releases changelog.

License

MIT license

© 2015 José Luis Quintana