Skip to content

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

Notifications You must be signed in to change notification settings

the-couch/slater-themekit

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

39 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

@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

About

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

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published