front-end-styleguide-cli
v1.8.1
Published
Provides access to the global CLI interface for the Front End Styleguide
Downloads
43
Readme
Front End Styleguide CLI
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.