A commandline interface for bootstrapping and working with Wonderful's Static Kit library.
Using npm:
$ npm install -g @wndrfl/static-kit-cli
The Static Kit CLI provides different commands for many common tasks, as they pertain to interfacing with the Static Kit library.
Installs the Static Kit library into the current directory (or, optionally, a directory indicated by the --dir
flag). If the --init
flag is provided, the CLI will automatically run commands such as npm install
within the new installation.
Compiles source Javascript, CSS (SCSS), and image files into distributable files. The command uses the .staticrc
file to understand where to find the source files and where to output the distribution files.
Creates a pair of .js
and .scss
files within the Static Kit directory. Use this command when beginning work on static assets (JS / CSS) for a new page template.
The CLI has been tested on the following tools. Please let us know if how it works in your environment!
-
Mac OS:
- Terminal.app
- iTerm
-
Windows:
- (needs testing, please let us know how it works!)
-
Linux:
- (needs testing, please let us know how it works!)
Currently there are no known issues. However, if you experience something, we certainly want to know! Please submit a Github issue.
Copyright (c) 2023 Wonderful Licensed under the MIT license.
- Johnnie Munger johnnie@wonderful.io