Getting Started

Overview

FrontEnd Starter is a boilerplate kit for easy building modern static web-sites using Gulp.

This starter is delivering with ready-to-use utils, styled components, helpers and much more. Its overview is available in components section.

How to use

Instalation

# Clone the repository
git clone https://github.com/zakandaiev/frontend-starter.git

# Go to the folder
cd frontend-starter

# Install packages
npm i
# or
npm install

# Remove link to the original repository
# - if you use Windows system
Remove-Item .git -Recurse -Force
# - or if you use Unix system
rm -rf .git

Develop

# Start development mode with live-server
npm run dev
# or with options
npm run dev --port=3000

Build

# Build static files for production
npm run build
# or
npm run prod
# or with options
npm run build --base=/subdomain --dist=/dest

# Start server for build preview
npm run preview
# or with options
npm run preview --port=3001

Lint

# ESLint
npm run lint:js
# or
npm run lint:js:fix

# StyleLint
npm run lint:css
# or
npm run lint:css:fix

Backend emulation

# Fastify listen backend.js
npm run backend