iseal-core/site/package.json
Alan Orth 060ce5e556
site: add download section
Use something similar to Bootstrap's "Hanging icons" example from
the Bootstrap 5.1 docs.

See: https://getbootstrap.com/docs/5.1/examples/features/
2021-12-12 21:13:46 +02:00

32 lines
1.3 KiB
JSON

{
"name": "iseal-schema",
"version": "0.0.1",
"description": "Generate ISEAL Core Metadata Set documentation website.",
"scripts": {
"build:css": "sass --style expanded source/scss/style.scss assets/css/style.css.tmp && cleancss -O1 --format breakWith=lf --with-rebase assets/css/style.css.tmp -o assets/css/style.min.css",
"build:js": "uglifyjs node_modules/jquery/dist/jquery.slim.min.js node_modules/bootstrap/dist/js/bootstrap.min.js -o assets/js/bundle.min.js",
"build:site": "./bin/hugo/hugo",
"build": "npm run build:css && npm run build:js && npm run clean && npm run copy:icons && npm run build:site",
"clean": "rm assets/css/style.css.tmp assets/css/style.css.tmp.map",
"copy:icons": "cp node_modules/bootstrap-icons/icons/file-earmark-code.svg node_modules/bootstrap-icons/icons/file-earmark-spreadsheet.svg assets/icons",
"postinstall": "hugo-installer --version 0.89.4"
},
"keywords": [
"ISEAL",
"dublin-core",
"dcterms",
"metadata"
],
"author": "Alan Orth",
"license": "GPL-3.0-only",
"devDependencies": {
"bootstrap": "^5.1.1",
"bootstrap-icons": "^1.7.2",
"clean-css-cli": "^5.4.2",
"hugo-installer": "^3.1.0",
"jquery": "^3.6.0",
"sass": "^1.44.0",
"uglify-js": "^3.14.4"
}
}