shopify-themekit
Version:
node wrapper for Shopify ThemeKit
51 lines (35 loc) • 1.34 kB
Markdown
[](https://standardjs.com)
[](https://travis-ci.org/chrisdothtml/shopify-themekit/branches)
[](https://ci.appveyor.com/project/chrisdothtml/shopify-themekit)
> node wrapper for [Shopify ThemeKit](http://shopify.github.io/themekit)
This is based on [node-themekit](https://github.com/Shopify/node-themekit). I didn't agree with a lot of the ways that package was handling it, so I made my own.
```bash
yarn add shopify-themekit
npm install --save shopify-themekit
```
See [ThemeKit Docs](https://shopify.github.io/themekit/commands) for full list of commands and options
```javascript
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(...)
```
```bash
theme upload --allenvs
```
[](LICENSE)