@slater/themekit
A subset of @shopify/themekit API written in JavaScript.
Last updated 10 months ago by estrattonbailey .
MIT · Original npm · Tarball · package.json
$ cnpm install @slater/themekit 
SYNC missed versions from official npm registry.

@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

Current Tags

  • 1.0.2                                ...           latest (10 months ago)

16 Versions

  • 1.0.2                                ...           10 months ago
  • 1.0.1                                ...           10 months ago
  • 1.0.0                                ...           10 months ago
  • 0.3.0                                ...           a year ago
  • 0.2.5                                ...           a year ago
  • 0.2.4                                ...           a year ago
  • 0.2.3                                ...           a year ago
  • 0.2.2                                ...           a year ago
  • 0.2.1                                ...           a year ago
  • 0.1.1                                ...           a year ago
  • 0.1.0                                ...           a year ago
  • 0.0.5                                ...           a year ago
  • 0.0.4                                ...           a year ago
  • 0.0.3                                ...           a year ago
  • 0.0.2                                ...           a year ago
  • 0.0.1                                ...           a year ago
Downloads
Today 0
This Week 48
This Month 49
Last Day 0
Last Week 0
Last Month 5
Dependencies (9)
Dev Dependencies (0)
None
Dependents (1)

Copyright 2014 - 2016 © taobao.org |