0.0.2 • Published 6 years ago

@zippie/theme-scripts v0.0.2

Weekly downloads
1
License
ISC
Repository
-
Last release
6 years ago

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