🔨 CLI 🔧
Each command in this repository has a programmatic API that is distributed as an independent package. To use any of the commands below as a CLI you must install the marko-cli package.
- compile - compiles a Marko template and writes the output to disk
- create - generates a Marko app boilerplate with marko-starter
- migrate - Migrates Marko templates.
- prebuild - precompile Marko templates using lasso's prebuild functionality.
- prettyprint - Pretty prints Marko templates.
- test - Server side and client sides tests for Marko components using Mocha
This repo provides a consistent build, test, & development environment for all of Marko's CLI commands.
testRun the tests for all packages
publishRuns build and begins publishing any changed packages
buildRuns babel on the
srcfolder for every package (runs on publish)
formatFormats the files in the repo (runs on precommit)
lintLints the files in the repo (runs on precommit)
Code of Conduct
This project adheres to the eBay Code of Conduct. By participating in this project you agree to abide by its terms.