Skip to content

marko-js/cli

Folders and files

NameName
Last commit message
Last commit date

Latest commit

c66d735 Β· Dec 30, 2024
Mar 29, 2021
Mar 29, 2021
Dec 30, 2024
Nov 9, 2017
Apr 27, 2018
Dec 4, 2018
Dec 7, 2018
Mar 29, 2021
Mar 29, 2021
Dec 4, 2018
Apr 17, 2021
Feb 20, 2018
Mar 29, 2021
Mar 3, 2022
Jan 17, 2019
Mar 3, 2022
Mar 3, 2022
Dec 30, 2024

Repository files navigation

Marko CLI

API Stability Lerna Styled with prettier MIT Build status

Commands

Command Description Version
create ✨ Create a Marko application from an example project NPM Version
serve πŸš€ Serve a Marko application or individual component for local development NPM Version
build πŸ“¦ Build an optimized Marko application (the production-ready counterpart to serve) NPM Version
migrate 🧹 Update Marko components to remove usage of deprecated apis NPM Version
prettyprint πŸ’… Reformat Marko source files for consistency and beauty NPM Version
test βœ… Test marko components in both node and browsers NPM Version

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.

Contributing

This repo provides a consistent build, test, & development environment for all of Marko's CLI commands.

npm scripts

  • test Run the tests for all packages
  • publish Runs build and begins publishing any changed packages
  • build Runs babel on the src 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)

Code of Conduct

This project adheres to the eBay Code of Conduct. By participating in this project you agree to abide by its terms.