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
32       future 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       --ignoreVendor[=false]      ignores any _vendor directory
55
56
57       --ignoreVendorPaths=""      ignores any _vendor for module paths match‐
58       ing the given Glob pattern
59
60
61       --log[=false]      enable Logging
62
63
64       --logFile=""      log File path (if set, logging enabled automatically)
65
66
67       --quiet[=false]      build in quiet mode
68
69
70       -s, --source=""      filesystem path to read files relative from
71
72
73       --themesDir=""      filesystem path to themes directory
74
75
76       -v, --verbose[=false]      verbose output
77
78
79       --verboseLog[=false]      verbose logging
80
81
82

SEE ALSO

84       hugo-mod-npm(1)
85
86
87
88Hugo 0.80.0                        Jan 2021               HUGO-MOD-NPM-PACK(1)
Impressum