mirror of
https://github.com/jakejarvis/jarv.is.git
synced 2025-04-27 07:18:26 -04:00
![dependabot-preview[bot]](/assets/img/avatar_default.png)
Bumps [husky](https://github.com/typicode/husky) from 4.2.1 to 4.2.3. - [Release notes](https://github.com/typicode/husky/releases) - [Changelog](https://github.com/typicode/husky/blob/master/CHANGELOG.md) - [Commits](https://github.com/typicode/husky/compare/v4.2.1...v4.2.3) Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
84 lines
3.3 KiB
JSON
84 lines
3.3 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-s optimize:**",
|
|
"optimize:html": "html-minifier --html5 --collapse-whitespace --collapse-boolean-attributes --preserve-line-breaks --minify-css --file-ext html --input-dir public --output-dir public **/*.html",
|
|
"optimize:img": "find public/ -type d | xargs -n1 -P8 -I{} imagemin {}/* --plugin=jpegoptim --plugin.jpegoptim.progressive --plugin.jpegoptim.stripAll --plugin=pngquant --plugin.pngquant.speed=5 --plugin.pngquant.strip --plugin=optipng --plugin.optipng.optimizationLevel=2 --plugin=svgo --plugin=gifsicle --out-dir={}",
|
|
"lint": "run-s lint:**",
|
|
"lint:sass": "stylelint assets/sass/**/* --syntax scss",
|
|
"lint:links": "linkinator http://localhost:1313/ --recurse --silent --skip https://www.shodan.io/ --skip https://images.shodan.io/ --skip https://archive.today/ --skip https://archive.is/ --skip https://www.linkedin.com/ --skip http://localhost:1313/y2k/ --skip 'asdfasdf404/?$'",
|
|
"lint:markdown": "markdownlint --rules markdownlint-rule-emphasis-style content/**/*.md",
|
|
"lint:spellcheck": "mdspell --en-us --ignore-numbers --ignore-acronyms --report content/**/*.md content/notes/**/*.md content/_index.html",
|
|
"lint:alex": "alex content/ -q",
|
|
"debug:hugo": "hugo version && hugo env",
|
|
"debug:size": "get-folder-size --folder=public"
|
|
},
|
|
"dependencies": {},
|
|
"devDependencies": {
|
|
"alex": "^8.1.1",
|
|
"autoprefixer": "^9.7.4",
|
|
"cross-env": "^7.0.0",
|
|
"get-folder-size": "^2.0.1",
|
|
"html-minifier": "^4.0.0",
|
|
"hugo-extended": "git+https://github.com/jakejarvis/hugo-extended.git#f6b20c2deeabdc9d45f49ee9cfa3f8d7c704737a",
|
|
"husky": "^4.2.3",
|
|
"imagemin-cli": "^5.1.0",
|
|
"imagemin-gifsicle": "^7.0.0",
|
|
"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",
|
|
"linkinator": "^1.8.2",
|
|
"lint-staged": "^10.0.7",
|
|
"markdown-spellcheck": "^1.3.1",
|
|
"markdownlint-cli": "~0.22.0",
|
|
"markdownlint-rule-emphasis-style": "^1.0.1",
|
|
"npm-run-all": "^4.1.5",
|
|
"postcss-clean": "^1.1.0",
|
|
"postcss-cli": "^7.1.0",
|
|
"postcss-reporter": "^6.0.1",
|
|
"rimraf": "^3.0.2",
|
|
"stylelint": "~13.0.0",
|
|
"stylelint-config-sass-guidelines": "~7.0.0",
|
|
"stylelint-scss": "~3.14.2"
|
|
},
|
|
"husky": {
|
|
"hooks": {
|
|
"pre-commit": "lint-staged"
|
|
}
|
|
},
|
|
"lint-staged": {
|
|
"*.scss": [
|
|
"yarn lint:sass"
|
|
],
|
|
"*.md": [
|
|
"yarn lint:markdown"
|
|
]
|
|
},
|
|
"engines": {
|
|
"node": ">=12.13.0",
|
|
"npm": "^6.13.0",
|
|
"yarn": "^1.19.2"
|
|
}
|
|
}
|