1.2.3 • Published 10 years ago
frontr v1.2.3
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 -gUsage
Create a project
$ frontr --new my-project-nameInstall dependecies
$ cd my-project-name
$ npm installRun development server
Start development server and preview the project. Located at app/ dir.
$ grunt serveBuild dist files
Generate a dist files at dist/ dir.
$ grunt buildRun dist server
Run dist server with deployed files located at dist/ dir.
$ grunt distRemote access (option)
For remote access in network using --remote-access option.
$ grunt serve --remote-access
# or
$ grunt dist --remote-accessNote: 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` (master) instead stable release
-h, --help Show this help
-v, --version Show the versionHistory
Check out releases changelog
License
MIT license
© 2015 José Luis Quintana