feat: Hugo engine for iGaming affiliate template (layouts, assets, i18n, verified data, CI build script)
This commit is contained in:
@@ -0,0 +1,32 @@
|
||||
{
|
||||
"name": "hugo-igaming-affiliate-template",
|
||||
"version": "1.0.0",
|
||||
"description": "Reusable Hugo Extended static-site template for single-brand iGaming (online casino) affiliate websites. One deployment = one brand, driven entirely by config + data + content.",
|
||||
"private": true,
|
||||
"license": "MIT",
|
||||
"scripts": {
|
||||
"gen:images": "node scripts/gen-images.js",
|
||||
"build:css": "tailwindcss -i ./assets/css/tailwind.src.css -o ./dist/tailwind.standalone.css --minify",
|
||||
"build:js": "node -e \"const fs=require('fs'),s='node_modules/alpinejs/dist/cdn.min.js',d='assets/js/vendor/alpine.js';if(fs.existsSync(s)){fs.mkdirSync('assets/js/vendor',{recursive:true});fs.copyFileSync(s,d);console.log('vendor: copied Alpine from node_modules')}else if(fs.existsSync(d)){console.log('vendor: node_modules/alpinejs absent; using committed '+d)}else{console.error('vendor: Alpine missing - run npm install');process.exit(1)}\"",
|
||||
"build": "npm run gen:images && npm run build:css && npm run build:js",
|
||||
"dev": "hugo server -D",
|
||||
"hugo": "hugo",
|
||||
"build:site": "hugo --minify",
|
||||
"clean": "node -e \"const fs=require('fs');['public','resources','dist'].forEach(d=>fs.rmSync(d,{recursive:true,force:true}))\""
|
||||
},
|
||||
"keywords": [
|
||||
"hugo",
|
||||
"igaming",
|
||||
"casino",
|
||||
"affiliate",
|
||||
"tailwindcss",
|
||||
"static-site"
|
||||
],
|
||||
"devDependencies": {
|
||||
"autoprefixer": "^10.4.20",
|
||||
"hugo-extended": "^0.140.0",
|
||||
"postcss": "^8.4.49",
|
||||
"postcss-cli": "^11.0.0",
|
||||
"tailwindcss": "^3.4.17"
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user