front-end-styleguide-cli

1.8.1 • Public • Published

Front End Styleguide CLI

NPM version Dependencies JavaScript Standard Style

This package provides a global CLI interface for the Front End Styleguide. It uses the Init package to create new projects.

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

# Create static styleguide
yarn build:dev
# or
npm run build:dev

# Run linting
yarn lint
# or
npm run lint

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

For more information take a look at the templates of the init package.

Test the CLI package

# Yarn
yarn test

# npm
npm test

The test needs manual input during the styleguide init phase.

Readme

Keywords

none

Package Sidebar

Install

npm i front-end-styleguide-cli

Weekly Downloads

0

Version

1.8.1

License

GPL-3.0

Unpacked Size

111 kB

Total Files

17

Last publish

Collaborators

  • mvsde