| Command | Description | Version |
|---|---|---|
| create | ✨ Create a Marko application from an example project | |
| serve | 🚀 Serve a Marko application or individual component for local development | |
| build | 📦 Build an optimized Marko application (the production-ready counterpart to serve) |
|
| 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 distrubuted as a separate npm package (@marko/<command>). You can execute individual commands using npx @marko/<command> (e.g. npx @marko/create). We recommend installing most commands locally and using marko-<command> in your package.json scripts.
This repo provides a consistent build, test, & development environment for all of Marko's CLI commands.
npm scripts
testRun the tests for all packagespublishRuns build and begins publishing any changed packagesbuildRuns babel on thesrcfolder for every package (runs on publish)formatFormats the files in the repo (runs on precommit)lintLints 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.
