Socket
Socket
Sign inDemoInstall

frontr-src

Package Overview
Dependencies
0
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    frontr-src

The front-end source for Frontr CLI.


Version published
Maintainers
1
Created

Readme

Source

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

Keywords

FAQs

Last updated on 25 Aug 2015

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc