toastnz/mercury

There is no license information available for the latest version (1.0.0) of this package.

Toast NZ SilverStripe Installer

Installs: 4

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 3

Forks: 0

Open Issues: 0

Language:Scheme

Type:silverstripe-vendormodule


README

Frontend Development

Node Version

Make sure you are on the correct node version

sudo n 12

Installation

You will need to run yarn in your site directory before the build tasks can run.

cd your/site/dir;
yarn;

Tasks

watch task

This task will watch for changes of scss or javascript files and compile them as you work.

yarn run watch;

build task

Once you have finished development and you are happy with your changes, compile the scss and javascript

yarn run build;

Before go live

Update the package.json, removing ^ from the dependency version numbers to lock them in the state they are in. This will avoid unwanted and breaking package updates in the future.