1
0
mirror of https://github.com/alanorth/hugo-theme-bootstrap4-blog.git synced 2024-06-26 16:13:45 +02:00

package.json: Add run script for cookieconsent

This commit is contained in:
Alan Orth 2016-11-13 13:42:22 +02:00
parent 3c900b036b
commit a546fc731e
Signed by: alanorth
GPG Key ID: 0FB860CC9C45B1B9

View File

@ -9,7 +9,8 @@
"scripts": {
"build:css": "node-sass --output-style compressed source/scss/style.scss static/css/style.css.tmp && cssnano static/css/style.css.tmp static/css/style.css",
"build:fonts": "cp node_modules/font-awesome/fonts/* static/fonts",
"build": "npm run build:css && npm run build:fonts && npm run clean",
"build:cookieconsent": "cp node_modules/cookieconsent/build/cookieconsent.min.css static/css && cp node_modules/cookieconsent/build/cookieconsent.min.js static/js",
"build": "npm run build:css && npm run build:fonts && npm run build:cookieconsent && npm run clean",
"clean": "rm static/css/style.css.tmp"
},
"keywords": "hugo",