shopify-themekit
v0.2.0
Published
node wrapper for Shopify ThemeKit
Downloads
1,046
Readme
shopify-themekit
node wrapper for Shopify ThemeKit
This is based on node-themekit. I didn't agree with a lot of the ways that package was handling it, so I made my own.
Install
yarn add shopify-themekit
# or npm
npm install --save shopify-themekit
Use
See ThemeKit Docs for full list of commands and options
API
const themekit = require('shopify-themekit')
const options = {
files: ['assets/file.js', 'assets/file.css'],
ignore: false,
store: '...'
}
// equivalent to:
// theme upload assets/file.js assets/file.css --no-ignore --store=...
themekit('upload', options)
.then(...)
.catch(...)
CLI
# arguments passed directly to themekit
theme upload --allenvs