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.
npm scripts
test
Run the tests for all packagespublish
Runs build and begins publishing any changed packagesbuild
Runs babel on thesrc
folder for every package (runs on publish)format
Formats the files in the repo (runs on precommit)lint
Lints the files in the repo (runs on precommit)
This project adheres to the eBay Code of Conduct. By participating in this project you agree to abide by its terms.