Skip to main content
Help us improve PyPI by participating in user testing. All experience levels needed!

Simple & fast sass compiler and javascript minifier with hot reloading

Project description

Simple & fast sass compiler and javascript minifier with hot reloading

Install

Install using pip:

pip install eleran

Usage

Command:

eleran <command> <path> --mode=<mode>

commad:

  • watch
  • validate
  • generate

–mode:

  • debug

Example, generate eleran.json to example directory:

eleran generate example

Watch:

eleran watch example

Configuration File

eleran.json:

[
    {
        "sass": {
            "source": "sass/style.scss",
            "output": "style.min.css",
            "output_style": "compressed",
            "source_comments": false
        }
    },
    {
        "js": {
            "include": [
                "js/foo.js",
                "js/bar.js"
            ],
        "output": "script.min.js"
        }
    }
]

Sass - output_style:

  • compact
  • compressed
  • expanded
  • nested

Project details


Release history Release notifications

This version
History Node

1.0.1

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, size & hash SHA256 hash help File type Python version Upload date
eleran-1.0.1-py3-none-any.whl (5.0 kB) Copy SHA256 hash SHA256 Wheel py3 Jun 15, 2018
eleran-1.0.1.tar.gz (4.2 kB) Copy SHA256 hash SHA256 Source None Jun 15, 2018

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging CloudAMQP CloudAMQP RabbitMQ AWS AWS Cloud computing Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page