@slater/themekit

1.0.2 • Public • Published

@slater/themekit

A subset of @Shopify/themekit API written in JavaScript.

Usage

All methods return Promises.

First, create an instance:

const themekit = require('@slater/themekit')

const theme = themekit({
  password: 'abcde12345',
  store: 'slater-demo.myshopify.com',
  theme_id: 123456789,
  cwd: process.cwd(),
  ignore_files: [
    'settings_data.json'
  ]
})

upload

theme.upload('templates/index.liquid', './path/to/file.liquid')

remove

theme.remove('templates/index.liquid')

deploy

Replace all remote theme files with local versions.

theme.deploy()

License

MIT License (c) 2018 Friends of Friends

Readme

Keywords

Package Sidebar

Install

npm i @slater/themekit

Weekly Downloads

0

Version

1.0.2

License

MIT

Unpacked Size

5.03 kB

Total Files

3

Last publish

Collaborators

  • estrattonbailey
  • iamkevingreen