Skip to content

pangolinjs/core

Repository files navigation

Pangolin

NPM version Dependencies JavaScript Standard Style

Framework for componentized front end development with Nunjucks, Sass, and JavaScript.

Installation

# Yarn
yarn global add @pangolin/cli

# npm
npm install -g @pangolin/cli

Project Creation

mkdir new-project
cd new-project
pangolin 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

For more information take a look at the docs.

Test the core package

# Linting
yarn lint
# or
npm run lint