website/package.json
Sebastian Kippe 5a9ffaab62
Add asset fingerprinting, build/dev scripts
Add fingerprinting for the CSS file, as well as npm scripts for all
common build and dev tasks.
2022-06-04 11:09:00 +02:00

27 lines
796 B
JSON

{
"name": "website",
"version": "1.0.0",
"private": true,
"description": "The website on kosmos.org",
"scripts": {
"clean": "rm -rf public/*",
"build:css": "tailwindcss -i ./themes/kosmos-22/source/main.css -o ./themes/kosmos-22/assets/css/main.css",
"build:site": "hugo",
"build:release": "npm-run-all clean prod:css prod:site",
"prod:css": "npm run build:css -- --minify",
"prod:site": "hugo --gc --minify",
"dev": "npm-run-all --parallel dev:*",
"dev:css": "npm run build:css -- --watch",
"dev:site": "hugo server --disableFastRender"
},
"repository": {
"type": "git",
"url": "git@gitea.kosmos.org:kosmos/website.git"
},
"author": "Kosmos Contributors",
"license": "MIT",
"devDependencies": {
"tailwindcss": "3.0.24"
}
}