
Security News
New Website “Is It Really FOSS?” Tracks Transparency in Open Source Distribution Models
A new site reviews software projects to reveal if they’re truly FOSS, making complex licensing and distribution models easy to understand.
A command-line tool for build frontend apps in Ruby.
It uses Sprockets and Tilt to creates an environment for assets compiling similar to Rails Assets Pipeline. It support all engines supported by Sprockets and Tilt like Javascript, Sass, CoffeeScript, Haml, Slim, etc.
This project is still experimental, use with caution!
$ gem install fronton
fronton server
command using --livereload
.Configuration options are readed from a fronton.yml
file located in project
top folder. application.js
, application.css
and all non js&css files in
assets_paths are already added.
assets:
- otherfile.js
assets_paths:
- assets/javascripts
- assets/stylesheets
- assets/fonts
- assets/images
- vendor/javascripts
- vendor/stylesheets
- vendor/fonts
- vendor/images
base_url: https://assets.example.com
compressors:
css: scss
js: uglifier
dependencies:
- rails-assets-jquery: 3.1.0
- slim: 3.0.7
fallback_page: index.slim
output: public
pages:
- index.slim: /
pages_paths:
- pages
Attribute | Type | Description |
---|---|---|
assets | Array | List of assets to compile (non js&css already included) |
assets_paths | Array | List of directories where Sprockets find files for require |
base_url | String | Base URL for assets in production |
compressors | Hash | Hash with selected compressors by type |
dependencies | Array | List of gems to install and require |
fallback_page | String | Fallback page (i.e HTML5 mode in frontend routers) |
output | String | Path to a directory where compiled assets will be written |
pages | Array | List of pages to compile |
pages_paths | Array | List of directories where Fronton find html files |
In order to allow Fronton to install project gem dependencies automatically,
if you use gems from others sources than https://rubygems.org
like
https://rails-assets.org
, you must add these sources to rubygems configuration
file.
$ gem sources --add https://rails-assets.org
.
├── assets
│ ├── fonts
│ ├── images
│ ├── javascripts
│ └── stylesheets
├── fronton.yml
├── locales
│ └── es
│ └── index.yml
├── pages
├── public
└── vendor
├── fonts
├── images
├── javascripts
└── stylesheets
Tests are written using Minitest.
$ bundle exec rake
Contributions are welcome, please follow GitHub Flow
fronton uses Semantic Versioning 2.0.0
Copyright © 2016 Javier Aranda. Released under MIT license.
FAQs
Unknown package
We found that fronton demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
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.
Security News
A new site reviews software projects to reveal if they’re truly FOSS, making complex licensing and distribution models easy to understand.
Security News
Astral unveils pyx, a Python-native package registry in beta, designed to speed installs, enhance security, and integrate deeply with uv.
Security News
The Latio podcast explores how static and runtime reachability help teams prioritize exploitable vulnerabilities and streamline AppSec workflows.