All Projects → vokeio → muleify

vokeio / muleify

Licence: MPL-2.0 license
Muleify - Static Site Generator | Website Bundler | Asset Compiler | Templating | Preproccessor

Programming Languages

javascript
184084 projects - #8 most used programming language
HTML
75241 projects
CSS
56736 projects

Projects that are alternatives of or similar to muleify

vite-plugin-sloth
Fresh take on static site generation, using HTML-first approach to build website. Powered by ⚡️ Vite
Stars: ✭ 39 (+143.75%)
Mutual labels:  static, site
bowman
A simple static site generator with an integrated toolchain for efficient development and delivery.
Stars: ✭ 17 (+6.25%)
Mutual labels:  static, site
django-freeze
🧊 convert your dynamic django site to a static one with one line of code.
Stars: ✭ 81 (+406.25%)
Mutual labels:  static, site
assemble-core
The core assemble application with no presets or defaults. All configuration is left to the implementor.
Stars: ✭ 17 (+6.25%)
Mutual labels:  static, site
sitedown
📄 Turn some markdown files into a website.
Stars: ✭ 61 (+281.25%)
Mutual labels:  static, site
Core CSS
This repo no more maintained! All features and components moved to Metro 4.
Stars: ✭ 36 (+125%)
Mutual labels:  less
free-security-resources
安全总是无处不在...
Stars: ✭ 69 (+331.25%)
Mutual labels:  site
emitty
A platform for finding dependencies between files and building tools for incremental compilation or build.
Stars: ✭ 69 (+331.25%)
Mutual labels:  less
mei-tools-atom
Package for the Atom text editor that provides on-the-fly music notation rendering for MEI with Verovio
Stars: ✭ 17 (+6.25%)
Mutual labels:  less
node-inline-assets
Node API, CLI and Grunt Task for inlining external assets of HTML/CSS files
Stars: ✭ 18 (+12.5%)
Mutual labels:  asset
smalloc
SMalloc -- a *static* memory allocator.
Stars: ✭ 22 (+37.5%)
Mutual labels:  static
django-manifest-loader
Simplifies webpack configuration with Django
Stars: ✭ 105 (+556.25%)
Mutual labels:  static
react-mobile
从0构建 react 移动端框架,包含 分模块打包,自动转为rem,强大的路由功能,并配置dva,and-mobile等优质组件(项目会逐渐迭代~)
Stars: ✭ 30 (+87.5%)
Mutual labels:  less
lessram
Pure PHP implementation of array data structures that use less memory.
Stars: ✭ 20 (+25%)
Mutual labels:  less
jess
If you like CSS, Less, Sass, and/or CSS modules, you're gonna want to star this repo.
Stars: ✭ 26 (+62.5%)
Mutual labels:  less
oxdork
Google dorking tool
Stars: ✭ 115 (+618.75%)
Mutual labels:  site
UnityBuildManager
Utility for running builds sequence & pushing them to markets & keeping changelog
Stars: ✭ 53 (+231.25%)
Mutual labels:  asset
barebones
A minimal CSS boilerplate - UNMAINTAINED
Stars: ✭ 37 (+131.25%)
Mutual labels:  less
pansy
🛠️ A zero configuration library bundler.
Stars: ✭ 14 (-12.5%)
Mutual labels:  bundler
react
react 项目骨架
Stars: ✭ 12 (-25%)
Mutual labels:  less

Total alerts Language grade: JavaScript

Muleify

Static Site Generator | Website Bundler | Asset Compiler | Templating | Preprocessor

Overview

Muleify is the one stop shop for your web front end needs, it is a command line tool that handles all your website development needs. Muleify has a unique no configuration required interface. It automatically handles many tasks such as compiling Sass, Scss, Less, Css, ES6 to ES5, bundling, and minifying. Muleify uses extensions and sub-extensions to automatically handle these tasks. With almost almost zero configuration or changes to existing projects you can get started. If there is a feature you want let me know or make a PR.

Features

Another static site and asset generator you might say.

  • zero configuration
  • quick and easy
  • no learning curve
  • based on extensions and sub-extensions
  • single page applications support (spa's)
  • imports, includes, partials, templates, and layouts
  • preprocessor types JavaScript, CSS, SCSS, SASS, LESS, HTML, MD

Install

npm i -g muleify

Changes

  • 3.x.x uses async/awiat so node version >=7.6.0
  • 2.7.0 removes default sass/scss support. After install if you want to use sass run muleify install-node-sass.

CLI

  • muleify -p [options] <input> <output> Packs a folder or file

    • input path to folder or file
    • output path to folder or file
    • -b, --bundle Bundles the output
    • -m, --minify Minifies the output
    • -t, --transpile Transpile the output
    • -w, --watch Watches a file or folder
    • -p, --path <path> Defines the path to watch
    • -s, --serve Serves a folder or file
  • muleify -s [options] <input> [output] Serves a folder or file

    • input path to folder
    • output path to folder (optional)
    • -s, --spa Enables single page application mode
    • -c, --cors Enables cross origin resource sharing mode
  • muleify -m [options] <input> <output> Creates XML sitemap

    • input path to a folder to generate the sitemap
    • output path to a folder to output sitemap.xml
    • -d, --domain <domain> Inserts domain into sitemap
  • muleify -e [options] <input> <output> Creates folders and files from a json file

    • input path to a JSON file
    • output path to a folder
  • muleify -i Installs sass/scss compiler (might require sudo)

Extensions

Muleify uses extensions and sub-extensions to process specail file types. Sub-extensions are period separated names. They can be combined in any order or combination. The generated file will not contain the sub-extensions. For example a file in the src folder could be named file.b.e.js and the dist folder it would be named file.js.

Options

ALL

  • i - ignore

HTML

  • l - layout wraps all view files
  • v - view inserted into layout
  • p - partial allows file to be imported
  • m - minify minify code (under development)

MD

JS

  • b - bundle modules ESM to UMD
  • t - transpile
  • m - minify minify code
    • @preserve will persist comments.
    • @banner will place comment at document start.

CSS

SCSS

  • m - minify minify code

LESS

  • m - minify minify code

Includes/Imports/Partials/Layouts

The path includes/imports/partials/layouts are relative from the input folder.

Options

HTML

Note partial relative path from file

  • layout a placeholder: <!-- { "layout": "*" } -->
  • import a partial: <!-- { "partial": "./header.p.html" } -->
  • define a variable: <!-- { "title": "I Am Title" } -->
  • import a variable: <!-- { "variable": "title" } -->

MD

Converts to HTML.

JS

Supports ESM import relative path from file and also the node resolution algorithm. For node resolution it will search the node_modules package.js files for "module": "file" or main: "file".

CSS

Note @import relative path from file

SCSS

Sass automatically bundles imports. Note @import relative path from file

LESS

Less automatically bundles imports. Note @import relative path from file

Authors

Alexander Elias

License

Why You Should Choose MPL-2.0 This project is licensed under the MPL-2.0 License

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].