Skip to content

TotalOnion/onion-library

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

cbl-component-library

Front end components for gcms sites

Installation

Install with npm or yarn..

npm install --save-dev @pernod-ricard-global-cms/cbl-component-library

yarn add -D @pernod-ricard-global-cms/cbl-component-library

If you don't have the scripts already in your package.json you can add these and use them to install and update components.

"install-component": "node ./node_modules/@pernod-ricard-global-cms/cbl-component-library/install-component.js", "upgrade-component": "node ./node_modules/@pernod-ricard-global-cms/cbl-component-library/upgrade-component.js", "list-components": "node ./node_modules/@pernod-ricard-global-cms/cbl-component-library/list-components.js",

eg you can list the available components with

yarn list-components

and then you can install and component with

yarn install-component <name-of-component>

Run unit tests

Go to the folder

yarn install

then, to run unit tests,

yarn test

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •