@@ -19,8 +19,6 @@ toc: true
19
19
20
20
Create new content for your site:
21
21
22
- {{< btn-copy text="npm run create" >}}
23
-
24
22
``` bash
25
23
npm run create [path] [flags]
26
24
```
@@ -31,8 +29,6 @@ See also the Hugo docs: [hugo new](https://gohugo.io/commands/hugo_new/).
31
29
32
30
Check scripts, styles, and markdown for errors:
33
31
34
- {{< btn-copy text="npm run lint" >}}
35
-
36
32
``` bash
37
33
npm run lint
38
34
```
@@ -41,8 +37,6 @@ npm run lint
41
37
42
38
Check scripts for errors:
43
39
44
- {{< btn-copy text="npm run lint: scripts " >}}
45
-
46
40
``` bash
47
41
npm run lint:scripts [-- --fix]
48
42
```
@@ -51,8 +45,6 @@ npm run lint:scripts [-- --fix]
51
45
52
46
Check styles for errors:
53
47
54
- {{< btn-copy text="npm run lint: styles " >}}
55
-
56
48
``` bash
57
49
npm run lint:styles [-- --fix]
58
50
```
@@ -61,8 +53,6 @@ npm run lint:styles [-- --fix]
61
53
62
54
Check markdown for errors:
63
55
64
- {{< btn-copy text="npm run lint: markdown " >}}
65
-
66
56
``` bash
67
57
npm run lint:markdown [-- --fix]
68
58
```
@@ -71,8 +61,6 @@ npm run lint:markdown [-- --fix]
71
61
72
62
Delete temporary directories:
73
63
74
- {{< btn-copy text="npm run clean" >}}
75
-
76
64
``` bash
77
65
npm run clean
78
66
```
@@ -81,8 +69,6 @@ npm run clean
81
69
82
70
Start local development server:
83
71
84
- {{< btn-copy text="npm run start" >}}
85
-
86
72
``` bash
87
73
npm run start
88
74
```
@@ -91,8 +77,6 @@ npm run start
91
77
92
78
Build production website:
93
79
94
- {{< btn-copy text="npm run build" >}}
95
-
96
80
``` bash
97
81
npm run build
98
82
```
@@ -101,8 +85,6 @@ npm run build
101
85
102
86
Build Lambda functions:
103
87
104
- {{< btn-copy text="npm run build: functions " >}}
105
-
106
88
``` bash
107
89
npm run build:functions
108
90
```
@@ -111,8 +93,6 @@ npm run build:functions
111
93
112
94
Build production website including draft and future content:
113
95
114
- {{< btn-copy text="npm run build: preview " >}}
115
-
116
96
``` bash
117
97
npm run build:preview
118
98
```
0 commit comments