frontr-src

2.0.2 • Public • Published

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

Readme

Keywords

Package Sidebar

Install

npm i frontr-src

Weekly Downloads

2

Version

2.0.2

License

MIT

Last publish

Collaborators

  • joseluisq