93 lines
921 B
Markdown
93 lines
921 B
Markdown
---
|
|
title: "Commands"
|
|
description: "Repository commands."
|
|
lead: "Repository commands."
|
|
date: 2020-10-13T15:21:01+02:00
|
|
lastmod: 2020-10-13T15:21:01+02:00
|
|
draft: false
|
|
images: []
|
|
menu:
|
|
docs:
|
|
parent: "prologue"
|
|
weight: 030
|
|
toc: true
|
|
---
|
|
|
|
## start
|
|
|
|
Start local development server:
|
|
|
|
```bash
|
|
yarn start
|
|
```
|
|
|
|
## build
|
|
|
|
Build production website:
|
|
|
|
```bash
|
|
yarn build
|
|
```
|
|
|
|
### :functions
|
|
|
|
```bash
|
|
yarn build:functions
|
|
```
|
|
|
|
### :preview
|
|
|
|
```bash
|
|
yarn build:preview
|
|
```
|
|
|
|
## server
|
|
|
|
Start local development server:
|
|
|
|
```bash
|
|
yarn server
|
|
```
|
|
|
|
## clean
|
|
|
|
Delete temporary directories:
|
|
|
|
```bash
|
|
yarn clean
|
|
```
|
|
|
|
## lint
|
|
|
|
Check scripts, styles, and markdown for errors:
|
|
|
|
```bash
|
|
yarn lint
|
|
```
|
|
|
|
### :scripts
|
|
|
|
```bash
|
|
yarn lint:scripts [--fix]
|
|
```
|
|
|
|
### :styles
|
|
|
|
```bash
|
|
yarn lint:styles [--fix]
|
|
```
|
|
|
|
### :markdown
|
|
|
|
```bash
|
|
yarn lint:markdown [--fix]
|
|
```
|
|
|
|
## test
|
|
|
|
Check scripts, styles, and markdown for errors:
|
|
|
|
```bash
|
|
yarn test
|
|
```
|