mirror of
https://github.com/gohugoio/hugo.git
synced 2024-11-29 05:32:14 -05:00
24 lines
360 B
Text
24 lines
360 B
Text
|
# Test mod npm.
|
||
|
|
||
|
hugo mod npm pack
|
||
|
cmp package.hugo.json golden/package.hugo.json
|
||
|
|
||
|
-- hugo.toml --
|
||
|
baseURL = "https://example.org/"
|
||
|
-- package.json --
|
||
|
{
|
||
|
"name": "test",
|
||
|
"version": "1.0.0",
|
||
|
"dependencies": {
|
||
|
"mod": "foo-bar"
|
||
|
}
|
||
|
}
|
||
|
-- golden/package.hugo.json --
|
||
|
{
|
||
|
"name": "test",
|
||
|
"version": "1.0.0",
|
||
|
"dependencies": {
|
||
|
"mod": "foo-bar"
|
||
|
}
|
||
|
}
|