Options
All
  • Public
  • Public/Protected
  • All
Menu

Mosia (מוֹשִׁיעַ)

Travis Coveralls Dev Dependencies Greenkeeper badge styled with prettier

Write For Christ All Contributors

Mosia is a one-in-all solution for developer to build, test, and deploy JavaScript application.

Usage

Local machine:

npm install --global mosia

Server machine:

docker run -d -v /your/mosia/data:/data -p 7777:7777 writeforchrist/mosia

Features

  • Build for monorepo, but single repo supported.
  • Easy containerizing your app with Docker.
  • Deploy your code using Docker image.
  • Ship your code to docker registry (public or private).
  • Auto config Eslint based on differents selected standards (standard, xo, airbnb, or custom).
  • Auto config test framework for your project.
  • Simple configuration file.

NPM scripts

Global command

  • mosia init: init mosia config file for the current project.
  • mosia registry add [registry]: add a private docker registry.
  • mosia npm add [npm]: add a private npm registry.

Local command

  • mosia add [package-name]: add new package to the current project.
  • mosia [package-name]:add: install one or more dependencies for the provided package.
  • mosia [package-name]:remove: remove one or more dependencies for the provided package.
  • mosia cmd [package-name]:[command]: execute custom command for the provided package, it can be run inside the container when Dockerfile is available.
  • mosia docker add [package-name]: setup Dockerfile for the package name.
  • mosia docker release [package-name]:[tag]: build the package and push it to the registry.

Server command

  • mosia server add [mosia-url]: add remote Mosia url exposed by your server.
  • mosia server ls: list all the applications deployed on the server.
  • mosia server run [app]: run/restart application.
  • mosia server create [app]:[tag]: create application on running server.
  • mosia server recreate [app]:[tag]: recreate running/stopped app from server with new image tag.

    Contributors

Thanks goes to these wonderful people (emoji key):


Phạm Dương Nhật Nam

💻 📖

This project follows the all-contributors specification. Contributions of any kind welcome!

Index

Classes

Legend

  • Module
  • Object literal
  • Variable
  • Function
  • Function with type parameter
  • Index signature
  • Type alias
  • Enumeration
  • Enumeration member
  • Property
  • Method
  • Interface
  • Interface with type parameter
  • Constructor
  • Property
  • Method
  • Index signature
  • Class
  • Class with type parameter
  • Constructor
  • Property
  • Method
  • Accessor
  • Index signature
  • Inherited constructor
  • Inherited property
  • Inherited method
  • Inherited accessor
  • Protected property
  • Protected method
  • Protected accessor
  • Private property
  • Private method
  • Private accessor
  • Static property
  • Static method

Generated using TypeDoc