iseal-core/site/package.json
2022-02-06 22:51:47 +03:00

35 lines
1.6 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 node_modules/bootstrap-icons/icons/link-45deg.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.3",
"bootstrap-icons": "^1.8.0",
"clean-css-cli": "^5.4.2",
"hugo-installer": "^3.1.0",
"jquery": "^3.6.0",
"sass": "^1.44.0",
"uglify-js": "^3.14.4"
}
}