0.2.4 • Published 8 years ago

tevatron-cli v0.2.4

Weekly downloads
2
License
MIT
Repository
github
Last release
8 years ago

Tevatron CLI

Smashes web component HTML imports into a single Javascript file

Installation

npm install tevatron-cli

Syntax

tevatron --src /your_source_directory --target /your_target_path

Arguments

--src (-s) directory

This directory, and its subdirectories, will be scanned for any HTML and JS files. Any HTML files containing <script> tags, or JS files containing /* tevatron comments, will be included in the smash.

--target (-t) directory/filename

This is the path to where your smashed file(s) will be written. Without the --concat flag, --target will be treated as a folder. With --concat, it will be treated as a filename and appended a .js extension.

Flags

--concat (-c)

With this flag, all smashed scripts will be concatenated into a single file, with the name of --target

--minify (-m)

With this flag, all smashed scripts, or the concatenated script, will be minified with Uglify.js

--verbose (-v)

With this flag, the builder script will output extra information.

0.2.4

8 years ago

0.2.3

9 years ago

0.2.2

9 years ago

0.2.1

9 years ago

0.2.0

9 years ago

0.1.1

9 years ago

0.1.0

9 years ago