0.0.1 • Published 5 years ago

brixtol-theme v0.0.1

Weekly downloads
-
License
-
Repository
-
Last release
5 years ago

BRIXTOL TEXTILES

Webshop design and development environment for Brixtol Textiles. This repository is read only unless you've been verified by us here at BRIXTOL TEXTILES or Söndag Den Sjunde AB. This design and development environment has been specifically engineered for Brixtol Textiles.

Build Environment

This directory contains files used in the build environment. Each directory contains relative files that assist in the bundling.

Gulp

The build evironment leverages Gulp 4 and all bundling is processed using Gulp tasks. Tasks are split accross multiple files and are located within the tasks directory.

Rollup

JavaScript bundling is handled with Rollup.js. The tasks/scripts.js file contains the bundle configuration and can be executed as a gulp task via gulp scripts or alternatively you can run yarn rollup which bundle using Rollup.

Browser Sync

The development server leverages Browser Sync and runs on localhost:3000 by default. The tasks/server.js contains the Browser Sync configuration settings.

Shopify Sync

Theme files are uploaded and/or downloaded using Shopify Sync. The .shopifysync file located in the root directory contains API information for connecting to Shopify and the tasks/shopify.js file contains the relative execution scripts.

Serveo

Serveo exposes a local server to the internet which receives webhooks when Shopify Schema data changes from within the Theme builder. This allows the themes settings_data.json file to remain in sync when developing and testing theme customizations. The tasks/schema.js contains all related configuration for this feature.