midiu command line interface for Salesforce Commerce Cloud (Demandware) using Storefront Reference Architecture (SFRA) projects
npm install @midiu/cli
#










#
> This repository provide almost tools and utilities for development and deployment SFRA projects.
> It does not depends on Salesforce's build-suite and sgmf-scripts repositories.
> It also not use gulp or grunt for compiling tasks.
>
> For deployment, this tools use dwdav repository which provide almost commands that can communicate with Demandware server.
>
> This package usually install globally to make the midiu command lcan be used anywhere without a long path call.
`` sh`
npm install --global @midiu/cli
` sh`
midiu {command} [option] [option-n]
mi {command} [option] [option-n]
Example:
- midiu compile scss js --source-map --watchmi update-repositories --help
-
1. midiu - (alias mi) a wrapper command used for quickly call other commands. It also the only one command can be called globally.compile
2. - command used to compile client side static assets. All compile tasks use webpack as compiler.SCSS
- Compile to CSSES6
- Compile javascript to ES5fonts
- Copy static files such as or images from source to public static directoryspritesmith
- Generate sprite sheet using librarydeploy
3. - used to deploy current project to remote serverextract-dependencies
4. - used to extract dependencies registered from Midiu's dependencies which installed via git clone command and not managed by NPMinstall
5. - used to install repositories registered to Midiu's dependencies via git clonepack
6. - used to pack current project to a zip archive package which used to deploy to server. .npmignore will be affected to output result.recipe
7. - proceed the recipes from @midiu/recipe packagesubmodules
8. - scan and register installed Midiu's dependencies as submodules of project repositorysync-repo
9. - used to sync contents from repository A to repository B. It usually used for sync Salesforce's repository from github to Midiu's repositories