@zippie/theme-scripts

0.0.2 • Public • Published

Zippie theme scripts

Exposes theme-build as a command inside your package.json when included

Setup

Add it to your theme package

npm i -D @zippie/theme-scripts
# or this github repository directly

Add the following fields to your package.json

"build:server": "theme-build --server <theme_variables_file_path>.js",
"build:client": "theme-build --client <theme_entry_file_path>.js",
"build": "npm run build:server && npm run build:client",

Now simply do the following inside your theme dir

npm run build

Readme

Keywords

none

Package Sidebar

Install

npm i @zippie/theme-scripts

Weekly Downloads

6

Version

0.0.2

License

ISC

Unpacked Size

8.57 kB

Total Files

13

Last publish

Collaborators

  • cosmin.ionascu
  • p4ker
  • tswindell
  • stskeeps-zippie