manufosela / wabuse-cli

Command Line Interface from Web Applications Built Using Standars Everywhere Tool

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

wabuse

Web Applications Built Using Standards Everywhere Tool Generate static web pages with links to js and css files that are stored in the dist folder. Oriented to HTML5, CSS, ES6 + and Web components standards through LitElement. Based in conventions vs configurations.

wabuse is a set of tools to create static sites using standard javascript.

Tools

wabuse, the command line interface to generate static pages

Install like global cli

    npm install -g @wabuse/wabuse-cli

Usage

Generate scafolding

    wabuse scafolding [--languages 'lang1','lang2'[,...]] [--commonfiles 'file1','file2'[,...]]

Generate new Page

    wabuse create-page PAGENAME [--languages 'lang1','lang2'[,...]]

Generate web-component

    wabuse create-wc WC-NAME

Generate Build

To generate static HTML pages

    wabuse build [--port PORT] [--workdir WORKDIR]

TREE DIR STRUCTURE

El proyecto consta de la siguiente estructura de carpetas:

    |__dist (after the build)
    |__resources
    |__src
    |__assets
    |__components
    |__css
    |__js
        |__lib
        |__pages
        |__tpl
    |__json

Path dist

Path when the html pages are building after npm run build

Path recursos

Path whith resources like robots.txt and sitemap.xml. These files are copied into dist dir.

About

Command Line Interface from Web Applications Built Using Standars Everywhere Tool

License:Apache License 2.0


Languages

Language:JavaScript 92.4%Language:HTML 4.9%Language:CSS 2.5%Language:Shell 0.2%