mirror of
https://github.com/ISEAL-Community/iseal-core.git
synced 2024-09-30 06:04:18 +02:00
Alan Orth
86ae899f3e
Only used on local development workflows (GitHub Actions uses its own Hugo task that always has the latest version).
35 lines
1.5 KiB
JSON
35 lines
1.5 KiB
JSON
{
|
|
"name": "iseal-core",
|
|
"version": "0.0.1",
|
|
"description": "Generate ISEAL Core Metadata Set documentation website.",
|
|
"scripts": {
|
|
"build:css": "npm run build:css:iseal && npm run build:css:fsc",
|
|
"build:css:fsc": "sass --style expanded source/scss/fsc.scss assets/css/fsc.css.tmp && cleancss -O1 --format breakWith=lf --with-rebase assets/css/fsc.css.tmp -o assets/css/fsc.min.css",
|
|
"build:css:iseal": "sass --style expanded source/scss/iseal.scss assets/css/iseal.css.tmp && cleancss -O1 --format breakWith=lf --with-rebase assets/css/iseal.css.tmp -o assets/css/iseal.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/*.css.tmp assets/css/*.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.92.1",
|
|
"server": "./bin/hugo/hugo serve"
|
|
},
|
|
"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"
|
|
}
|
|
}
|