Skip to content

Provides systems watcher to aggregate their initialization into one file

Notifications You must be signed in to change notification settings

Badrpas/eaciest-cli

Repository files navigation

eaciest-cli

Provides systems watcher to aggregate their initialization into one file

Install

yarn add -D eaciest-cli

or

npm install --save-dev eaciest-cli

Run

yarn eaciest

or

npm run eaciest

or

npx eaciest-cli

Config

Optionally create a eaciest.config.json file to override default config values:

{
  // Source root
  "src": "src",
  // glob to search the system files
  "glob": "**/systems/**/*.js", 
  // file which will contain all the systems
  "systemSetupFile": "system-setup.js",
  // function name which will initialize all the systems
  "systemsExportFunctionName": "setup_systems"
}

You can specify different config file name through --config

The config also can be an array of objects instead to run watchers on different directories, for example.

About

Provides systems watcher to aggregate their initialization into one file

Resources

Stars

Watchers

Forks

Packages

No packages published