You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 4-6.RSVP
Socket
Book a DemoInstallSign in
Socket

@midiu/cli

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@midiu/cli

midiu command line interface for Salesforce Commerce Cloud (Demandware) using Storefront Reference Architecture (SFRA) projects

1.0.1
latest
Source
npmnpm
Version published
Maintainers
1
Created
Source

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-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.

Installation

npm install --global @midiu/cli

Usage

midiu {command} [option] [option-n]
mi {command} [option] [option-n]

Example:

  • midiu compile scss js --source-map --watch
  • mi update-repositories --help

Available Commands

  • midiu - (alias mi) 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 use webpack as compiler.
    • Compile SCSS to CSS
    • Compile ES6 javascript to ES5
    • Copy static files such as fonts or images from source to public static directory
    • Generate sprite sheet using spritesmith library
  • deploy - used to deploy current project to remote server
  • extract-dependencies - used to extract dependencies registered from Midiu's dependencies which installed via git clone command and not managed by NPM
  • install - used to install repositories registered to Midiu's dependencies via git clone
  • pack - used to pack current project to a zip archive package which used to deploy to server. .npmignore will be affected to output result.
  • recipe - proceed the recipes from @midiu/recipe package
  • submodules - scan and register installed Midiu's dependencies as submodules of project repository
  • sync-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

Keywords

build

FAQs

Package last updated on 27 Jan 2019

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts