build(npm): update theme on build
This commit is contained in:
parent
398bf1653b
commit
0d736d2869
1 changed files with 4 additions and 3 deletions
|
@ -4,9 +4,10 @@
|
||||||
"description": "A media cataloguing site, made with Hugo.",
|
"description": "A media cataloguing site, made with Hugo.",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"precommit": "npm run lint-staged",
|
"precommit": "npm run lint-staged",
|
||||||
"dev": "hugo mod get -u && hugo server",
|
"update:theme": "hugo mod get -u code.bengoldsworthy.net/Rumperuu/Cataloguer@main",
|
||||||
"build": "hugo mod get -u && rm -rf ./public/ && hugo --environment production",
|
"dev": "npm run update:theme && hugo server",
|
||||||
"build:dev": "hugo mod get -u && rm -rf ./public_dev/ && hugo --environment staging",
|
"build": "npm run update:theme && rm -rf ./public/ && hugo --environment production",
|
||||||
|
"build:dev": "npm run update:theme && rm -rf ./public_dev/ && hugo --environment staging",
|
||||||
"spellcheck": "cspell \"content/**/*.md\"",
|
"spellcheck": "cspell \"content/**/*.md\"",
|
||||||
"lint": "npm run lint:js; npm run lint:css; npm run lint:md; npm run lint:html; npm run lint:json",
|
"lint": "npm run lint:js; npm run lint:css; npm run lint:md; npm run lint:html; npm run lint:json",
|
||||||
"lint:fix": "npm run lint:js:fix; npm run lint:css:fix; npm run lint:md:fix; npm run lint:json:fix",
|
"lint:fix": "npm run lint:js:fix; npm run lint:css:fix; npm run lint:md:fix; npm run lint:json:fix",
|
||||||
|
|
Loading…
Add table
Reference in a new issue