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       --config=""      config file (default is path/config.yaml|json|toml)
43
44
45       --configDir="config"      config dir
46
47
48       --debug[=false]      debug output
49
50
51       -e, --environment=""      build environment
52
53
54       --ignoreVendorPaths=""      ignores any _vendor for module paths match‐
55       ing the given Glob pattern
56
57
58       --log[=false]      enable Logging
59
60
61       --logFile=""      log File path (if set, logging enabled automatically)
62
63
64       --quiet[=false]      build in quiet mode
65
66
67       -s, --source=""      filesystem path to read files relative from
68
69
70       --themesDir=""      filesystem path to themes directory
71
72
73       -v, --verbose[=false]      verbose output
74
75
76       --verboseLog[=false]      verbose logging
77
78
79

SEE ALSO

81       hugo-mod-npm(1)
82
83
84
85Hugo 0.93.3                        May 2022               HUGO-MOD-NPM-PACK(1)
Impressum