semvec/pypi-packages huggingface dataset:
lektor-jsminify 1.4.1
JS minifier for Lektor. Based on rjsmin.
License: MIT
Keywords: Lektor plugin

# lektor-JSminify
[![PyPI version](https://badge.fury.io/py/lektor-jsminify.svg)](https://badge.fury.io/py/lektor-jsminify) [![Downloads](https://pepy.tech/badge/lektor-jsminify)](https://pepy.tech/project/lektor-jsminify)

JS minifier for Lektor that automatically minifies javascript files

Uses [rjsmin](https://pypi.org/project/rjsmin/)  and looks for .js files,
minifying them as part of the build process. It only rebuilds when it's needed (file changed or the config changed). When starting the the development server it watchs the files for changes in the background and rebuilds them when needed.

## Installing

You can install the plugin with Lektor's installer::
```bash
lektor plugins add lektor-jsminify
```

Or by hand, adding the plugin to the packages section in your lektorproject file::
```bash
[packages]
lektor-jsminify = 1.4.1
```

## Usage
#####

To enable jsminify, pass the `jsminify` flag when starting the development
server or when running a build:
```bash
lektor server -f jsminify
```
```bash
lektor build -f jsminify
```

When the flag is present, jsminify will take all .js files from asset_sources/js, minifies them and places them
in assets/js.


The Plugin has the following settings you can adjust to your needs:

|parameter         |default value      |description                                                                                       |
|------------------|-------------------|--------------------------------------------------------------------------------------------------|
|source_dir        |asset_sources/js/  | the directory in which the plugin searchs for js files (subdirectories are included)             |
|output_dir        |assets/js/         | the directory the minified js files get place at                                                 |
|name_prefix       |                   | prefix for output name e.g. test.js becomes to test<name_prefix>.js                              |
|keep_bang_comments|False              | keep comments starting with an exclamation mark                                                  |
|excluded_assets   |                   | exclude .js files using a comma separated list of unix shell style wildcards ([fnmatch](https://docs.python.org/3/library/fnmatch.html))                                     |
|included_assets   |                   | include .js files using a comma separated list of unix shell style wildcards ([fnmatch](https://docs.python.org/3/library/fnmatch.html)) overrides excluded assets           |

An example config can be found at `configs/jscompile.ini`
quick-start 0.0.dev10
My short description for my project.
License: MIT
Requires Python: >=3.7.0
Keywords: quick start project

# QuickStart
> Cria um projeto baseado em um modelo

## Instalação

Linux:

```sh
 $ python setup.py install --user
 $ ~/.local/bin/quickstart_installer
```


## Exemplo de uso

``` sh
$ pyinit nome_do_projeto
```

## Configuração para Desenvolvimento

```sh
python setup.py develop
```

## Histórico de lançamentos

    * Trabalho em andamento

## Meta

Seu Nome – [@ztzandre](https://twitter.com/ztzandre) – andreztz@gmail.com

Distribuído sob a licença XYZ. Veja `LICENSE` para mais informações.

[https://github.com/andreztz/quick-install](https://github.com/andreztz/)