mhy
  • Introduction
  • Basics
    • Installation
    • Usage
    • UI
    • Ecosystem
    • How does it work?
  • Tools
    • Built-ins
      • boot
      • config
      • dep
      • options
      • ui
    • Processes
      • eslint
      • jest
      • node
      • nodemon
      • prettier
      • standard-version
      • storybook-start
      • storybook-build
      • tsc
      • webpack
      • webpack-bundle-analyzer
      • webpack-dev-server
    • Configs
      • eslint
      • gitignore
      • jest
      • manifest
      • mhy
      • npmignore
      • prettier
      • storybook
      • typescript
      • webpack
  • IDE setup
    • WebStorm & PHPStorm
    • VSCode
  • Recipes and Examples
    • package.json overrides
    • Add your own
  • Others
    • FAQ
    • Help
    • Development of mhy
    • Suggest a library
Powered by GitBook
On this page
  • Setup environment (an environment to develop mhy itself!)
  • Creating processes/commands

Was this helpful?

  1. Others

Development of mhy

PreviousHelpNextSuggest a library

Last updated 6 years ago

Was this helpful?

Setup environment (an environment to develop mhy itself!)

  1. Fork repository

  2. Open mhy's package.json file.

  3. Rewrite the values for name and bin to something else (eg: mhyd).

  4. Run npm link ()

  5. The above command will make your local version of mhy available globally with the command (mhyd).

  6. Create PR when done (do not commit in the changes for the naming).

Use npm run build -- --watch to watch for file changes.

The name rewrite is needed because mhy itself is being built using mhy which is why you also need an untouched stable version of it.

The environment should work fine on Linux, Mac and Windows also.

Creating processes/commands

Coming soon...

See npmjs.org