Command | Description | Version |
---|---|---|
serve | 🚀 Quickly serve a Marko application or individual component for local development | |
build | 📦 Build an optimized Marko application (the production-ready counterpart to serve ) |
|
compile | 🛠 Compile components for both node and browsers | |
migrate | ✨ Update Marko components to remove usage of deprecated apis | |
prettyprint | 💅 Reformat Marko source files for consistency and beauty | |
test | ✅ Test marko components in both node and browsers |
Each command is also distrubuted as a separate npm package (@marko/<command>
) which provides a programmatic API that can be used from node.
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.