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.",
|
||||
"scripts": {
|
||||
"precommit": "npm run lint-staged",
|
||||
"dev": "hugo mod get -u && hugo server",
|
||||
"build": "hugo mod get -u && rm -rf ./public/ && hugo --environment production",
|
||||
"build:dev": "hugo mod get -u && rm -rf ./public_dev/ && hugo --environment staging",
|
||||
"update:theme": "hugo mod get -u code.bengoldsworthy.net/Rumperuu/Cataloguer@main",
|
||||
"dev": "npm run update:theme && hugo server",
|
||||
"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\"",
|
||||
"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",
|
||||
|
|
Loading…
Add table
Reference in a new issue