Skip to content

rsusanto/peepso-cli

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 

Repository files navigation

@peepso/cli

Command-line tool to aid PeepSo development.

Installation

npm install --global github:rsusanto/peepso-cli

Usage

Compiling JavaScript file(s) using peepso build command:

# Build a single file.
peepso build assets/js/file.js      # input: assets/js/file.js         output: assets/js/file.min.js
peepso build assets/js/file.min.js  # input: assets/js/file.js         output: assets/js/file.min.js
peepso build file.js                # input: assets/js/file.js         output: assets/js/file.min.js

# Build grouped files in a directory.
peepso build assets/js/dir          # entry: assets/js/dir/index.js    output: assets/js/dir.min.js
peepso build assets/js/dir.min.js   # entry: assets/js/dir/index.js    output: assets/js/dir.min.js
peepso build dir                    # entry: assets/js/dir/index.js    output: assets/js/dir.min.js

# Special case for `assets/js/index.js` file.
peepso build assets/js/index.js     # entry: assets/js/index.js        output: assets/js/bundle.min.js

# An empty path will implicitly build the default `assets/js/index.js` file.
peepso build                        # entry: assets/js/index.js        output: assets/js/bundle.min.js

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published