mirror of
https://github.com/jakejarvis/jarv.is.git
synced 2025-04-26 22:08:27 -04:00
68 lines
2.5 KiB
JSON
68 lines
2.5 KiB
JSON
{
|
|
"name": "jarv.is",
|
|
"version": "1.3.37",
|
|
"homepage": "https://jarv.is/",
|
|
"license": "MIT",
|
|
"private": true,
|
|
"author": {
|
|
"name": "Jake Jarvis",
|
|
"email": "jake@jarv.is",
|
|
"url": "https://github.com/jakejarvis"
|
|
},
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git+https://github.com/jakejarvis/jarv.is.git"
|
|
},
|
|
"scripts": {
|
|
"clean": "rimraf public/ resources/",
|
|
"build": "run-s clean hugo optimize",
|
|
"build:preview": "run-s clean hugo:dev",
|
|
"hugo": "hugo --gc --cleanDestinationDir --verbose",
|
|
"hugo:dev": "hugo --environment development --baseURL \"${DEPLOY_PRIME_URL:-/}\" --buildDrafts --buildFuture --gc --cleanDestinationDir --verbose",
|
|
"start": "hugo server --buildDrafts --buildFuture --port 1313 --bind 0.0.0.0 --verbose",
|
|
"optimize": "run-p optimize:**",
|
|
"optimize:html": "html-minifier --html5 --collapse-whitespace --preserve-line-breaks --minify-css --file-ext html --input-dir public --output-dir public **/*.html",
|
|
"optimize:css": "cleancss -O0 --format 'keep-breaks' -o public/style.css public/style.css",
|
|
"optimize:img": "find public/ -type d | xargs -n1 -P8 -I{} imagemin {}/* --plugin=jpegoptim --plugin.jpegoptim.progressive --plugin=pngquant --plugin.pngquant.speed=3 --plugin.pngquant.strip --plugin=optipng --plugin.optipng.optimizationLevel=3 --plugin=svgo --plugin=gifsicle --out-dir={}",
|
|
"lint": "run-p lint:**",
|
|
"lint:markdown": "markdownlint content/notes/**/*.md",
|
|
"lint:sass": "stylelint assets/sass/**/* --syntax scss",
|
|
"debug:hugo": "hugo version; hugo env",
|
|
"debug:size": "get-folder-size --folder=public"
|
|
},
|
|
"dependencies": {},
|
|
"devDependencies": {
|
|
"clean-css-cli": "~4.3.0",
|
|
"get-folder-size": "^2.0.1",
|
|
"html-minifier": "~4.0.0",
|
|
"hugo-bin": "0.48.1",
|
|
"imagemin-cli": "^5.1.0",
|
|
"imagemin-gifsicle": "^6.0.1",
|
|
"imagemin-jpegoptim": "^6.0.0",
|
|
"imagemin-mozjpeg": "^8.0.0",
|
|
"imagemin-optipng": "^7.1.0",
|
|
"imagemin-pngquant": "^8.0.0",
|
|
"imagemin-svgo": "^7.0.0",
|
|
"markdownlint-cli": "~0.20.0",
|
|
"npm-run-all": "^4.1.5",
|
|
"rimraf": "^3.0.0",
|
|
"stylelint": "~12.0.0",
|
|
"stylelint-config-recommended-scss": "~4.1.0",
|
|
"stylelint-scss": "~3.13.0"
|
|
},
|
|
"engines": {
|
|
"node": ">=12.13.0",
|
|
"npm": "*** Use Yarn instead, please! https://yarnpkg.com/en/docs/cli/install ***",
|
|
"yarn": "^1.19.2"
|
|
},
|
|
"hugo-bin": {
|
|
"buildTags": "extended"
|
|
},
|
|
"stylelint": {
|
|
"extends": "stylelint-config-recommended-scss",
|
|
"rules": {
|
|
"selector-type-no-unknown": null
|
|
}
|
|
}
|
|
}
|