Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/marko-js/cli

command-line tools for Marko
https://github.com/marko-js/cli

create devtools marko test tool tools

Last synced: 3 days ago
JSON representation

command-line tools for Marko

Awesome Lists containing this project

README

        


Marko CLI




API Stability



Lerna



Styled with prettier



MIT



Build status

## Commands

| Command | Description | Version |
| ----------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------- |
| [create](https://github.com/marko-js/cli/blob/master/packages/create/README.md) | โœจ Create a Marko application from an [example](https://github.com/marko-js/examples/tree/master/examples/) project | NPM Version |
| [serve](https://github.com/marko-js/cli/blob/master/packages/serve/README.md) | ๐Ÿš€ Serve a Marko application or individual component for local development | NPM Version |
| [build](https://github.com/marko-js/cli/blob/master/packages/build/README.md) | ๐Ÿ“ฆ Build an optimized Marko application (the production-ready counterpart to `serve`) | NPM Version |
| [migrate](https://github.com/marko-js/cli/blob/master/packages/migrate/README.md) | ๐Ÿงน Update Marko components to remove usage of deprecated apis | NPM Version |
| [prettyprint](https://github.com/marko-js/cli/blob/master/packages/prettyprint/README.md) | ๐Ÿ’… Reformat Marko source files for consistency and beauty | NPM Version |
| [test](https://github.com/marko-js/cli/blob/master/packages/test/README.md) | โœ… Test marko components in both node and browsers | NPM Version |

Each command is distrubuted as a separate npm package (`@marko/`). You can execute individual commands using `npx @marko/` (e.g. `npx @marko/create`). We recommend installing most commands locally and using `marko-` in your `package.json` `scripts`.

## Contributing

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

### [npm](https://twitter.com/chriscoyier/status/896051713378992130) 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](./.github/CODE_OF_CONDUCT.md). By participating in this project you agree to abide by its terms.