hugo_mod_npm.md (1435B)
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 [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 path/config.yaml|json|toml) 29 --configDir string config dir (default "config") 30 --debug debug output 31 -e, --environment string build environment 32 --ignoreVendorPaths string ignores any _vendor for module paths matching the given Glob pattern 33 --log enable Logging 34 --logFile string log File path (if set, logging enabled automatically) 35 --quiet build in quiet mode 36 -s, --source string filesystem path to read files relative from 37 --themesDir string filesystem path to themes directory 38 -v, --verbose verbose output 39 --verboseLog verbose logging 40 ``` 41 42 ### SEE ALSO 43 44 * [hugo mod](/commands/hugo_mod/) - Various Hugo Modules helpers. 45 * [hugo mod npm pack](/commands/hugo_mod_npm_pack/) - Experimental: Prepares and writes a composite package.json file for your project. 46