Skip to content
This repository was archived by the owner on Jun 19, 2019. It is now read-only.

Latest commit

 

History

History
58 lines (42 loc) · 946 Bytes

README.md

File metadata and controls

58 lines (42 loc) · 946 Bytes

Front End Styleguide Templates

Templates for the different Front End Styleguide versions. These are used by the CLI package to quickly setup a working styleguide.

Installation

# Yarn
yarn global add front-end-styleguide-cli

# npm
npm install -g front-end-styleguide-cli

Project Creation

mkdir new-project
cd new-project
front-end-styleguide init

Usage

# Start dev server
yarn dev
# or
npm run dev

# Build files for production
yarn build
# or
npm run build

# Build static styleguide with prototypes and components
yarn build:dev
# or
npm run build:dev

# Build static styleguide with prototypes only
yarn build:proto
# or
npm run build:proto

# Run linting
yarn lint
# or
npm run lint

# Run unit and e2e tests
yarn test
# or
npm run test