1.0.1 • Published 7 years ago
@midiu/cli v1.0.1
Build Tools for Midiu's SFRA Projects
This repository provide almost tools and utilities for development and deployment SFRA projects. It does not depends on Salesforce's
build-suiteandsgmf-scriptsrepositories. It also not usegulporgruntfor compiling tasks.For deployment, this tools use
dwdavrepository which provide almost commands that can communicate with Demandware server.This package usually install globally to make the
midiucommand lcan be used anywhere without a long path call.
Installation
npm install --global @midiu/cliUsage
midiu {command} [option] [option-n]
mi {command} [option] [option-n]Example:
midiu compile scss js --source-map --watchmi update-repositories --help
Available Commands
midiu- (aliasmi) a wrapper command used for quickly call other commands. It also the only one command can be called globally.compile- command used to compile client side static assets. All compile tasks usewebpackas compiler.- Compile
SCSStoCSS - Compile
ES6javascript toES5 - Copy static files such as
fontsorimagesfrom source to public static directory - Generate sprite sheet using
spritesmithlibrary
- Compile
deploy- used to deploy current project to remote serverextract-dependencies- used to extract dependencies registered from Midiu's dependencies which installed viagit clonecommand and not managed byNPMinstall- used to install repositories registered to Midiu's dependencies viagit clonepack- used to pack current project to a zip archive package which used to deploy to server..npmignorewill be affected to output result.recipe- proceed the recipes from@midiu/recipepackagesubmodules- scan and register installed Midiu's dependencies as submodules of project repositorysync-repo- used to sync contents from repository A to repository B. It usually used for sync Salesforce's repository from github to Midiu's repositories
Planned Commands
lint