0.0.1 • Published 4 years ago

@k2omni/shopify-component-installer v0.0.1

Weekly downloads
1
License
ISC
Repository
-
Last release
4 years ago

shopify-component-installer

K2O Theme Component Installer

Getting Started

  1. Add private registry to .npmrc
@k2o:registry=http://159.65.102.149:8081/repository/npm-private
  1. Install dependency:
$ npm install --save-dev @k2o/shopify-component-installer
  1. In your gulpfile.js:
const runComponentInstaller = require('@k2o/shopify-component-installer')

function installComponents (cb) {
    runComponentInstaller({
        baseDir: 'node_modules/@k2o',
        stylesBaseDir: 'assets/styles',
        scriptsBaseDir: 'assets/scripts'
    })
    cb()
}
  1. Run it
$ gulp installComponents