hugo_mod_npm.md - hugo - [fork] hugo port for 9front
(HTM) git clone https://git.drkhsh.at/hugo.git
(DIR) Log
(DIR) Files
(DIR) Refs
(DIR) Submodules
(DIR) README
(DIR) LICENSE
---
hugo_mod_npm.md (1433B)
---
1 ---
2 title: "hugo mod npm"
3 slug: hugo_mod_npm
4 url: /commands/hugo_mod_npm/
5 ---
6 ## hugo mod npm
7
8 Various npm helpers
9
10 ### Synopsis
11
12 Various npm (Node package manager) helpers.
13
14 ```
15 hugo mod npm [command] [flags]
16 ```
17
18 ### Options
19
20 ```
21 -h, --help help for npm
22 ```
23
24 ### Options inherited from parent commands
25
26 ```
27 --clock string set the clock used by Hugo, e.g. --clock 2021-11-06T22:30:00.00+09:00
28 --config string config file (default is hugo.yaml|json|toml)
29 --configDir string config dir (default "config")
30 -d, --destination string filesystem path to write files to
31 -e, --environment string build environment
32 --ignoreVendorPaths string ignores any _vendor for module paths matching the given Glob pattern
33 --logLevel string log level (debug|info|warn|error)
34 --noBuildLock don't create .hugo_build.lock file
35 --quiet build in quiet mode
36 -M, --renderToMemory render to memory (mostly useful when running the server)
37 -s, --source string filesystem path to read files relative from
38 --themesDir string filesystem path to themes directory
39 ```
40
41 ### SEE ALSO
42
43 * [hugo mod](/commands/hugo_mod/) - Manage modules
44 * [hugo mod npm pack](/commands/hugo_mod_npm_pack/) - Experimental: Prepares and writes a composite package.json file for your project
45