mirror of
https://github.com/gohugoio/hugo.git
synced 2024-12-24 17:21:07 +00: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"
|
||
|
}
|
||
|
}
|