1.4.1 • Published 5 years ago

@mhy/boot v1.4.1

Weekly downloads
-
License
MIT
Repository
github
Last release
5 years ago

Warning

Tool in BETA version. Use the tool at your own risk.

@mhy/boot

With @mhy/boot you'll be able to start codebases in the current src directory.

Templates

Currently @mhy/boot has a simple default template available, but we're looking forward on having more templates available in the long run.

React Default Template

The current default template is a React project and it contains the following structure:

  • components: components directory
  • config: app configuration directory
  • core: app mounting, routing and flux store directory
  • entities: HTTP code related directory
  • fields: app specific form fields directory
  • forms: app specific forms and business logic directory
  • layouts: is a container for a page to represent different states of an application
  • overlays: basically containers to construct a overlay's structure.
  • pages: basically containers to construct a page's structure.
  • services: a base service implementation which you build your APIs on.
  • validators: custom validator function usually for react-redux-form
  • index.js: files are being used to export sub-modules for easier/simplier/nicer imports.

How to use it

# mhy boot [technology:react|vue|...] [template:default|...] [-o,--output: output path]

mhy-boot Options

  • technology: what technology should boot @mhy/boot boot.
    • default: react
  • tempalte: what template should be loaded.
    • default: default
  • -o, --output: path where the template should be booted.
    • default: src
# Example:
mhy boot react default -o src
# or:
# mhy boot
# or:
# mhy boot react
# or:
# mhy boot -o xproject/path/src
1.4.1

5 years ago

1.4.0

6 years ago

1.3.0

6 years ago

1.2.0

6 years ago

1.1.0

6 years ago

1.0.2

6 years ago

1.0.1

6 years ago

1.0.0

6 years ago