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
Release files for eleran 1.0.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| eleran-1.0.1.tar.gz | 4.2 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| eleran-1.0.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 9.1 kB
Release files / eleran-1.0.1.tar.gz
| Download URL | eleran-1.0.1.tar.gz |
|---|---|
| Size | 4.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
2db38755a2bb811c99ebb57a18b5a7b52df18dc780a332968039b5088fb84bc7
|
|
BLAKE2b-256 checksum How to use checksums |
1cc12f6fa8206c8ab2b4d549c982a1b91c8586723f2f5c72e5f71135b228fc0f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Release files / eleran-1.0.1-py3-none-any.whl
| Download URL | eleran-1.0.1-py3-none-any.whl |
|---|---|
| Size | 5.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
887f029c49ddee8e3918832a585d2a7812a095b8f0be72b12b87694f63408de8
|
|
BLAKE2b-256 checksum How to use checksums |
0e7982a786de802693efb615cce0b19a34862619dca882f17cf3c63ce6c6fa91
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |