Frontr
The CLI for Frontr Source.
Features
- HTML5 Boilerplate front-end template.
- Gruntjs for Server and Build tasks.
- Bower for dependencies managment.
- Sass pre-processor (With libsass compiler)
- Foundation CSS Framework v5 (or any you want)
- jQuery JS Framework.
- Modernizr JS library.
- PostCSS and Autoprefixer
- ESLint A fully pluggable tool for identifying and reporting on patterns in JavaScript.
- Livereload and watch files changes
- Minify HTML
- Compress CSS files
- Removing unused CSS from your projects
- Minify PNG and JPEG images
- Minify files with UglifyJS
- File revving
- Just In Time plugin loader for Grunt tasks
- Mocha Tests
Requirements
It's necessary to install the following packages before:
How to use
Installation
$ npm install frontr -g
Usage
Create a project
$ frontr --new my-project-name
Install dependecies
$ cd my-project-name$ npm install
Run development server
Start development server and preview the project. Located at app/
dir.
$ grunt serve
Build dist files
Generate a dist files at dist/
dir.
$ grunt build
Run dist server
Run dist server with deployed files located at dist/
dir.
$ grunt dist
Remote access (option)
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 using the network IP instead 0.0.0.0
CLI
$ frontr --help Usage: frontr --new <project-name> Create a new project Options: -n, --new Create a new project -b, --beta Uses `beta` instead stable release -h, --help Show this help -v, --version Show the version
History
Check out releases changelog
License
MIT license
© 2015 José Luis Quintana