1HUGO-MOD-NPM-PACK(1)              Hugo Manual             HUGO-MOD-NPM-PACK(1)
2
3
4

NAME

6       hugo-mod-npm-pack - Experimental: Prepares and writes a composite pack‐
7       age.json file for your project.
8
9
10

SYNOPSIS

12       hugo mod npm pack [flags]
13
14
15

DESCRIPTION

17       Prepares and writes a composite package.json file for your project.
18
19
20       On first run it creates a "package.hugo.json" in the  project  root  if
21       not  already  there. This file will be used as a template file with the
22       base dependency set.
23
24
25       This set will be merged with all "package.hugo.json" files found in the
26       dependency tree, picking the version closest to the project.
27
28
29       This  command  is marked as 'Experimental'. We think it's a great idea,
30       so it's not likely to be removed from Hugo, but we need  to  test  this
31       out  in "real life" to get a feel of it, so this may/will change in fu‐
32       ture versions of Hugo.
33
34
35

OPTIONS

37       -h, --help[=false]      help for pack
38
39
40

OPTIONS INHERITED FROM PARENT COMMANDS

42       --clock=""       set   the   clock   used   by   Hugo,   e.g.   --clock
43       2021-11-06T22:30:00.00+09:00
44
45
46       --config=""      config file (default is hugo.yaml|json|toml)
47
48
49       --configDir="config"      config dir
50
51
52       --debug[=false]      debug output
53
54
55       -e, --environment=""      build environment
56
57
58       --ignoreVendorPaths=""      ignores any _vendor for module paths match‐
59       ing the given Glob pattern
60
61
62       --log[=false]      enable Logging
63
64
65       --logFile=""      log File path (if set, logging enabled automatically)
66
67
68       --quiet[=false]      build in quiet mode
69
70
71       -s, --source=""      filesystem path to read files relative from
72
73
74       --themesDir=""      filesystem path to themes directory
75
76
77       -v, --verbose[=false]      verbose output
78
79
80       --verboseLog[=false]      verbose logging
81
82
83

SEE ALSO

85       hugo-mod-npm(1)
86
87
88
89Hugo 0.111.3                       Jul 2023               HUGO-MOD-NPM-PACK(1)
Impressum