@lmjs/cli
v2.2.0
Published
Command line interface for LumenJS — scaffold, develop, and build LumenJS applications. LumenJS is a tiny, fast reactive JavaScript framework for building web applications and interfaces with standard HTML, CSS, and JavaScript.
Maintainers
Readme
LumenJS Reactive JavaScript Framework
LumenJS is a cutting-edge, tiny, and lightning-fast reactive JavaScript framework that is set to revolutionize the way developers build dynamic user interfaces. Building scalable and high-performant web applications and web user interfaces, be it simple or complex, with standard HTML, CSS and JavaScript only. LumenJS Documentation
LumenJS comes along with MobiusCSS which is a utility-first CSS framework packed with grid and table sectioning systems and classes like g, mt20, pv100, c and sq that can be composed to build any design, directly in your markup. MobiusCSS Documentation
Installation
Using npm:
npm install -g @lmjs/cli
USAGE
Create A New Project
lm create My Project NameYou can use lu, lm, or lumen as a command.
Run The Project
lm serve
Create A View
lm create -v myview
Create A Sub View
lm create -s mysubview
Create A Template
lm create -t mytemplate
Update This Project's Runtime (src/js/lm.js, src/css/mobius.css) To Match The Installed @lmjs/cli
lm update-coreRun this after updating @lmjs/cli globally — an existing project's runtime is copied once, at
lm create time, and isn't kept in sync automatically. lm purge still works as an alias.
Build A Dist For Production Version
lm build(--serverless is accepted but no longer changes anything — this is the only
build output now. The old Node-server build mode was removed: nobody's own
projects actually shipped it, and it's not maintained going forward.)
Build A Dist For Production Version & Deploy It Directly
lm build --deploy