Skip to content
forked from marko-js/cli

command-line tools for Marko

License

Notifications You must be signed in to change notification settings

LokeshRishi/cli

 
 

Repository files navigation

Marko CLI

API Stability NPM Version Downloads Lerna Styled with prettier MIT Build status

npm install -g marko-cli

Commands

Command Description Version
serve 🚀 Quickly 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
compile 🛠 Compile components for both node and browsers 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 also distrubuted as a separate npm package (@marko/<command>) which provides a programmatic API that can be used from node.

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.

About

command-line tools for Marko

Resources

License

Code of conduct

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 78.1%
  • HTML 21.9%